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.0.tar.gz (15.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.4.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: thesrc_mcp-0.4.0.tar.gz
  • Upload date:
  • Size: 15.6 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.0.tar.gz
Algorithm Hash digest
SHA256 9a0561a564f7ca34b641cd2ddba7195c25145d23012dfc1046b84f6d4fe9940f
MD5 8ffa2fdbceb17e4c6b1873b6cc2980b8
BLAKE2b-256 138a30d083f158a3c27e2aa6496dbb00a5555604129659ab755a941aa1694e97

See more details on using hashes here.

File details

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

File metadata

  • Download URL: thesrc_mcp-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 260cc115e187c53adad1d33de1aa7b5b24cc184b793b24467d4703cfa36d8488
MD5 6178a4045a90508c888b468e2254da67
BLAKE2b-256 adda26a0bd81cdb5748ba3a585185457e8cc92d5bb3bba153db865657d9c8a04

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