arxiv-search MCP Server

arxiv-search MCP Server

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

win4r

Research & Data
Visit Server

README

arxiv-search MCP Server

🚀对应视频演示

🚀我的微信:stoeng

English | 中文

<a name="english"></a>

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

This server provides tools to search for academic papers on arXiv and access detailed information about them. It demonstrates core MCP concepts by providing:

  • Resources representing academic papers with URIs and metadata
  • Tools for searching papers with customizable parameters
  • Support for sorting and pagination of search results

Features

Resources

  • List and access papers via arxiv://paper/{id} URIs
  • Each paper has title, authors, summary, publication date, and PDF link
  • JSON mime type for structured content access

Tools

  • search_papers - Search for academic papers on arXiv
    • Takes query as required parameter
    • Optional parameters for max results, sorting, and pagination
    • Returns formatted results with paper details

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "arxiv-search": {
      "command": "node",
      "args": ["/path/to/arxiv-search/build/index.js"],
      "disabled": false,
      "alwaysAllow": []
    }
  }
}

To use with VSCode and Roo Cline, add to: ~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

Usage Examples

<use_mcp_tool>
<server_name>arxiv-search</server_name>
<tool_name>search_papers</tool_name>
<arguments>
{
  "query": "machine learning",
  "max_results": 5,
  "sort_by": "relevance"
}
</arguments>
</use_mcp_tool>

Available parameters:

  • query (required): Search query (e.g., 'machine learning', 'quantum physics')
  • max_results (optional): Maximum number of results to return (default: 10, max: 100)
  • sort_by (optional): Sort method ('relevance', 'lastUpdatedDate', 'submittedDate')
  • start (optional): Starting index for results (for pagination)

<a name="中文"></a>

arXiv搜索 MCP 服务器

一个用于搜索arXiv学术论文的模型上下文协议(MCP)服务器。

该服务器提供了搜索arXiv学术论文并获取详细信息的工具。它通过以下方式展示了MCP的核心概念:

  • 使用URI和元数据表示学术论文的资源
  • 提供带有可自定义参数的论文搜索工具
  • 支持搜索结果的排序和分页

功能特点

资源

  • 通过arxiv://paper/{id}URI列出和访问论文
  • 每篇论文包含标题、作者、摘要、发布日期和PDF链接
  • 使用JSON mime类型进行结构化内容访问

工具

  • search_papers - 在arXiv上搜索学术论文
    • 需要query作为必填参数
    • 可选参数包括最大结果数、排序方式和分页
    • 返回带有论文详细信息的格式化结果

开发

安装依赖:

npm install

构建服务器:

npm run build

用于自动重新构建的开发模式:

npm run watch

安装

要与Claude桌面应用一起使用,添加服务器配置:

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "arxiv-search": {
      "command": "node",
      "args": ["/path/to/arxiv-search/build/index.js"],
      "disabled": false,
      "alwaysAllow": []
    }
  }
}

要与VSCode和Roo Cline一起使用,添加到: ~/Library/Application Support/Code/User/globalStorage/rooveterinaryinc.roo-cline/settings/cline_mcp_settings.json

调试

由于MCP服务器通过stdio通信,调试可能具有挑战性。我们推荐使用MCP Inspector,可通过以下包脚本使用:

npm run inspector

Inspector将提供一个URL,用于在浏览器中访问调试工具。

使用示例

<use_mcp_tool>
<server_name>arxiv-search</server_name>
<tool_name>search_papers</tool_name>
<arguments>
{
  "query": "机器学习",
  "max_results": 5,
  "sort_by": "relevance"
}
</arguments>
</use_mcp_tool>

可用参数:

  • query (必填): 搜索查询(例如:'机器学习','量子物理')
  • max_results (可选): 返回结果的最大数量(默认:10,最大:100)
  • sort_by (可选): 排序方式('relevance'相关性, 'lastUpdatedDate'最后更新日期, 'submittedDate'提交日期)
  • start (可选): 结果的起始索引(用于分页)

Recommended Servers

Crypto Price & Market Analysis MCP Server

Crypto Price & Market Analysis MCP Server

A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.

Featured
TypeScript
MCP PubMed Search

MCP PubMed Search

Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.

Featured
Python
dbt Semantic Layer MCP Server

dbt Semantic Layer MCP Server

A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.

Featured
TypeScript
mixpanel

mixpanel

Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.

Featured
TypeScript
Sequential Thinking MCP Server

Sequential Thinking MCP Server

This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.

Featured
Python
Nefino MCP Server

Nefino MCP Server

Provides large language models with access to news and information about renewable energy projects in Germany, allowing filtering by location, topic (solar, wind, hydrogen), and date range.

Official
Python
Vectorize

Vectorize

Vectorize MCP server for advanced retrieval, Private Deep Research, Anything-to-Markdown file extraction and text chunking.

Official
JavaScript
Mathematica Documentation MCP server

Mathematica Documentation MCP server

A server that provides access to Mathematica documentation through FastMCP, enabling users to retrieve function documentation and list package symbols from Wolfram Mathematica.

Local
Python
kb-mcp-server

kb-mcp-server

An MCP server aimed to be portable, local, easy and convenient to support semantic/graph based retrieval of txtai "all in one" embeddings database. Any txtai embeddings db in tar.gz form can be loaded

Local
Python
Research MCP Server

Research MCP Server

The server functions as an MCP server to interact with Notion for retrieving and creating survey data, integrating with the Claude Desktop Client for conducting and reviewing surveys.

Local
Python