Biorxiv Mcp Server
БесплатноПоддерживаетсяSearch and retrieve bioRxiv and medRxiv preprints — by DOI, date interval, or keyword — via MCP. STDIO or Streamable HTTP.
Описание
Search and retrieve bioRxiv and medRxiv preprints — by DOI, date interval, or keyword — via MCP. STDIO or Streamable HTTP.
README
@cyanheads/biorxiv-mcp-server
Search and retrieve bioRxiv and medRxiv preprints — by DOI, date interval, or keyword — via MCP. STDIO or Streamable HTTP.
Public Hosted Server: https://biorxiv.caseyjhand.com/mcp
Overview
bioRxiv and medRxiv preprints, metadata and full text. Search by keyword and author, browse a date interval (optionally by subject), fetch any preprint by DOI, and see which preprints went on to journal publication.
Tools
| Tool | Description |
|---|---|
biorxiv_get_preprint |
Fetch full metadata, abstract, revision history, and journal crosswalk for one or more preprints by DOI |
biorxiv_list_recent |
List preprints posted or updated within a date interval, with optional server, category, and funder filters |
biorxiv_search_preprints |
Search preprints by keyword and/or author via EuropePMC for relevance ranking, enriched with bioRxiv/medRxiv metadata |
biorxiv_get_published_version |
Resolve a preprint DOI to its journal publication record (journal DOI, name, published date), or a journal article's DOI to the preprint it was posted as |
biorxiv_list_published_versions |
List preprints that appeared as journal articles within a journal publication-date interval, whenever they were posted, optionally from one publisher |
biorxiv_get_fulltext |
Retrieve a preprint's full text as best-effort Markdown extracted from its rendered HTML article page |
biorxiv_list_categories |
List valid subject category strings for bioRxiv and medRxiv |
Capability reference
biorxiv_get_preprint tool
- Takes DOIs bare or pasted (
https://doi.org/…,doi:…, abiorxiv.org/medrxiv.orgarticle URL, avNor.fullsuffix), scoped tobiorxiv,medrxiv, orboth(defaultboth) - Accepts up to 200 entries and looks up the first 10 distinct DOIs; the rest come back in
unprocessed[]to pass in another call. A repeated DOI is looked up once, and every list keeps input order - Each preprint returns its full revision history in
revisions[]— title, authors, category, license,awards,jatsxmlUrl,publishedJournalDoionce accepted, and theserverit was found on (biorxivormedrxiv, ready to pass back asserver). Funder names are omitted because the upstream API misattributes them - The abstract sits on the latest revision only: the upstream API keeps one abstract per preprint. An earlier revision's own abstract is on its article page, through
biorxiv_get_fulltextwithversion - A DOI that fails lands in
failed[]with areason(not_found,invalid_doi_format,upstream_unavailable,rate_limited) and aretryableflag;not_foundonly when every attempted server answered
biorxiv_list_recent tool
- Takes a
start_date/end_dateinterval,server(defaultboth), and optionalcategory(a value frombiorxiv_list_categories) and bioRxiv-onlyfunder(a ROR ID) filters; a filter that cannot be applied raisesinvalid_categoryorinvalid_funder - Pages of 30 advance with an integer
cursor, tracked per server ({ biorxiv: { cursor, total, newPreprints }, medrxiv: { cursor, total, newPreprints } }); a cursor past the last page is markedexhausted: true, and a server that did not answer is named infailed[] - Rows are revisions:
totalcounts every version posted in the interval, whilenewPreprintscounts the preprints whose first version posted in it, as the API reports it (absent when the API sends no count) - Abstracts are omitted by default;
include_abstract: trueadds them. Each is the preprint's latest-revision abstract, even on a row for an earlier revision
biorxiv_search_preprints tool
- Takes
queryand/orauthor, optionaldate_from/date_toandserver(defaultboth); up to 100 results per page (default 25; a largerlimitreturns 100 with a notice), paged withcursor_mark - EuropePMC ranks the matches (it indexes new preprints within 1–2 days of posting) and the bioRxiv/medRxiv API enriches them with the same fields as
biorxiv_get_preprint; a record left with EuropePMC metadata only carriesenriched: falseand anenrichment_error(service_error,rate_limited,not_found), withpartial_resultsset - Abstracts are included by default;
include_abstract: falsedrops them for a response about a third the size
biorxiv_get_published_version tool
- Takes one DOI and
server(defaultboth): a preprint DOI (10.1101/,10.64898/), or a journal article's DOI, which resolves to the preprint it was posted as (10.1016/j.cell.2020.01.001→10.1101/614172);10.64898/DOIs resolve through the preprint's own journal DOI - Returns the preprint DOI, journal DOI, journal name, published date, corresponding-author institution, and the
serverthat answered; if no server answers it raises a retryableupstream_unavailableorrate_limited, neverdoi_not_found - Cold Spring Harbor Laboratory Press journal DOIs (
10.1101/gr.…,gad.…,lm.…) share the preprint prefix and cannot be resolved by DOI
biorxiv_list_published_versions tool
- Takes a
start_date/end_dateinterval of journal publication dates andserver(defaultboth); each row matches the recordbiorxiv_get_published_versionreturns, and may be a preprint posted years earlier - Returns
limitrows per server (default 25, up to the API's 100-row page) from an integercursor, continued at each server'snextCursor; a cursor past the last row is markedexhausted: true, and a server that did not answer is named infailed[] - Optional
publisher, a journal DOI prefix (10.7554for eLife), lists only the bioRxiv preprints published under it;server: "both"queries bioRxiv alone, andserver: "medrxiv"or a prefix the API does not recognize raisesinvalid_publisher. These rows carry no journal name, authors, or abstract - Abstracts are omitted by default;
include_abstract: trueadds them
biorxiv_get_fulltext tool
- Takes a DOI,
server(defaultboth), and an optionalversion(or avNsuffix; the two must agree, and a version the preprint lacks raisesversion_not_found); returns Markdown extracted from the rendered HTML article page, naming the answeringserver - Table cells are not on the page: each table keeps its caption, and
omittedTablesnames it with the URL that serves its cells - Pages via
offset/limitcharacters (default 20,000), reportingtotalChars,remainingChars,hasMore, andwordCount; PDF-only preprints and blocked pages raisefulltext_unavailable, routing tobiorxiv_get_preprint
biorxiv_list_categories tool
- No API call — a static list of 25 bioRxiv and 51 medRxiv categories, limited to the ones the listing API filters on
- Use it to pick a
categoryforbiorxiv_list_recent
Features
Built 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.
bioRxiv-specific:
BiorxivApiServicewrapsapi.biorxiv.org(details, publications, and crosswalk endpoints) andEuropePmcServicewraps EuropePMC search, both with retry and exponential backoffBiorxivFullTextServiceextracts Markdown from the article pages onwww.biorxiv.org/www.medrxiv.org- Every upstream retry ladder runs on what is left of the tool call's one 50 s budget, so a hung origin ends before a client's 60 s request timeout — in a classified, retryable error, or, when the step that hung is optional, in a result that says what is missing
- Queries
biorxivandmedrxivin parallel whenserver="both", each result naming the server that answered; a lookup by DOI stops waiting once the server holding that DOI answers - Polite
User-Agentheader including a mailto address (BIORXIV_MAILTOenv var) per Cold Spring Harbor Lab API guidelines - Pairs with pubmed-mcp-server (post-publication), openalex-mcp-server (citation analytics), and crossref-mcp-server (DOI metadata)
Agent-friendly output:
- Graceful partial failure — per-DOI and per-server failures land in
failed[]with a typedreasonandretryableflag instead of aborting the call - Rate-limit transparency — a 429 surfaces as
reason: "rate_limited"with the parsedretryAfterwait, distinct fromupstream_unavailable - Typed enrichment status —
biorxiv_search_preprintsresults carryenrichedplus a typedenrichment_error(service_error/rate_limited/not_found) - Clean titles and abstracts — export markup and symbol placeholders (
{beta},[≥]) are resolved to plain text
Getting started
Connect to the hosted instance, no install:
claude mcp add --transport http biorxiv-mcp-server https://biorxiv.caseyjhand.com/mcp
Or run it locally:
claude mcp add biorxiv-mcp-server -- npx -y @cyanheads/biorxiv-mcp-server
For other clients, add this to the MCP config file:
{
"mcpServers": {
"biorxiv-mcp-server": {
"command": "npx",
"args": ["-y", "@cyanheads/biorxiv-mcp-server"]
}
}
}
A contact email in BIORXIV_MAILTO (-e [email protected], or an env entry) identifies your requests in the User-Agent header, as the Cold Spring Harbor Lab API guidelines ask. For Docker or a source build, see Running the server.
Configuration
All configuration is validated at startup via Zod schemas in src/config/server-config.ts.
| Variable | Description | Default |
|---|---|---|
BIORXIV_MAILTO |
Email address for the User-Agent header; optional but recommended. |
— |
BIORXIV_API_BASE_URL |
Override the bioRxiv API base URL. | https://api.biorxiv.org |
EUROPEPMC_API_BASE_URL |
Override the EuropePMC base URL. | https://www.ebi.ac.uk/europepmc/webservices/rest |
BIORXIV_WEB_BASE_URL |
Override the bioRxiv website base URL (full-text HTML source for biorxiv_get_fulltext). |
https://www.biorxiv.org |
MEDRXIV_WEB_BASE_URL |
Override the medRxiv website base URL (full-text HTML source for biorxiv_get_fulltext). |
https://www.medrxiv.org |
MCP_TRANSPORT_TYPE |
Transport: stdio or http. |
stdio |
MCP_HTTP_PORT |
HTTP server port. | 3010 |
MCP_HTTP_ENDPOINT_PATH |
HTTP endpoint path. | /mcp |
MCP_AUTH_MODE |
Auth mode: none, jwt, or oauth. |
none |
MCP_LOG_LEVEL |
Log level (debug, info, warning, error, etc.). |
info |
LOGS_DIR |
Directory for log files (Node.js only). | <project-root>/logs |
LOG_TOOL_FAILURE_PAYLOADS |
Log each failed tool call's arguments and result, redacted by key name and capped at LOG_TOOL_FAILURE_PAYLOAD_MAX_BYTES (default 16384). A secret inside a free-form value is not redacted. |
false |
OTEL_ENABLED |
Enable OpenTelemetry instrumentation. | false |
See .env.example for the full list of optional overrides.
Running the server
Local development
Requires Bun v1.4.0 or higher (or Node.js v24+).
Clone and install:
git clone https://github.com/cyanheads/biorxiv-mcp-server.git cd biorxiv-mcp-server && bun install cp .env.example .env # optionally set BIORXIV_MAILTOBuild and run:
# One-time build bun run rebuild # Run the built server bun run start:stdio # or bun run start:httpRun checks and tests:
bun run devcheck # Lint, format, typecheck, security bun run test # Vitest test suite bun run lint:mcp # Validate MCP definitions against spec
Docker
docker run --rm -e [email protected] -p 3010:3010 ghcr.io/cyanheads/biorxiv-mcp-server:latest
The image defaults to HTTP transport, stateless session mode, and logs to /var/log/biorxiv-mcp-server; the server listens at http://localhost:3010/mcp. To run it over stdio from an MCP client, use "command": "docker" with "args": ["run", "-i", "--rm", "-e", "MCP_TRANSPORT_TYPE=stdio", "ghcr.io/cyanheads/biorxiv-mcp-server:latest"]. To build locally, docker build -t biorxiv-mcp-server .; OpenTelemetry peer dependencies are installed by default — build with --build-arg OTEL_ENABLED=false to omit them.
Project structure
| Directory | Purpose |
|---|---|
src/index.ts |
createApp() entry point — registers tools and initializes services. |
src/config |
Server-specific environment variable parsing and validation with Zod. |
src/mcp-server/tools |
Tool definitions (*.tool.ts). Seven tools across bioRxiv and medRxiv. |
src/services/biorxiv |
BiorxivApiService — details, publications, and crosswalk endpoint wrappers with retry. |
src/services/biorxiv-fulltext |
BiorxivFullTextService — rendered HTML article page fetch and Markdown extraction. |
src/services/europe-pmc |
EuropePmcService — preprint keyword/author search endpoint wrapper. |
tests/ |
Unit and integration tests mirroring the src/ structure. |
Development guide
See CLAUDE.md for development guidelines and architectural rules. The short version:
- Handlers throw, framework catches — no
try/catchin tool logic - Use
ctx.logfor request-scoped logging,ctx.statefor tenant-scoped storage - Register new tools via the barrel in
src/mcp-server/tools/definitions/index.ts - Wrap external API calls: validate raw → normalize to domain type → return output schema; never fabricate missing fields
Contributing
Issues are welcome. Run checks and tests before submitting:
bun run devcheck
bun run test
License
Apache-2.0 — see LICENSE for details.
Установить Biorxiv Mcp Server в Claude Desktop, Claude Code, Cursor
unyly install biorxiv-mcp-serverСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add biorxiv-mcp-server --env BIORXIV_MAILTO="" --env MCP_LOG_LEVEL="" --env MCP_TRANSPORT_TYPE="" -- npx -y @cyanheads/biorxiv-mcp-serverПошаговые гайды: как установить Biorxiv Mcp Server
FAQ
Biorxiv Mcp Server MCP бесплатный?
Да, Biorxiv Mcp Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Biorxiv Mcp Server?
Да, требуются переменные окружения: BIORXIV_MAILTO, MCP_LOG_LEVEL, MCP_TRANSPORT_TYPE. Unyly подставит их в конфиг при установке.
Biorxiv Mcp Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Biorxiv Mcp Server в Claude Desktop, Claude Code или Cursor?
Открой Biorxiv Mcp Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Изменения
Версии и запрашиваемые доступы со временем.
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
- Новая версия опубликована
Похожие MCP
Opencode Omniroute Plugin
OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
автор: GitHub ActionsRoblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
автор: paralovAntigravity Drawio
MCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.
автор: S-SUJAN-SFetch
Web content fetching and conversion for efficient LLM usage.
Mcp
ModelContextProtocol server for enhancing JSON Resumes
автор: mcpflow.ioVault
Bitwarden/Vaultwarden MCP server — BYOK vault access with 6 tools, Send-based reveal, TOTP, and safe agent-write
автор: agbergsmannAWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
автор: lastmile-aiCompare Biorxiv Mcp Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
