Potencia tu agente
La URL propia del publicador. No es un endpoint de PlugMCP.
Host a copy with our keys and logs.
https://pubmed.caseyjhand.com/mcpEl botón de Claude de arriba abre Claude con el nombre y la URL ya rellenados. Aún tienes que confirmarlo allí.
claude mcp add --transport http cyanheads-pubmed-mcp-server https://pubmed.caseyjhand.com/mcpRun in a terminal.
{ "mcpServers": { "cyanheads-pubmed-mcp-server": { "command": "npx", "args": [ "-y", "mcp-remote", "https://pubmed.caseyjhand.com/mcp" ] } }}claude_desktop_config.json
¿URL remota o un comando en tu máquina? En qué se diferencian las dos instalaciones
Ejecutar en PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
AbrirPublic Hosted Server: https://pubmed.caseyjhand.com/mcp
Biomedical literature from PubMed, PubMed Central, and Europe PMC. Search it, fetch metadata and full text, resolve identifiers and partial citations, format references, and ground queries in MeSH vocabulary. Runs as a stdio process, a local Streamable HTTP server, or the public hosted endpoint above.
pubmed_search_articles toolmaxResults: 0 for the match count alone; summaryCount adds briefs for up to 50 hitstotalCount, the effectiveQuery PubMed ran, and the appliedFilterspubmed_fetch_articles toolunavailablePmidsincludeGrants, and the members of a collective author (its InvestigatorList, thousands on some consortium trials) via includeInvestigatorspubmed_format_citations, directly under its titlerecordType separates journal articles from Bookshelf chapters and books; opt-in maxResponseCharacters defers overflow to deferred.idspubmed_fetch_fulltext toolpmcids, pmids, and dois in any mix, up to 50 distinct identifiers per call: the first 10 are fetched and the rest returned in overLimit for a follow-up call. Each is tried against PMC, then Europe PMC, then Unpaywall (needs UNPAYWALL_EMAIL); an article several of them name is fetched and returned once, and viaSource names the tier that answeredsource: "pmc" returns sections (the body, then back matter such as acknowledgments, declarations, and appendices), tables, and figures; source: "unpaywall" returns a best-effort HTML or PDF text bodyreason and triedTiers; sections, maxCharacters, overflowMode, and maxResponseCharacters bound the response, and truncation reports what was cutpubmed_europepmc_search toolPPR), patents (PAT), and Agricola (AGR) to MED and PMC; defaults to MED, PMC, PPRcursorMark / nextCursorMark, up to 100 per page; abstracts arrive as 400-character snippetssort of comma-separated <field> asc|desc keys; relevance is the default order, and a sort Europe PMC cannot use fails as europepmc_invalid_inputEUROPEPMC_ENABLED=falsepubmed_europepmc_fetch toolrecords: [{ source, epmcId }], each pair copied from a search hit, with the full abstract; unresolved ids land in notFound; opt-in maxResponseCharacters defers overflow to deferred.recordsEUROPEPMC_ENABLED=falsepubmed_format_citations toolapa, mla, bibtex, ris, and vancouvernotices and are shown ahead of its citations; Vancouver adds a Retraction in: / Erratum in: note and APA a retraction parentheticalpubmed_find_related toolsimilar, cited_by, or references, up to 50 per page with offset paginationall_providers_failed if none canpubmed_spell_check tooloriginal, corrected, and hasSuggestion; corrections land in place, so field tags, operators, spacing, and gene symbols stay as writtenpubmed_search_articles with correctedpubmed_lookup_mesh toolnextOffsetmeshId, e.g. D000072657) beside the Entrez UID; includeDetails (default on) adds tree numbers, scope notes, and entry termspubmed_lookup_citation toolmatched, not_found, or ambiguous, with recovery detailpubmed_convert_ids toolidType (doi, pmid, pmcid); only PMC-indexed articles resolvepubmed://database/info resourcepubmed database, returned as application/jsoncount, lastUpdate, and fields[], whose names are the search tags pubmed_search_articles acceptsresearch_plan prompttitle, goal, and keywords required; organism and includeAgentPrompts optionalincludeAgentPrompts: "true" adds an agent-guidance block under each of its nine sub-steps, two of which point at tools: the literature review names pubmed_search_articles and pubmed_lookup_mesh, and the interpretation step names pubmed_search_articlesBuilt on @cyanheads/mcp-ts-core: stdio and Streamable HTTP transports, pluggable auth (none / jwt / oauth), swappable storage (in-memory, filesystem, Supabase, Cloudflare KV/R2/D1), structured logging with optional OpenTelemetry tracing.
PubMed-specific:
pubmed_fetch_fulltext also matches DOIs case-insensitively and PMC IDs with or without the PMC prefixAgent-friendly output:
source: "pmc" | "unpaywall", typed unavailable reasons, viaSource and triedTiers fields, so callers branch on data, not string parsingA public instance is available at https://pubmed.caseyjhand.com/mcp — no installation required. Point any MCP client at it via Streamable HTTP:
{
"mcpServers": {
"pubmed-mcp-server": {
"type": "streamable-http",
"url": "https://pubmed.caseyjhand.com/mcp"
}
}
}
Add the following to your MCP client configuration file.
{
"mcpServers": {
"pubmed-mcp-server": {
"type": "stdio",
"command": "bunx",
"args": ["@cyanheads/pubmed-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info",
"NCBI_API_KEY": "your-key-here"
}
}
}
}
Or with npx (no Bun required):
{
"mcpServers": {
"pubmed-mcp-server": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@cyanheads/pubmed-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info",
"NCBI_API_KEY": "your-key-here"
}
}
}
}
Or with Docker:
{
"mcpServers": {
"pubmed-mcp-server": {
"type": "stdio",
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "MCP_TRANSPORT_TYPE=stdio", "ghcr.io/cyanheads/pubmed-mcp-server:latest"]
}
}
}
For Streamable HTTP, set the transport and start the server:
MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 bun run start:http
# Server listens at http://localhost:3010/mcp
git clone https://github.com/cyanheads/pubmed-mcp-server.git
cd pubmed-mcp-server
bun install
cp .env.example .env
# edit .env and set NCBI_API_KEY, NCBI_ADMIN_EMAIL, and UNPAYWALL_EMAIL as needed
See .env.example for every server setting and the common framework overrides.
Build and run the production version:
# One-time build
bun run rebuild
# Run the built server
bun run start:http
# or
bun run start:stdio
Run checks and tests:
bun run devcheck # Lints, formats, type-checks, and more
bun run test # Runs the test suite
See CLAUDE.md for development guidelines and architectural rules. The short version:
try/catch in tool logicctx.log for logging, ctx.state for storagecreateApp() arrays in src/index.tsIssues are welcome. Run checks and tests before submitting:
bun run devcheck
bun run test
This project is licensed under the Apache 2.0 License. See the LICENSE file for details.
Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms via MCP. STDIO or Streamable HTTP.
{ "mcpServers": { "cyanheads-pubmed-mcp-server": { "url": "https://pubmed.caseyjhand.com/mcp", "headers": {} } }}Herramientas
Aún no hay lista de herramientas. Los servidores remotos la reciben tras la primera comprobación de estado.
Preguntas frecuentes
Copia en esta página la configuración http para Cursor, Claude Desktop, Claude Code o VS Code. Usa la instalación del publicador, no un proxy de PlugMCP.
El publicador indica estas variables de entorno: MCP_LOG_LEVEL, NCBI_API_KEY, NCBI_ADMIN_EMAIL, UNPAYWALL_EMAIL, MCP_TRANSPORT_TYPE, MCP_HTTP_HOST, MCP_HTTP_PORT, MCP_HTTP_ENDPOINT_PATH, MCP_PUBLIC_URL, MCP_AUTH_MODE.
Se accede a Pubmed por HTTP.
Última comprobación: 2026-11-14. Search PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms via MCP. STDIO or Streamable HTTP.