Skip to main content

MCP server for the Agimus data platform — connects AI coding tools to your ontology

Project description

Agimus MCP Server

Connects AI coding tools — Claude Desktop, Claude Code, Cursor, OpenAI Codex, and other Model Context Protocol clients — to the Agimus data platform. The server gives the AI live awareness of your ontology (entities, properties, links, types) and bundled reference docs for the Agimus Python SDK, so it writes correct code instead of guessing field names.

What the AI gets

Tools (14)

Discovery:

Tool What it does
agimus_semantic_schema_search Natural-language search over entity/property/link descriptions
agimus_list_entities Every entity, with PK, property/link counts
agimus_get_entity_schema Full schema for one entity (properties + rich link details)
agimus_list_links Every link in the ontology (both directions per link)
agimus_get_link Full details for a link by api_name
agimus_list_datasets All datasets, optionally filtered by source/name
agimus_get_dataset_schema Columns, types, row count + SDK usage snippet
agimus_whoami Tenant name, scope, rate limit for the current API key

Read (read-only — writes happen via the SDK in user code):

Tool What it does
agimus_query_objects Filter / sort / project / expand / paginate
agimus_get_object Single object by primary key
agimus_get_related_objects Traverse a link from one object (cursor-paginated)
agimus_count_objects Cheap COUNT(*) with optional filter
agimus_distinct_values Distinct values, optionally with frequency counts
agimus_aggregate group_by + metrics (count/sum/avg/min/max/...)

Resources

  • agimus://schema/entities/{entity} — live, full schema for one entity
  • agimus://docs/sdk-reference — the full Agimus Python SDK reference (sourced directly from the SDK's README so it never drifts)

Install & configure

The recommended path is uvx — it auto-installs the latest version on first run and keeps it isolated. No prior pip install is required.

Claude Code

Add to ~/.claude/claude_code_config.json:

{
  "mcpServers": {
    "agimus": {
      "command": "uvx",
      "args": ["agimus-mcp"],
      "env": { "AGIMUS_API_KEY": "agm_your_api_key_here" }
    }
  }
}

Cursor

Create .cursor/mcp.json in your project root:

{
  "mcpServers": {
    "agimus": {
      "command": "uvx",
      "args": ["agimus-mcp"],
      "env": { "AGIMUS_API_KEY": "agm_your_api_key_here" }
    }
  }
}

OpenAI Codex

Add to ~/.codex/config.toml:

[mcp_servers.agimus]
command = "uvx"
args = ["agimus-mcp"]
env = { AGIMUS_API_KEY = "agm_your_api_key_here" }

Claude Desktop

Add to claude_desktop_config.json (Claude → Settings → Developer → Edit Config):

{
  "mcpServers": {
    "agimus": {
      "command": "uvx",
      "args": ["agimus-mcp"],
      "env": { "AGIMUS_API_KEY": "agm_your_api_key_here" }
    }
  }
}

Alternative install: pip

If you prefer a pinned global install:

pip install agimus-mcp

Then replace "command": "uvx", "args": ["agimus-mcp"] with "command": "agimus-mcp" in any config above.

CLI options

agimus-mcp [--api-key agm_xxx] [--base-url URL] [--timeout SECONDS] [--log-level LEVEL]

Every flag has an environment-variable equivalent:

Flag Env var Default
--api-key AGIMUS_API_KEY (required)
--base-url AGIMUS_BASE_URL https://api.agimus.ai
--timeout AGIMUS_TIMEOUT 30
--log-level AGIMUS_LOG_LEVEL WARNING

Logs are written to stderr — stdout is reserved for the MCP stdio protocol.

License

MIT

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

agimus_mcp-0.5.0.tar.gz (21.3 kB view details)

Uploaded Source

Built Distribution

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

agimus_mcp-0.5.0-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

Details for the file agimus_mcp-0.5.0.tar.gz.

File metadata

  • Download URL: agimus_mcp-0.5.0.tar.gz
  • Upload date:
  • Size: 21.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for agimus_mcp-0.5.0.tar.gz
Algorithm Hash digest
SHA256 15a7910b971f2c0f6a4cd7d7eecdf5435a9fd0b761f1667f6d3768ace60ef68a
MD5 ab98dd6605ca89cd41027a1820e94574
BLAKE2b-256 295b2af3730b59eeb3b2eeacde79993175d1050f0aac99426c82a4d320c1adfd

See more details on using hashes here.

File details

Details for the file agimus_mcp-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: agimus_mcp-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 25.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for agimus_mcp-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 310e3cb16744308d5fecf036575e89510ad875ba3f9fb74ac0bd662f5bef4e2e
MD5 81594ed8692e288dcb50938757387bd2
BLAKE2b-256 eccf17a5a76f627e2d557f010a01cf073994c726681569bda0210ede1b365044

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