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.4.1.tar.gz (17.1 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.4.1-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for thesrc_mcp-0.4.1.tar.gz
Algorithm Hash digest
SHA256 5cbf06160b17ec22fdb639a54ad415a393986b87a65ff8ec1e773921c5c3f505
MD5 c9be3579a138ab6e596278791a977ca9
BLAKE2b-256 2ba301e342597e2ecb0dff564f635ed983509acac2ff2dd7128b484699aa398c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for thesrc_mcp-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e5a1dd6157040bbbb2865a74479ea1eb1caa900cd9dc7cc0850d9c4843830f5
MD5 f04e62274843a32398a87d35ae0baf78
BLAKE2b-256 923760af06836815434da07b9fce5bc3f71064393dd32c1a53a0391aad679374

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