Skip to main content

MCP connector for The Source. Self-contained REST client for api.thesrc.ai.

Project description

thesrc-mcp (source-mcp)

MCP connector for The Source. Thin wrapper over source-sdk.

Install

pip install thesrc-mcp        # PyPI distribution name
# or: uvx thesrc-mcp          # run without installing

Console scripts source-mcp and thesrc-mcp are equivalent (same entrypoint).

Two tools:

  • source_search — find an entity (Drug or Gene) by partial name
  • source_ask — ask a structured question, get a full answer with authority chain

Configuration

Reads from environment:

Var Default Notes
SOURCE_API_URL https://api.thesrc.ai Override to http://localhost:8000 for local dev
SOURCE_API_TOKEN API key (src_live_...) sent as X-API-Key, or JWT sent as Bearer
SOURCE_TIMEOUT 30 Per-request timeout, seconds

Run

source-mcp

The Claude Code / Claude Desktop config block:

{
  "source-mcp": {
    "command": "source-mcp",
    "env": {
      "SOURCE_API_URL": "https://api.thesrc.ai",
      "SOURCE_API_TOKEN": "src_live_..."
    }
  }
}

Claude Code install

See INSTALL_CLAUDE_CODE.md and the source plugin under plugins/source/.

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

thesrc_mcp-0.5.0.tar.gz (27.0 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for thesrc_mcp-0.5.0.tar.gz
Algorithm Hash digest
SHA256 beb07de2fa63946f05a395586666c5e26f5ba5647cc017b23050209c8cad97b3
MD5 3c9ab2444bd745ded000675b7ea52d26
BLAKE2b-256 6fa4452bc740963f51c2e8045fdef0338616663df052d853427b966ddcf8d4ac

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