ChinaRxiv MCP Server
Provides tools to search and retrieve papers, metadata, full text, figures, and PDFs from the ChinaRxiv preprint repository.
README
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
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 pytest
Configuration
Create your local environment file from the provided example:
Copy-Item .env.example .env
Then 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.py
Docker
docker build -t mcp-chinarxiv .
docker run --rm -i --env-file .env mcp-chinarxiv
Hermes
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 8765
Then 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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.