SourceMed speaks the Model Context Protocol (MCP), the shared standard the major assistants use to call outside tools. One address connects it to all of them — no account, no sign-in, no key. The connection is read-only: your assistant can ask questions, browse, search, and read shelves, and every answer carries its shelf citation.
The address to paste, wherever a platform asks for an MCP server URL:
https://sourcemed.io/mcp
Add it yourself: Settings → Connectors → Add custom connector, name it SourceMed, and paste the address above. (A Claude connector-directory listing is in review; until it is approved, adding it manually is the way in.)
In Claude Code, one command does the same thing:
claude mcp add --transport http sourcemed https://sourcemed.io/mcp
In a desktop app that only accepts local (stdio) servers, bridge to the
same address with mcp-remote:
{
"mcpServers": {
"sourcemed": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://sourcemed.io/mcp"]
}
}
}
On ChatGPT on the web: Plugins → + → Add custom MCP server, and paste the address above. (A ChatGPT app-directory listing is in review; until it is approved, adding it manually is the way in.)
Go to grok.com/connectors → New Connector → Custom → paste the address above. Grok discovers SourceMed's five tools automatically.
In the Gemini web app (personal Google account): Settings → Connected Apps → Custom apps → Add a custom app → paste the address above → Next. Then mention @SourceMed in a chat so Gemini uses it.
On a Pro or Max plan: Plugins in the sidebar → Add custom → Add MCP connector → Remote. Name it SourceMed, paste the address above, set Authentication to None and Transport to Streamable HTTP, then Add.
Intelligence → Connectors → + Add Connector →
Custom MCP Connector. Name it sourcemed, paste
the address above as the Server URL, and click Connect.
Any client that accepts a remote MCP server takes the same address, over streamable HTTP, with no authentication:
{
"mcpServers": {
"sourcemed": {
"url": "https://sourcemed.io/mcp"
}
}
}
Connecting exposes five read-only tools:
ask_sourcemed — ask a clinical question; the answer is
written only from the shelves below it, with citations.search_shelves — search the library by term.get_shelf — read one shelf in full, by number.list_shelves — list the shelves in the library.get_recent_updates — see what has changed in the library
recently: shelves added, corrections applied, and verdict stamps changed,
newest first, with dates and shelf numbers.Three independent client paths were tested end-to-end against
https://sourcemed.io/mcp on 28 November 2026, with no account
and no key. Each was asked to connect, list the tools, search for the
aspirin primary-prevention shelf, read that shelf in full with its sources,
ask the aspirin question, and read the updates feed.
| Client path | Connect | Tools found | Search | Read shelf (with sources) | Ask | Updates | Notes |
|---|---|---|---|---|---|---|---|
| Raw JSON-RPC over HTTP (curl) | Pass | 5 | Pass — Shelf #106 first | Pass — Shelf #106, PMIDs shown | Pass — covered, Shelf #106 first | Pass — 261 events | Full sequence passed. Heavy calls occasionally return HTTP 503 (“error code: 1102”); retrying succeeded. |
Official MCP Python SDK (mcp 2.3, streamable HTTP) |
Pass | 5 | Pass — Shelf #106 first | Pass — Shelf #106, PMIDs shown | Pass — covered, Shelf #106 first | Pass — 261 events | Every step demonstrated. Search, shelf and ask calls needed retries during test windows; the SDK surfaces the 1102 limit as a JSON-RPC −32603 error. |
Plain HTTP API (POST /api/search, POST /api/ask) |
Pass | — (not MCP) | Pass — covered, Shelf #106 first | — (use get_shelf over MCP) |
Pass — covered, Shelf #106 first | — (use get_recent_updates over MCP) |
Works with a browser or httpx user-agent. The default Python-urllib user-agent is blocked — see the note below. |
Retries: light calls (initialize, tools/list,
get_recent_updates) succeeded on essentially every attempt. Heavy calls —
search_shelves, get_shelf, ask_sourcemed
and the two HTTP API calls — intermittently fail with HTTP 503
“error code: 1102” (a worker resource limit); in the worst windows of the
28 November test session, roughly half of heavy-call attempts failed, in
clusters, and every step passed with retries. Clients should retry heavy
calls with backoff rather than treating a 503 as “not covered”. Some
HTTP/1.1 clients also saw truncated responses on the largest payloads;
retrying succeeded.
User-agent: requests sent with the default
Python-urllib user-agent (Python-urllib/3.x) are blocked by
the CDN with HTTP 403 (error 1010) on every path, including
/mcp and /api/ask. Set any explicit user-agent —
the curl, httpx and MCP SDK defaults all pass.
Raw JSON-RPC with curl:
curl -s https://sourcemed.io/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'
Official MCP Python SDK:
pip install mcp
import asyncio
from mcp.client.session import ClientSession
from mcp.client.streamable_http import streamable_http_client
async def main():
async with streamable_http_client("https://sourcemed.io/mcp") as (read, write):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
print([t.name for t in tools.tools]) # five tools
shelf = await session.call_tool("get_shelf", {"n": 106})
print(shelf)
asyncio.run(main())
Plain HTTP API:
curl -s https://sourcemed.io/api/ask \
-H "Content-Type: application/json" \
-d '{"q":"Should a healthy adult take aspirin to prevent a first heart attack?"}'
pip install sourcemed-mcp · dataset on Hugging Face: Tayeks/sourcemed