Skip to main content

MCP server exposing TopoLift's atom-grounded negotiation reasoning to any MCP-compatible agent (Claude Code, Cursor, OpenAI Agents SDK, etc).

Project description

topolift-mcp

MCP server exposing TopoLift's atom-grounded negotiation reasoning to any MCP-capable agent — Claude Code, Cursor, OpenAI Agents SDK, etc.

What you get

Two tools:

  • topolift_dialect — fetches TopoLift's published vocabulary (regimes, canonical strategies, signal keys, citation grammar). Call this once at session start; no auth required.
  • topolift_negotiate — sends a negotiation context to TopoLift's reasoning engine and returns a bilingual response:
    • A typed topology slot (regime, load_bearing_strategies[], bridge_pivots[], topology_signals{}) drawn from a closed vocabulary
    • Prose fields with inline [Cluster_X#strategy1,strategy2] citation tokens anchoring every claim to the cluster + load-bearing atoms that drove it

Atoms stay on the TopoLift server. What travels is the grammar of the dialect — the vocabulary your agent uses to read structural reasoning.

Install

pip install topolift-mcp

Set your API key (get one at https://topolift.ai):

export TOPOLIFT_API_KEY=tl-...

Claude Code

claude mcp add topolift-negotiation -- topolift-mcp

…or, with the API key inline:

claude mcp add topolift-negotiation -e TOPOLIFT_API_KEY=tl-... -- topolift-mcp

Cursor / Continue / other MCP clients

Add to your MCP config (~/.cursor/mcp.json or equivalent):

{
  "mcpServers": {
    "topolift-negotiation": {
      "command": "topolift-mcp",
      "env": {
        "TOPOLIFT_API_KEY": "tl-..."
      }
    }
  }
}

Running directly (no install)

TOPOLIFT_API_KEY=tl-... python -m topolift_mcp.server

Configuration

Environment variables:

Var Default Purpose
TOPOLIFT_API_KEY (required for negotiate) Bearer key; get one at https://topolift.ai
TOPOLIFT_API_URL https://api.topolift.ai API base URL
TOPOLIFT_TIMEOUT 600 Negotiate-call timeout in seconds
TOPOLIFT_LOG_LEVEL INFO Python logging level

The dialect tool works without TOPOLIFT_API_KEY — only topolift_negotiate requires it.

Pricing

  • Bearer key (this MCP server's path): one-time / monthly plans starting at $50. See https://topolift.ai.
  • x402 micropayment: agents can pay $0.10 USDC per call directly against https://api.topolift.ai/v1/negotiate with no API key — see the API's 402 challenge for details.

How it works

  1. Your agent calls topolift_dialect once and learns the vocabulary.
  2. Your agent calls topolift_negotiate with a scenario.
  3. TopoLift retrieves the most relevant atom clusters from its server-side topology, runs a Mistral-Small-4-119B reasoning pass with a closed-vocabulary prompt, and returns the bilingual response.
  4. Your agent parses topology for machine-readable structure and reads the prose fields with citation-traceable evidence.

The atoms — the structural primitives — never leave TopoLift's servers. The dialect — the names and the grammar — is published openly so any agent can read structural reasoning fluently.

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

topolift_mcp-0.1.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

topolift_mcp-0.1.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file topolift_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: topolift_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for topolift_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c217b8867a262eec548fd96b80fffb21279635d2d97a05ef4342a89fa97e198c
MD5 68d7bf4f10eae242cbcff9002e17faa1
BLAKE2b-256 3f3c00e2afbd0175146fce305767784508b3aab855af15084427ac508b7364ff

See more details on using hashes here.

File details

Details for the file topolift_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: topolift_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for topolift_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 06f4d0e561e924f6e2fc431d953e737230cfc94ea0b6575b8a2f454d2bc6e3e1
MD5 8a81dcfcce7f79e1433a17ff14c4185d
BLAKE2b-256 f36456a3195e45fc25351a4d541907559d4169290adde38c86c365a95c70d128

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