ChinaRxiv MCP Server

ChinaRxiv MCP Server

Provides tools to search and retrieve papers, metadata, full text, figures, and PDFs from the ChinaRxiv preprint repository.

Category
Visit Server

README

ChinaRxiv MCP Server

FastMCP server for the ChinaRxiv API.

Tools

  • search_papers
  • get_paper_detail
  • get_paper_full_text
  • get_paper_figures
  • download_paper_pdf
  • list_subjects
  • list_publications
  • get_api_stats
  • list_bulk_exports
  • health_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 the publication search 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 when include_base64=true.
  • search_papers(...) supports the official field, date, availability, source, language, and publication filters. Pagination uses cursor.
  • Most tools accept optional api_email to override CHINARXIV_EMAIL for the upstream X-API-Email header.
  • API rate-limit headers are returned as rate_limit metadata 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 to https://chinarxiv.org
  • CHINARXIV_EMAIL: email sent in the upstream X-API-Email header
  • CHINARXIV_TIMEOUT: defaults to 30
  • CHINARXIV_USER_AGENT: defaults to mcp-chinarxiv/0.1

Recommended Servers

playwright-mcp

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured