arXiv MCP Server

MIT License
1
  • Apple

Integrations

  • Enables retrieving metadata about scholarly articles, searching the arXiv database, downloading articles as PDFs, and loading article content into LLM context for analysis.

arXiv MCP 服务器

模型上下文协议 (MCP) 服务器,可使用自然语言与 arXiv API 进行交互。

特征

  • 检索 arXiv.org 上托管的学术文章的元数据
  • 将文章以 PDF 格式下载到本地机器
  • 在 arXiv 数据库中搜索特定查询
  • 检索文章并将其加载到大型语言模型 (LLM) 上下文中

工具

  • 获取文章网址
    • 根据标题检索 arXiv.org 上的文章 URL
      • title (字符串):文章标题
  • 下载文章
    • 下载 arXiv.org 上的文章的 PDF 文件
      • title (字符串):文章标题
  • 加载文章到上下文
    • 将 arXiv.org 上的文章加载到 LLM 环境中
      • title (字符串):文章标题
  • 获取详细信息
    • 根据标题检索 arXiv.org 上托管的文章的元数据
      • title (字符串):文章标题
  • 搜索_arxiv
    • 根据指定参数在 arXiv API 上执行搜索查询并返回匹配的文章元数据
      • all_fields (字符串):跨所有元数据字段的常规关键字搜索
      • title (字符串):在文章标题中搜索的关键字
      • author (字符串):用于过滤结果的作者姓名
      • abstract (字符串):在文章摘要中搜索的关键字
      • start (int):返回的第一个结果的索引

设置

手动安装

克隆存储库

git clone https://github.com/prashalruchiranga/arxiv-mcp-server.git cd arxiv-mcp-server

安装uv包管理器。有关在其他操作系统上安装的更多详细信息,请访问uv 官方文档

# Using Homebrew for macOS brew install uv # or curl -LsSf https://astral.sh/uv/install.sh | sh

创建并激活虚拟环境。

uv venv --python=python3.13 source .venv/bin/activate # or `venv\Scripts\activate` on Windows

安装开发依赖项。

uv sync

与 Claude Desktop 一起使用

要启用此集成,请将服务器配置添加到claude_desktop_config.json文件中。如果该文件不存在,请务必创建。

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

{ "mcpServers": { "arxiv-server": { "command": "uv", "args": [ "--directory", "/ABSOLUTE/PATH/TO/PARENT/FOLDER/arxiv-mcp-server/src/arxiv_server", "run", "server.py" ], "env": { "DOWNLOAD_PATH": "/ABSOLUTE/PATH/TO/DOWNLOADS/FOLDER" } } } }

您可能需要在命令字段中输入 uv 可执行文件的完整路径。您可以在 MacOS 上运行which uv或在 Windows 上运行where uv来获取此路径。

示例提示

Can you get the details of 'Reasoning to Learn from Latent Thoughts' paper?
Get the papers authored or co-authored by Yann Lecun on convolutional neural networks
Download the attention is all you need paper
Can you get the papers by Andrew NG which have 'convolutional neural networks' in title?
Can you display the paper?
List the titles of papers by Yann LeCun. Paginate through the API until there are 30 titles

执照

根据 MIT 许可。请参阅LICENSE

-
security - not tested
A
license - permissive license
-
quality - not tested

模型上下文协议服务器可实现与 arXiv.org 的自然语言交互,允许用户搜索、检索元数据、下载 PDF 以及将学术文章加载到 LLM 上下文中。

  1. 特征
    1. 工具
      1. 设置
        1. 手动安装
      2. 与 Claude Desktop 一起使用
        1. 示例提示
          1. 执照

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that provides tools for analyzing text documents, including counting words and characters. This server helps LLMs perform text analysis tasks by exposing simple document statistics functionality.
              Last updated -
              1
              8
              7
              JavaScript
              Apache 2.0
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that enables interaction with Snapshot.org, providing tools to query Snapshot spaces, proposals, and users through natural language.
              Last updated -
              5
              2
              TypeScript
              MIT License
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that allows LLMs to interact with web content through standardized tools, currently supporting web scraping functionality.
              Last updated -
              Python
              MIT License
              • Linux
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that retrieves information from Wikipedia to provide context to LLMs, allowing users to search articles, get summaries, full content, sections, and links from Wikipedia.
              Last updated -
              12
              Python
              MIT License
              • Apple
              • Linux

            View all related MCP servers

            ID: bis3aykcsb