A

Arxsource

by nicolaiprodromov · io.github.nicolaiprodromov/arxsource

Enables AI agents to search, read, and analyze arXiv papers, traverse citations, and locate associated code and Hugging Face artifacts through bounded, section-aware tools.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-nicolaiprodromov-arxsource": {
      "command": "uvx",
      "args": [
        "arxsource-mcp"
      ],
      "env": {
        "ARXSOURCE_STORAGE_PATH": "<VALUE>",
        "HOST": "127.0.0.1",
        "PORT": "8000",
        "TRANSPORT": "stdio",
        "MAX_RESULTS": "50",
        "ALLOWED_HOSTS": "",
        "ALLOWED_ORIGINS": "",
        "REQUEST_TIMEOUT": "<VALUE>",
        "ARXSOURCE_MAX_BACKOFF": "30",
        "ARXSOURCE_MAX_RETRIES": "2",
        "ARXSOURCE_MAX_TOTAL_TIME": "50",
        "SEMANTIC_SCHOLAR_API_KEY": "",
        "ARXSOURCE_CONNECT_TIMEOUT": "10",
        "ARXSOURCE_INITIAL_BACKOFF": "2.0",
        "ARXSOURCE_REQUEST_TIMEOUT": "30",
        "ARXSOURCE_HTTP_406_MAX_RETRIES": "1"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-nicolaiprodromov-arxsource": {
      "command": "uvx",
      "args": [
        "arxsource-mcp"
      ],
      "env": {
        "ARXSOURCE_STORAGE_PATH": "<VALUE>",
        "HOST": "127.0.0.1",
        "PORT": "8000",
        "TRANSPORT": "stdio",
        "MAX_RESULTS": "50",
        "ALLOWED_HOSTS": "",
        "ALLOWED_ORIGINS": "",
        "REQUEST_TIMEOUT": "<VALUE>",
        "ARXSOURCE_MAX_BACKOFF": "30",
        "ARXSOURCE_MAX_RETRIES": "2",
        "ARXSOURCE_MAX_TOTAL_TIME": "50",
        "SEMANTIC_SCHOLAR_API_KEY": "",
        "ARXSOURCE_CONNECT_TIMEOUT": "10",
        "ARXSOURCE_INITIAL_BACKOFF": "2.0",
        "ARXSOURCE_REQUEST_TIMEOUT": "30",
        "ARXSOURCE_HTTP_406_MAX_RETRIES": "1"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-nicolaiprodromov-arxsource": {
      "command": "uvx",
      "args": [
        "arxsource-mcp"
      ],
      "env": {
        "ARXSOURCE_STORAGE_PATH": "<VALUE>",
        "HOST": "127.0.0.1",
        "PORT": "8000",
        "TRANSPORT": "stdio",
        "MAX_RESULTS": "50",
        "ALLOWED_HOSTS": "",
        "ALLOWED_ORIGINS": "",
        "REQUEST_TIMEOUT": "<VALUE>",
        "ARXSOURCE_MAX_BACKOFF": "30",
        "ARXSOURCE_MAX_RETRIES": "2",
        "ARXSOURCE_MAX_TOTAL_TIME": "50",
        "SEMANTIC_SCHOLAR_API_KEY": "",
        "ARXSOURCE_CONNECT_TIMEOUT": "10",
        "ARXSOURCE_INITIAL_BACKOFF": "2.0",
        "ARXSOURCE_REQUEST_TIMEOUT": "30",
        "ARXSOURCE_HTTP_406_MAX_RETRIES": "1"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-nicolaiprodromov-arxsource": {
      "command": "uvx",
      "args": [
        "arxsource-mcp"
      ],
      "env": {
        "ARXSOURCE_STORAGE_PATH": "<VALUE>",
        "HOST": "127.0.0.1",
        "PORT": "8000",
        "TRANSPORT": "stdio",
        "MAX_RESULTS": "50",
        "ALLOWED_HOSTS": "",
        "ALLOWED_ORIGINS": "",
        "REQUEST_TIMEOUT": "<VALUE>",
        "ARXSOURCE_MAX_BACKOFF": "30",
        "ARXSOURCE_MAX_RETRIES": "2",
        "ARXSOURCE_MAX_TOTAL_TIME": "50",
        "SEMANTIC_SCHOLAR_API_KEY": "",
        "ARXSOURCE_CONNECT_TIMEOUT": "10",
        "ARXSOURCE_INITIAL_BACKOFF": "2.0",
        "ARXSOURCE_REQUEST_TIMEOUT": "30",
        "ARXSOURCE_HTTP_406_MAX_RETRIES": "1"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-nicolaiprodromov-arxsource": {
      "command": "uvx",
      "args": [
        "arxsource-mcp"
      ],
      "env": {
        "ARXSOURCE_STORAGE_PATH": "<VALUE>",
        "HOST": "127.0.0.1",
        "PORT": "8000",
        "TRANSPORT": "stdio",
        "MAX_RESULTS": "50",
        "ALLOWED_HOSTS": "",
        "ALLOWED_ORIGINS": "",
        "REQUEST_TIMEOUT": "<VALUE>",
        "ARXSOURCE_MAX_BACKOFF": "30",
        "ARXSOURCE_MAX_RETRIES": "2",
        "ARXSOURCE_MAX_TOTAL_TIME": "50",
        "SEMANTIC_SCHOLAR_API_KEY": "",
        "ARXSOURCE_CONNECT_TIMEOUT": "10",
        "ARXSOURCE_INITIAL_BACKOFF": "2.0",
        "ARXSOURCE_REQUEST_TIMEOUT": "30",
        "ARXSOURCE_HTTP_406_MAX_RETRIES": "1"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-nicolaiprodromov-arxsource": {
      "command": "uvx",
      "args": [
        "arxsource-mcp"
      ],
      "env": {
        "ARXSOURCE_STORAGE_PATH": "<VALUE>",
        "HOST": "127.0.0.1",
        "PORT": "8000",
        "TRANSPORT": "stdio",
        "MAX_RESULTS": "50",
        "ALLOWED_HOSTS": "",
        "ALLOWED_ORIGINS": "",
        "REQUEST_TIMEOUT": "<VALUE>",
        "ARXSOURCE_MAX_BACKOFF": "30",
        "ARXSOURCE_MAX_RETRIES": "2",
        "ARXSOURCE_MAX_TOTAL_TIME": "50",
        "SEMANTIC_SCHOLAR_API_KEY": "",
        "ARXSOURCE_CONNECT_TIMEOUT": "10",
        "ARXSOURCE_INITIAL_BACKOFF": "2.0",
        "ARXSOURCE_REQUEST_TIMEOUT": "30",
        "ARXSOURCE_HTTP_406_MAX_RETRIES": "1"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
ARXSOURCE_STORAGE_PATH No Optional path for storing downloaded papers locally.
HOST No HTTP bind host. Default: 127.0.0.1
PORT No HTTP bind port. Default: 8000
TRANSPORT No Transport mode: stdio, http, or streamable-http. Default: stdio
MAX_RESULTS No Server-side cap for result counts. Default: 50
ALLOWED_HOSTS No Additional accepted HTTP Host values.
ALLOWED_ORIGINS No Additional accepted HTTP Origin values.
REQUEST_TIMEOUT No Unprefixed fallback for ARXSOURCE_REQUEST_TIMEOUT, used only when the prefixed variable is not set. Values ≤ 0 fall back to the 30s default.
ARXSOURCE_MAX_BACKOFF No Maximum backoff delay in seconds (Retry-After can exceed this and causes immediate rate_limited return). Values ≤ 0 fall back to default. Default: 30
ARXSOURCE_MAX_RETRIES No Maximum retry attempts for transient failures (timeouts, connections, 429, 503). Default: 2
ARXSOURCE_MAX_TOTAL_TIME No Total budget in seconds for each tool call (HTML + PDF combined for download_paper). Values ≤ 0 fall back to default. Very small budgets (under ~6s) may leave insufficient time for HTML-to-PDF fallback due to the process-wide 3s rate-limiter delay. Default: 50
SEMANTIC_SCHOLAR_API_KEY No Free Semantic Scholar API key for citation_graph. Get one at https://www.semanticscholar.org/product/api#api-key to avoid rate limits. Unauthenticated requests work until quota exhausted.
ARXSOURCE_CONNECT_TIMEOUT No Connection timeout in seconds for all arXiv requests. Values ≤ 0 fall back to default. Default: 10
ARXSOURCE_INITIAL_BACKOFF No Initial exponential backoff delay in seconds. Default: 2.0
ARXSOURCE_REQUEST_TIMEOUT No Per-attempt read timeout in seconds for all arXiv requests (API, HTML, PDF, LaTeX). Values ≤ 0 fall back to default. Default: 30
ARXSOURCE_HTTP_406_MAX_RETRIES No Maximum retry attempts for HTTP 406 (IP-level throttling, use minimal retries). Default: 1

Similar servers