Skip to main content

Odoo MCP Improved

demo.gif

Odoo MCP Improved Logo

PyPI version Python Versions License

Enhanced Model Context Protocol (MCP) server for Odoo ERP with advanced tools for sales, purchases, inventory and accounting


📋 Table of Contents


🔍 Overview

Odoo MCP Improved is a comprehensive implementation of the Model Context Protocol (MCP) for Odoo ERP systems. It provides a bridge between large language models like Claude and your Odoo instance, enabling AI assistants to interact directly with your business data and processes.

This extended version enhances the original MCP-Odoo implementation with advanced tools and resources for sales, purchases, inventory management, and accounting, making it a powerful solution for AI-assisted business operations.


✨ Features

Core Capabilities

  • Seamless Odoo Integration: Connect directly to your Odoo instance via XML-RPC
  • Comprehensive Data Access: Query and manipulate data across all Odoo modules
  • Modular Architecture: Easily extensible with new tools and resources
  • Robust Error Handling: Clear error messages and validation for reliable operation

Business Domain Support

  • Sales Management: Order tracking, customer insights, and performance analysis
  • Purchase Management: Supplier management, order processing, and performance metrics
  • Inventory Management: Stock monitoring, inventory adjustments, and turnover analysis
  • Accounting: Financial reporting, journal entries, and ratio analysis

Advanced Functionality

  • Analytical Tools: Business intelligence capabilities across all domains
  • Specialized Prompts: Pre-configured prompts for common business scenarios
  • Resource URIs: Standardized access to Odoo data through URI patterns
  • Performance Optimization: Caching and efficient data retrieval

📦 Installation

No installation step needed — uv downloads and runs the package on demand:

uvx odoo-mcp-improved

Using pip

pip install odoo-mcp-improved

🚀 Usage

Running the Server

# With uvx
uvx odoo-mcp-improved

# Using the module (after pip install)
python -m odoo_mcp

Example Interactions

# Sales Analysis
Using the Odoo MCP, analyze our sales performance for the last quarter and identify our top-selling products.

# Inventory Check
Check the current stock levels for product XYZ across all warehouses.

# Financial Analysis
Calculate our current liquidity and profitability ratios based on the latest financial data.

# Customer Insights
Provide insights on customer ABC's purchase history and payment patterns.

🤖 Claude Desktop Integration

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "odoo": {
      "command": "uvx",
      "args": ["odoo-mcp-improved"],
      "env": {
        "ODOO_URL": "https://your-odoo-instance.com",
        "ODOO_DB": "your_database",
        "ODOO_USERNAME": "your_username",
        "ODOO_PASSWORD": "your_password"
      }
    }
  }
}

Without uv, use pip install odoo-mcp-improved and run it with "command": "python", "args": ["-m", "odoo_mcp"] instead.


🛠️ Tools Reference

Sales Tools

Tool Description
search_sales_orders Search for sales orders with advanced filtering
create_sales_order Create a new sales order
analyze_sales_performance Analyze sales performance by period, product, or customer
get_customer_insights Get detailed insights about a specific customer

Purchase Tools

Tool Description
search_purchase_orders Search for purchase orders with advanced filtering
create_purchase_order Create a new purchase order
analyze_supplier_performance Analyze supplier performance metrics

Inventory Tools

Tool Description
check_product_availability Check stock availability for products
create_inventory_adjustment Create inventory adjustment entries
analyze_inventory_turnover Calculate and analyze inventory turnover metrics

Accounting Tools

Tool Description
search_journal_entries Search for accounting journal entries
create_journal_entry Create a new journal entry
analyze_financial_ratios Calculate key financial ratios

🔗 Resources Reference

Core Resources

URI Description
odoo://models List all available models in the Odoo system
odoo://model/{model_name} Get detailed information about a specific model, including its fields
odoo://record/{model_name}/{record_id} Get a specific record by ID
odoo://search/{model_name}/{domain} Search for records matching a JSON domain

Sales Resources

URI Description
odoo://sales/orders List sales orders
odoo://sales/order/{order_id} Get details of a specific sales order
odoo://sales/products List sellable products
odoo://sales/customers List customers

Purchase Resources

URI Description
odoo://purchase/orders List purchase orders
odoo://purchase/order/{order_id} Get details of a specific purchase order
odoo://purchase/suppliers List suppliers

Inventory Resources

URI Description
odoo://inventory/products List products in inventory
odoo://inventory/stock/{location_id} Get stock levels at a specific location
odoo://inventory/movements List inventory movements

Accounting Resources

URI Description
odoo://accounting/accounts List accounting accounts
odoo://accounting/journal_entries List journal entries
odoo://accounting/reports/{report_type} Get financial reports (currently supports trial_balance)

💬 Prompts

Odoo MCP Improved includes specialized prompts for different business scenarios:

Sales Analysis Prompts

  • Sales trend analysis
  • Customer segmentation
  • Product performance evaluation
  • Sales team performance

Inventory Management Prompts

  • Stock optimization
  • Reordering suggestions
  • Warehouse efficiency analysis
  • Product movement patterns

Human Resources Prompts

  • Staff planning
  • Scheduling optimization
  • Performance evaluation
  • Resource allocation

Financial Analysis Prompts

  • Ratio interpretation
  • Cash flow analysis
  • Budget variance analysis
  • Financial health assessment

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

This repo is extended from mcp-odoo - Lê Anh Tuấn


Odoo MCP Improved - Empowering AI assistants with comprehensive Odoo ERP capabilities

Metadata

Release files for odoo-mcp-improved 1.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for odoo-mcp-improved 1.0.7
File Size Uploaded Provenance Actions
odoo_mcp_improved-1.0.7.tar.gz 31.0 kB With provenance Details for odoo_mcp_improved-1.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for odoo-mcp-improved 1.0.7
File Interpreter ABI Platform Actions
odoo_mcp_improved-1.0.7-py3-none-any.whl Python 3 none any Details for odoo_mcp_improved-1.0.7-py3-none-any.whl

Total release size: 64.1 kB

Release files / odoo_mcp_improved-1.0.7.tar.gz

Download URL odoo_mcp_improved-1.0.7.tar.gz
Size 31.0 kB
Tags Source
SHA-256 checksum
How to use checksums
91edef7b5cd1ec26cf31c39bc6e82c648b801116e732ff3e797e457ca588ba9b
BLAKE2b-256 checksum
How to use checksums
ef12eb7e52f2d1d42df62cdf3be6ee5832e79e953d63b16824abc6a86fd2a155
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / odoo_mcp_improved-1.0.7-py3-none-any.whl

Download URL odoo_mcp_improved-1.0.7-py3-none-any.whl
Size 33.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ab7aa82553fd8109fad25d29372a66104f644b5431d3a6df3fde3330df7e472
BLAKE2b-256 checksum
How to use checksums
14532b0c799467e93d18df7c6a4e87be225d31e3a02b46049585757307862548
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for odoo-mcp-improved 1.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for odoo_mcp_improved-1.0.7.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page