ChinaRxiv MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ChinaRxiv MCP Server search for papers on renewable energy"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ChinaRxiv MCP Server
FastMCP server for the ChinaRxiv API.
Tools
search_papersget_paper_detailget_paper_full_textget_paper_figuresdownload_paper_pdflist_subjectslist_publicationsget_api_statslist_bulk_exportshealth_check
Related MCP server: academic-mcp
Agent-friendly behavior
list_subjects(q, limit, offset, cache_bust, api_email)filters and paginates locally. Upstream is cached for 1 hour.list_publications(q, limit, offset, cache_bust, api_email)lists journal keys accepted by thepublicationsearch filter. Upstream is cached for 1 hour.download_paper_pdf(paper_id, include_base64, api_email)returns metadata by default: URL, content type, byte size, SHA-256 checksum, and a future resource URI. It only includes base64 wheninclude_base64=true.search_papers(...)supports the official field, date, availability, source, language, and publication filters. Pagination usescursor.Most tools accept optional
api_emailto overrideCHINARXIV_EMAILfor the upstreamX-API-Emailheader.API rate-limit headers are returned as
rate_limitmetadata when provided upstream.Cache TTLs: subjects/publications 1h, stats 10min, bulk exports 6h, paper detail/text/figures/pdf 24h.
Tests
uv run pytestConfiguration
Create your local environment file from the provided example:
Copy-Item .env.example .envThen edit .env with the values for your environment. The server loads this
file automatically on startup. Variables already defined in the process
environment take precedence over .env.
Local stdio
uv run python server.pyDocker
docker build -t mcp-chinarxiv .
docker run --rm -i --env-file .env mcp-chinarxivHermes
If Hermes supports MCP over HTTP, run the container as a local service:
docker run -d --name mcp-chinarxiv -p 8765:8765 --env-file .env mcp-chinarxiv uv run fastmcp run server.py:mcp --transport http --host 0.0.0.0 --port 8765Then add this server URL in Hermes:
{
"mcpServers": {
"chinarxiv": {
"url": "http://127.0.0.1:8765/mcp"
}
}
}If Hermes expects stdio MCP servers, let Hermes launch Docker directly:
{
"mcpServers": {
"chinarxiv": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"--env-file",
".env",
"mcp-chinarxiv"
]
}
}
}Environment
CHINARXIV_BASE_URL: defaults tohttps://chinarxiv.orgCHINARXIV_EMAIL: email sent in the upstreamX-API-EmailheaderCHINARXIV_TIMEOUT: defaults to30CHINARXIV_USER_AGENT: defaults tomcp-chinarxiv/0.1
Available Tools
10 toolsdownload_paper_pdfCRead-only
Download an English paper PDF, following the upstream redirect and returning file metadata.
Inputs: paper_id (required), include_base64, api_email. Returns: object
get_api_statsCRead-only
Get ChinaRxiv API statistics.
Inputs: cache_bust, api_email. Returns: object
get_paper_detailBRead-only
Get ChinaRxiv paper metadata/details by paper ID.
Inputs: paper_id (required), api_email. Returns: object
get_paper_figuresCRead-only
Get figure metadata or extracted figures for a ChinaRxiv paper.
Inputs: paper_id (required), api_email. Returns: object
get_paper_full_textARead-only
Get full text for a ChinaRxiv paper by paper ID. Returns markdown when the API provides it.
Inputs: paper_id (required), api_email. Returns: object
health_checkCRead-only
Check ChinaRxiv API health.
Inputs: api_email. Returns: object
list_bulk_exportsARead-only
List available ChinaRxiv bulk exports. The upstream API documents this as rate limited.
Inputs: cache_bust, api_email. Returns: object
list_publicationsCRead-only
List journals/publications with translated papers.
Inputs: q, limit, offset, cache_bust, +1 more. Returns: object
list_subjectsCRead-only
List ChinaRxiv subjects.
Inputs: q, limit, offset, cache_bust, +1 more. Returns: object
search_papersCRead-only
Search and filter papers in the unified ChinaRxiv/RussiaRxiv corpus.
Inputs: q, search_field, subject, from_date, +10 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool targets a distinct resource or action: downloading PDFs, retrieving metadata, full text, figures, searching, listing various entities, and health/stats. No two tools have overlapping purposes.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., download_paper_pdf, get_paper_detail, list_subjects). Minor exception like health_check still fits the pattern.
With 10 tools, the server is well-scoped for a preprint repository access tool. Each tool serves a clear purpose without unnecessary duplication.
Core operations for finding and retrieving papers are covered: search, metadata, full text, figures, PDF download. Minor gaps like browsing by author or getting recent papers are missing but search can partially compensate.
Maintenance
Related MCP Connectors
Search and retrieve bioRxiv and medRxiv preprints — by DOI, date interval, or keyword — via MCP.
Find research papers and arXiv preprints, and get an abstract and free full text from a DOI or id.
Search and download academic papers from arXiv, PubMed, bioRxiv, medRxiv, Google Scholar, Semantic…
Search INSPIRE-HEP papers, authors, experiments, HEPData records; get citation metrics and BibTeX.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables AI agents to search and retrieve academic papers from China National Knowledge Infrastructure (CNKI), supporting various search types including subject, keyword, author, and DOI lookups.321-
- AlicenseAqualityDmaintenanceUnified academic search MCP server that searches open literature (arXiv, bioRxiv, medRxiv, PMC), CNKI, and Web of Science, with browser-backed authentication, local paper library, and export to multiple formats.212MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying bioRxiv and medRxiv preprints, including metadata, publication status, and submission counts, through natural language or direct tool calls.66 npmMIT
- FlicenseAqualityDmaintenanceEnables AI agents to search, read, and cite Chinese academic papers from CNKI using HUST single sign-on, with support for full-text retrieval, BibTeX export, and PDF download.74-