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, categories, 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 (16)

Discovery:

Tool What it does
agimus_semantic_schema_search Natural-language search over entity/property/link descriptions; optional categories=[...] to scope by domain
agimus_list_entities Every entity, with PK, property/link counts, and category memberships; optional categories=[...] to filter
agimus_get_entity_schema Full schema for one entity (properties, rich link details, category memberships)
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_categories Every category in the tenant with access-filtered entity counts
agimus_get_category Drill into one category — its entities (access-filtered)
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.1.tar.gz (23.9 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.1-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agimus_mcp-0.5.1.tar.gz
  • Upload date:
  • Size: 23.9 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.1.tar.gz
Algorithm Hash digest
SHA256 65d106dfd796a745861a5de16809c379635c88b54590e12e935f6a06198c5a51
MD5 5128a1008033e9b9b59e3ea0649a3771
BLAKE2b-256 54365a7b50ffaa749cb1105fd7030844c97b1ce6320a5abef037b5b7a07d2c09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agimus_mcp-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 28.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4bf3aa48737be28588113e6caa3a9eedd21b6d5fdaee4847b1e5862c76b686d2
MD5 26172525ac32377f99553dc878e298ad
BLAKE2b-256 8a390dadb0def7cdca88a49544cced9f0e9747f1ffcdf08312add22b99154ebf

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