Skip to main content

MCP server for querying Odoo ERP with smart aggregation for AI assistants

Project description

mcp-netnam-odoo

MCP server for querying Odoo ERP with smart aggregation — designed for AI assistants to generate charts and reports.

Features

  • query_data — Aggregate data with domain filters, groupby, and sorting (uses read_group)
  • search_records — Search individual records with filters
  • list_models — List available models
  • get_model_fields — Inspect model field definitions

Requirements

  • Odoo 16+ with the mcp_server module installed
  • API key generated in Odoo (Settings > Users > API Keys)

Installation

pip install mcp-netnam-odoo

Configuration

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "netnam": {
      "command": "mcp-netnam-odoo",
      "env": {
        "ODOO_URL": "http://your-odoo-server:8069",
        "ODOO_DB": "your_database",
        "ODOO_API_KEY": "your_api_key",
        "ODOO_USER": "your_login"
      }
    }
  }
}

Claude Code

Add to .mcp.json in your project:

{
  "mcpServers": {
    "netnam": {
      "command": "mcp-netnam-odoo",
      "env": {
        "ODOO_URL": "http://your-odoo-server:8069",
        "ODOO_DB": "your_database",
        "ODOO_API_KEY": "your_api_key",
        "ODOO_USER": "your_login"
      }
    }
  }
}

Example queries

  • "Top 5 salespeople by revenue this fiscal year"
  • "Monthly ticket count as a bar chart"
  • "Revenue breakdown by department and quarter"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_netnam_odoo-0.2.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_netnam_odoo-0.2.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file mcp_netnam_odoo-0.2.0.tar.gz.

File metadata

  • Download URL: mcp_netnam_odoo-0.2.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.5

File hashes

Hashes for mcp_netnam_odoo-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e192716d337a82b65bc0a78ad53d84e60df50b5fcefbfe32b5ffe2f0b59e6bf7
MD5 03167f98aba0f7cffdf3fd30f5c8921e
BLAKE2b-256 51da0503ca7d2bf4a61d52bb873f711198e4d77b86a62a33bd8e51224d2adca1

See more details on using hashes here.

File details

Details for the file mcp_netnam_odoo-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_netnam_odoo-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b9e929e1503b6945a6ff17b49648b93c47df544c0ecbddfe7f0b7d5f3d689dc
MD5 f50a88fd6fd7c5cd2ed7ee5b7eacccc5
BLAKE2b-256 44312594f3b744a9a42ae8f0abfc7ded36373b51fe252dce2b8e80b397cbae48

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page