Data as of

ArXiv MCP Server for VS Code: Setup & Config

VS Code: Search arXiv, download papers, and read their contents through an AI assistant.

What you can do with ArXiv in VS Code

A focused arXiv workflow from filtered discovery to locally stored, readable papers.

  • Find papers within a topic, category, and date range.
  • Read long papers in bounded Markdown sections.

Before you start: ArXiv in VS Code

  • Python 3.11+
  • uv
  • An MCP-compatible client

Replace the example storage path with your paper directory. Install the [pdf] extra for PDF-only papers. The README also documents uvx and HTTP launch options.

ArXiv VS Code configuration

  1. Choose VS Code configuration scope

    For ArXiv MCP Server, open Workspace: .vscode/mcp.json. Merge into servers; preserve existing inputs.

  2. Add ArXiv MCP Server to VS Code

    Use the arxiv-mcp-server entry below in servers. Keep ArXiv MCP Server's documented stdio connection fields and your other VS Code entries.

  3. Check ArXiv MCP Server in VS Code

    ArXiv MCP Server: Start in VS Code’s MCP controls; inspect output and trust prompts.

Config file · Workspace: .vscode/mcp.json

JSON
{
  "servers": {
    "arxiv-mcp-server": {
      "type": "stdio",
      "command": "uv",
      "args": [
        "tool",
        "run",
        "arxiv-mcp-server",
        "--storage-path",
        "/path/to/paper/storage"
      ],
      "env": {}
    }
  }
}

ArXiv tools available to VS Code

ArXiv's stored tool list documents 5 tools; compare it with VS Code's connected tool list, because the stored list is not a live check.

search_papers

Look for search_papers among VS Code's agent-mode tools after starting ArXiv through the MCP controls.

download_paper

Look for download_paper among VS Code's agent-mode tools after starting ArXiv through the MCP controls.

Fetch a paper into local storage, using HTML first and PDF when needed.

list_papers

Look for list_papers among VS Code's agent-mode tools after starting ArXiv through the MCP controls.

List the identifiers of papers already downloaded locally.

read_paper

Look for read_paper among VS Code's agent-mode tools after starting ArXiv through the MCP controls.

Read a saved paper as Markdown, optionally in bounded chunks.

semantic_search

Look for semantic_search among VS Code's agent-mode tools after starting ArXiv through the MCP controls.

ArXiv: full stored tool descriptions

Troubleshooting ArXiv in VS Code

  • Make uv available in the workspace, container, or remote environment hosting ArXiv MCP Server. Start through VS Code's MCP controls; inspect output and trust prompts.
  • ArXiv MCP Server uses stdio here: VS Code must keep the configured process running; protocol output belongs on stdout and diagnostics on stderr.
  • Known limitation: PDF-only papers need the additional PDF dependency extra.
  • Known limitation: Local semantic search is experimental and requires extra dependencies.
  • Known limitation: Untrusted paper text can carry prompt-injection instructions.
  • General VS Code troubleshooting lives in the /clients/vscode guide.

ArXiv MCP Server — details. VS Code guide

Frequently asked questions

For ArXiv MCP Server, edit workspace .vscode/mcp.json. VS Code requires servers rather than mcpServers; preserve the displayed type on each entry.

VS Code's arxiv-mcp-server example uses stdio.

ArXiv MCP Server's VS Code configuration invokes uv.

ArXiv MCP Server's stored list contains 5 tools, including search_papers, download_paper, list_papers. Compare those names with VS Code's connected tool list; the stored list is not a live check.

Yes. Downloads are saved in a configurable directory, and list_papers reports the local collection.

No. The README identifies the supported distribution as a Python package and warns about an unrelated npm package.