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 (13)

Discovery:

Tool What it does
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.4.1.tar.gz (20.2 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.4.1-py3-none-any.whl (24.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agimus_mcp-0.4.1.tar.gz
  • Upload date:
  • Size: 20.2 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.4.1.tar.gz
Algorithm Hash digest
SHA256 a634f6000348ac7dfe095da27c352b12c6e3211175ef9174ed2cd2f0d882e986
MD5 f149328ed5cf9ac20fb0667690b39b38
BLAKE2b-256 5d2b183a1475f7d0b85781b88308c8117b8c54c4518261d4eb4792f223edc3ad

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agimus_mcp-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 24.0 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.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5056f0c007e8897a54bfec1c3ec090219b164317e757641f7152804728f01100
MD5 c0dc5900f4f32f86f760d22a15319f84
BLAKE2b-256 250fffbb8433669fc1a641112f86cdccabb1beb1a606179b1a38dbdd8d50da78

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