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.6.0.tar.gz (43.6 kB view details)

Uploaded Source

Built Distribution

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

thesrc_mcp-0.6.0-py3-none-any.whl (52.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: thesrc_mcp-0.6.0.tar.gz
  • Upload date:
  • Size: 43.6 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.6.0.tar.gz
Algorithm Hash digest
SHA256 bcb9307409bec6e1d1d28cb47890d967875d23a5e029a05313019c9fe8782ede
MD5 65b21e86c1df6781f3a97f46e612a04a
BLAKE2b-256 f10261d7e512f862b52767dd92540c002fa3eca12c452633d2c732d7be3177f0

See more details on using hashes here.

File details

Details for the file thesrc_mcp-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: thesrc_mcp-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 52.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for thesrc_mcp-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e69d942ed56a9063ca3209e75e5792d8c32de83ccc043c7a6a73a43ca50a34c7
MD5 821a6ad0e1e52d5f68507fdc025320c1
BLAKE2b-256 75826eea7dfbb5c41ad997381b9c0664b5ce3fef8534488ee8f8cbc79f7adcdc

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