MCP directory
CM

Chembl Mcp Server

by github.com/cyanheads · v0.6.0 · updated Nov 11, 2026

Link compounds to protein targets, rank bioactivity, and look up drug mechanisms and indications.

Remotenpm

Connect to the hosted server

Add this URL as a custom connector in your AI client.

Server URL

https://chembl.caseyjhand.com/mcp

Claude Code

claude mcp add --transport http chembl-mcp-server https://chembl.caseyjhand.com/mcp

Run it locally

Install the package and point your AI client at it.

npm

npx -y @cyanheads/[email protected]

Environment variables

  • CANVAS_PROVIDER_TYPE

    DataCanvas provider for the bioactivity spill and the chembl_dataframe_* SQL tools; DuckDB is the default. Set to 'none' to disable it: large bioactivity sets then inline a preview but never spill.

  • CHEMBL_API_BASE_URL

    Base URL for the ChEMBL REST data API. Override for a private mirror or pinned host.

  • CHEMBL_REQUEST_TIMEOUT_MS

    Per-attempt timeout in milliseconds for an upstream ChEMBL request, capped by what is left of the call's time budget (45 s for most calls, CHEMBL_SPILL_DEADLINE_MS for a bioactivity spill).

  • CHEMBL_MAX_PAGE_SIZE

    Rows per upstream ChEMBL page (max 1000). The bioactivity spill walks pages of this size; an inline bioactivity page requests its limit, capped at this size.

  • CHEMBL_DEFAULT_LIMIT

    Default result limit applied when callers omit it.

  • CHEMBL_MAX_SPILL_ROWS

    Ceiling on rows chembl_get_bioactivities stages to a DataCanvas table, and so on the upstream page walk behind it. Over the cap the response reports truncated: true and truncated_by: "row_cap".

  • CHEMBL_MAX_CONCURRENT_PAGES

    Most chembl_get_bioactivities spill-page requests in flight at once (1–6), shared by every call on the server.

  • CHEMBL_SPILL_DEADLINE_MS

    Time budget in milliseconds for one chembl_get_bioactivities spill, its count and page walk (10000–600000). At expiry the rows fetched so far stage with truncated: true and truncated_by: "time_budget".

  • CHEMBL_DATAFRAME_DROP_ENABLED

    Set to 'true' to register the opt-in chembl_dataframe_drop tool (absent from tools/list when off).

  • MCP_LOG_LEVEL

    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

npm

npx -y @cyanheads/[email protected]

Environment variables

  • MCP_TRANSPORT_TYPE

    Selects the HTTP transport.

  • MCP_HTTP_HOST

    The hostname for the HTTP server.

  • MCP_HTTP_PORT

    The port to run the HTTP server on.

  • MCP_HTTP_ENDPOINT_PATH

    The endpoint path for the MCP server.

  • MCP_AUTH_MODE

    Authentication mode to use: 'none', 'jwt', or 'oauth'.

  • MCP_LOG_LEVEL

    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

  • CANVAS_PROVIDER_TYPE

    DataCanvas provider for the bioactivity spill and the chembl_dataframe_* SQL tools; DuckDB is the default. Set to 'none' to disable it: large bioactivity sets then inline a preview but never spill.

  • CHEMBL_API_BASE_URL

    Base URL for the ChEMBL REST data API. Override for a private mirror or pinned host.

  • CHEMBL_REQUEST_TIMEOUT_MS

    Per-attempt timeout in milliseconds for an upstream ChEMBL request, capped by what is left of the call's time budget (45 s for most calls, CHEMBL_SPILL_DEADLINE_MS for a bioactivity spill).

  • CHEMBL_MAX_PAGE_SIZE

    Rows per upstream ChEMBL page (max 1000). The bioactivity spill walks pages of this size; an inline bioactivity page requests its limit, capped at this size.

  • CHEMBL_DEFAULT_LIMIT

    Default result limit applied when callers omit it.

  • CHEMBL_MAX_SPILL_ROWS

    Ceiling on rows chembl_get_bioactivities stages to a DataCanvas table, and so on the upstream page walk behind it. Over the cap the response reports truncated: true and truncated_by: "row_cap".

  • CHEMBL_MAX_CONCURRENT_PAGES

    Most chembl_get_bioactivities spill-page requests in flight at once (1–6), shared by every call on the server.

  • CHEMBL_SPILL_DEADLINE_MS

    Time budget in milliseconds for one chembl_get_bioactivities spill, its count and page walk (10000–600000). At expiry the rows fetched so far stage with truncated: true and truncated_by: "time_budget".

  • CHEMBL_DATAFRAME_DROP_ENABLED

    Set to 'true' to register the opt-in chembl_dataframe_drop tool (absent from tools/list when off).

More from github.com/cyanheads

More MCP servers