- Home
- MCP servers
- Arxiv
Arxiv
- typescript
6
GitHub Stars
typescript
Language
4 months ago
First Indexed
3 weeks ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"win4r-arxiv-search-mcp-server": {
"command": "node",
"args": [
"/path/to/arxiv-search/build/index.js"
]
}
}
}You can search arXiv for academic papers and retrieve detailed information about each result using this MCP server. It exposes papers as structured resources and provides a flexible search tool that supports sorting and pagination to help you find relevant research quickly.
How to use
Use an MCP client to invoke the search tool on the arxiv-search server. You provide a query and optional controls for result quantity, sorting, and pagination. The server returns a list of matches with key metadata such as title, authors, abstract, publication date, and a direct PDF link for each paper. You can then open individual papers via their arxiv://paper/{id} URIs to view details or access the PDF.
How to install
Prerequisites you need on your machine: Node.js and npm. Ensure npm is available in your environment before proceeding.
Install dependencies for the project.
Build the server to produce the runnable index.
For development with auto-rebuild, run the watch command to rebuild on file changes.
npm install
npm run build
npm run watch
Installation via MCP configuration
To use with an MCP client, add a server configuration that runs the MCP server locally using stdio. The example below shows how to start the server with Node and the built entry point.
{
"mcpServers": {
"arxiv-search": {
"command": "node",
"args": ["/path/to/arxiv-search/build/index.js"],
"disabled": false,
"alwaysAllow": []
}
}
}
Debugging
MCP servers communicate over stdio, which can be tricky to debug. Use the MCP Inspector to access debugging tools in your browser. Start the inspector with the following script.
npm run inspector
Usage examples
To search for papers, call the search_papers tool on the arxiv-search server with a query and optional parameters for result count and sorting.
Available tools
search_papers
Search for academic papers on arXiv with a required query parameter and optional max_results, sort_by, and start to control results and pagination. Returns formatted details for each paper including title, authors, summary, publication date, and PDF link.