arxiv 查询
arxiv-mcp-server # 安装 要安装`arxiv-mcp-server`,请运行以下命令: bash pip install arxiv-mcp-server # 配置 在开始使用`arxiv-mcp-server`之前,您需要配置一些设置。创建一个名为`config.yaml`的文件,并添加以下内容: yaml server: host: 0.0.0.0 port: 8080 database: uri: mongodb://localhost:27017/arxiv_mcp # 启动服务器 配置完成后,您可以使用以下命令启动服务器: bash arxiv-mcp-server --config config.yaml # API文档 `arxiv-mcp-server`提供了RESTful API来与服务进行交互。有关完整的API文档,请参阅[这里](https://example.com/api-docs)。 ## 获取论文列表 - **URL**: `/papers` - **方法**: `GET` - **响应**: json [ { "id": "123456", "title": "Sample Paper Title", "authors": ["Author One", "Author Two"], "abstract": "This is a sample abstract." }, ... ] ## 提交新论文 - **URL**: `/papers` - **方法**: `POST` - **请求体**: json { "title": "New Paper Title", "authors": ["Author A", "Author B"], "abstract": "This is the abstract of the new paper." } - **响应**: json { "id": "789012", "title": "New Paper Title", "authors": ["Author A", "Author B"], "abstract": "This is the abstract of the new paper." } # 日志 `arxiv-mcp-server`的日志默认输出到标准输出(stdout)。如果您希望将日志写入文件,可以在`config.yaml`中添加如下配置: yaml logging: file: /path/to/logfile.log 这样,日志将会被写入指定的文件中。 # 故障排除 如果遇到任何问题,请首先检查日志以获取更多信息。如果问题仍然存在,请在[GitHub Issues页面](https://github.com/your-repo/issues)上报告问题。
可用工具 (4 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
search_papers 5 个参数 需填 1 项
Search for papers on arXiv with advanced filtering
必填参数:query
download_paper 2 个参数 需填 1 项
Download a paper and create a resource for it
必填参数:paper_id
list_papers
List all existing papers available as resources
该工具无需必填参数,直接调用即可
read_paper 1 个参数 需填 1 项
Read the full content of a stored paper in markdown format
必填参数:paper_id
服务介绍
🔎 论文搜索:使用日期范围和类别过滤器查询 arXiv 论文
📄 访问论文:下载并阅读论文内容
📋 论文列表:查看所有已下载的论文
🗃️ 本地存储:论文保存在本地以加快访问速度
📝 提示:一套研究提示