Get the FREE Ultimate OpenClaw Setup Guide →

arxiv-search

A Model Context Protocol server for searching academic papers on arXiv.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio win4r-arxiv-search-mcp-server node /path/to/arxiv-search/build/index.js

How to use

The arxiv-search MCP server exposes a tool named search_papers that lets you search academic papers on arXiv and retrieve detailed metadata for each result. Resources are exposed as arxiv://paper/{id} URIs, and each paper resource includes fields such as title, authors, abstract (summary), publication date, and a link to the PDF. The search_papers tool accepts a required query parameter and optional controls for result count, sorting, and pagination. This setup demonstrates core MCP concepts by providing structured resources alongside a capable search tool that returns formatted, rich paper details.

To use the tool, invoke search_papers with a JSON payload containing at least the query. Optional parameters include max_results (how many results to return), sort_by (relevance, lastUpdatedDate, or submittedDate), and start (offset for pagination). Example usage would search for a topic like machine learning and return a concise list of arxiv papers with their metadata. Each result can then be accessed as a resource using its arxiv://paper/{id} URI, allowing downstream tools to fetch specific paper details or related resources.

How to install

Prerequisites:

  • Node.js and npm installed on your system
  • Access to the project repository for arxiv-search MCP server

Step-by-step installation:

  1. Install dependencies npm install
  2. Build the server npm run build
  3. (Optional) Enable development auto-rebuild npm run watch
  4. Run the server (example) node /path/to/arxiv-search/build/index.js

Debugging and tooling:

  • For debugging MCP communications, install and run the MCP Inspector: npm run inspector This will provide a debugging URL in your terminal.
  • Ensure the server is reachable by your Claude Desktop or VSCode Roo Cline integration using the provided mcpServers configuration.

Additional notes

Notes and tips:

  • MCP servers communicate over stdio; debugging can be challenging—use the MCP Inspector for easier debugging.
  • The configuration example uses placeholders like /path/to/arxiv-search/build/index.js; replace with the actual build output path on your system.
  • If you expose the arxiv-search server to tools that require CORS or network access, ensure appropriate network permissions are set.
  • Resources follow the arxiv://paper/{id} URI scheme; use these URIs to retrieve detailed metadata for individual papers.
  • Available tool parameters for search_papers include: query (required), max_results (default 10, max 100), sort_by (relevance, lastUpdatedDate, submittedDate), and start (pagination offset).

Related MCP Servers

Sponsor this space

Reach thousands of developers