home / mcp / odoo mcp improved
Odoo MCP Server with advanced tools for sales, stock, and more.
Configuration
View docs{
"mcpServers": {
"hachecito-odoo-mcp-improved": {
"command": "python",
"args": [
"-m",
"odoo_mcp"
],
"env": {
"ODOO_DB": "your_database",
"ODOO_URL": "https://your-odoo-instance.com",
"ODOO_PASSWORD": "your_password",
"ODOO_USERNAME": "your_username"
}
}
}
}Odoo MCP Improved is a dedicated MCP server that bridges Claude and your Odoo ERP instance, enabling AI-powered assistants to query and operate data across sales, purchases, inventory, and accounting. It provides structured tool access, standardized data URIs, and robust execution around Odoo modules, helping you automate and analyze business processes with confidence.
To use this MCP server, run the local MCP process and connect your AI assistant client to the MCP endpoint described in your configuration. The server exposes a set of tools that enable sales, purchasing, inventory, and accounting operations against your Odoo data. Your client can issue natural language queries or prompts that map to the available tools, and the MCP server will execute the corresponding actions against Odoo via XML-RPC and return structured results.
Prerequisites: you need Python installed on your system. You also need network access to your Odoo instance if you plan to run the MCP server against a remote Odoo deployment.
Step 1: Install the MCP package from Python's package index.
pip install odoo-mcp-improvedStart the MCP server using the module invocation shown in the configuration snippet.
python -m odoo_mcpSearch sales orders with advanced filtering to locate orders by status, date, customer, or total value.
Create a new sales order in Odoo with specified customer, products, quantities, and dates.
Analyze sales performance across periods, products, or customers to identify trends.
Retrieve detailed insights about a specific customer, including purchase history and payment patterns.
Search purchase orders with advanced filtering to locate orders by supplier, date, or amount.
Create a new purchase order against a supplier with line items and delivery details.
Evaluate supplier performance using metrics such as delivery times and order accuracy.
Check stock availability for given products across warehouses.
Record inventory adjustments to correct stock levels.
Compute and analyze inventory turnover metrics to assess efficiency.
Query accounting journal entries by date, account, or amount.
Create a new journal entry with the appropriate debits and credits.
Calculate key financial ratios from the latest period's data.