ArXiv MCP Server

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Allows AI assistants to search arXiv's research repository, download papers, access paper content, and view all downloaded papers through the MCP interface

ArXiv MCP サーバー

🔍 AI アシスタントがシンプルな MCP インターフェースを介して arXiv 論文を検索およびアクセスできるようにします。

ArXiv MCPサーバーは、メッセージ制御プロトコル(MCP)を介してAIアシスタントとarXivの研究リポジトリ間の橋渡しを提供します。これにより、AIモデルはプログラム的に論文を検索し、そのコンテンツにアクセスできるようになります。

🤝**貢献する• 📝バグを報告する**

✨ コア機能

  • 🔎論文検索:日付範囲とカテゴリのフィルターを使用してarXiv論文を検索します
  • 📄論文アクセス:論文コンテンツをダウンロードして読む
  • 📋論文一覧: ダウンロードした論文をすべて表示
  • 🗃️ローカルストレージ: 論文はローカルに保存され、より速くアクセスできます
  • 📝プロンプト:リサーチプロンプトのセット

🚀 クイックスタート

Smithery経由でインストール

Smithery経由で Claude Desktop 用の ArXiv Server を自動的にインストールするには:

npx -y @smithery/cli install arxiv-mcp-server --client claude

手動でインストールする

uv を使用してインストールします。

uv tool install arxiv-mcp-server

開発の場合:

# Clone and set up development environment git clone https://github.com/blazickjp/arxiv-mcp-server.git cd arxiv-mcp-server # Create and activate virtual environment uv venv source .venv/bin/activate # Install with test dependencies uv pip install -e ".[test]"

🔌 MCP統合

この構成を MCP クライアント構成ファイルに追加します。

{ "mcpServers": { "arxiv-mcp-server": { "command": "uv", "args": [ "tool", "run", "arxiv-mcp-server", "--storage-path", "/path/to/paper/storage" ] } } }

開発の場合:

{ "mcpServers": { "arxiv-mcp-server": { "command": "uv", "args": [ "--directory", "path/to/cloned/arxiv-mcp-server", "run", "arxiv-mcp-server", "--storage-path", "/path/to/paper/storage" ] } } }

💡 利用可能なツール

サーバーは 4 つの主なツールを提供します。

1. 論文検索

オプションのフィルターを使用して論文を検索します。

result = await call_tool("search_papers", { "query": "transformer architecture", "max_results": 10, "date_from": "2023-01-01", "categories": ["cs.AI", "cs.LG"] })

2. 論文のダウンロード

arXiv IDで論文をダウンロード:

result = await call_tool("download_paper", { "paper_id": "2401.12345" })

3. 論文リスト

ダウンロードしたすべての論文を表示:

result = await call_tool("list_papers", {})

4. 論文を読む

ダウンロードした論文のコンテンツにアクセスします。

result = await call_tool("read_paper", { "paper_id": "2401.12345" })

⚙️ 構成

環境変数を使用して設定します。

変数目的デフォルト
ARXIV_STORAGE_PATH紙の保管場所~/.arxiv-mcp-server/papers

🧪 テスト

テスト スイートを実行します。

python -m pytest

📄 ライセンス

MITライセンスに基づいてリリースされています。詳細はLICENSEファイルをご覧ください。


Pear Labsチームが心を込めて作りました

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

AI アシスタントがシンプルなメッセージ制御プロトコル インターフェースを介して arXiv の研究論文を検索およびアクセスできるようにし、論文の検索、ダウンロード、リスト、および読み取り機能を実現します。

  1. ✨ Core Features
    1. 🚀 Quick Start
      1. Installing via Smithery
      2. Installing Manually
      3. 🔌 MCP Integration
    2. 💡 Available Tools
      1. 1. Paper Search
      2. 2. Paper Download
      3. 3. List Papers
      4. 4. Read Paper
    3. ⚙️ Configuration
      1. 🧪 Testing
        1. 📄 License
          ID: n6w02y4r6h