ArxSource

io.github.nicolaiprodromovPublished by GitHub account nicolaiprodromovv0.1.0Updated Nov 7, 2026

Search, read and analyze arXiv papers, and find their code: LaTeX, citations, alerts.

The publisher's own server: Source

Overview

AI-generated overview

Local MCP server that lets an assistant search arXiv, read papers section by section or in LaTeX, follow citations, and find a paper's code.

What you can do
  • Search arXiv by query, category, date and sort order, and fetch abstracts and metadata
  • Download papers to local Markdown and page through bounded full text, outlines and single sections
  • Retrieve author-submitted LaTeX outlines and sections, and search passages inside a paper
  • Traverse references and citing papers, and export BibTeX for one or more arXiv IDs
  • Find a paper's GitHub repository, project page and Hugging Face models, datasets and Spaces
  • Save topic watches, list them, check for new papers and delete them; optional semantic search over downloaded papers
When to use it
Useful when you want an assistant to do literature work: locating papers on a topic, reading or summarizing specific sections, tracing citations, building BibTeX entries, or jumping from a paper to its code and models.
Requirements
Runs locally over stdio via uvx, so uv must be installed; a Python 3.11 interpreter is used for the desktop bundle and upgrades. Papers are stored in ~/.arxsource/papers by default, changeable with the storage path option or ARXSOURCE_STORAGE_PATH. Network access to arXiv, Semantic Scholar and the Hugging Face Hub is required. An optional SEMANTIC_SCHOLAR_API_KEY improves citation-graph reliability; PDF conversion and semantic search need the pdf and pro extras.
Before you install
Paper text, LaTeX, repository and model-card text are untrusted external content that may try to steer the assistant, so instructions found inside papers should not be treated as commands. Downloads write to the local storage directory and force re-downloads overwrite cached files. Streamable HTTP mode should stay on a private interface with authentication upstream. Semantic Scholar requests are rate-limited without an API key.

Installation

In SourceWeft

  1. Open ArxSource in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

[ArxSource: an agent searches arXiv for Mamba, reads section 3.2 from its LaTeX, walks the citation graph, and finds its GitHub repo and Hugging Face models]

ArxSource

Read the paper. Find the source.

[PyPI] [Python] [Tests] [License]

ArxSource is an open-source Model Context Protocol server that lets AI agents search, read and analyze arXiv papers, and find their code. It runs locally over stdio, keeps papers on disk, and returns bounded, section-aware content so a single tool call never floods the context window.

The working loop: paper ID → outline → one section → citations → code.

  • Read precisely. Page through rendered full text, or read the author's original LaTeX one section at a time.
  • Follow the literature. Traverse references and citing papers, export BibTeX from arXiv metadata, and keep topic watches that report new papers.
  • Find the source. Go from an arXiv ID to the paper's GitHub repository and the Hugging Face models, datasets, and Spaces built on it.

ArxSource is not affiliated with or endorsed by arXiv.

Quickstart

ArxSource needs uv, which provides uvx. No clone or Python environment setup is required.

bash
# Run the server (it waits for MCP messages on stdio)uvx arxsource-mcp
# Add it to Claude Code for all projectsclaude mcp add --transport stdio --scope user arxsource -- uvx arxsource-mcp

For Claude Desktop, Kiro, and other clients that accept the mcpServers JSON shape:

json
{  "mcpServers": {    "arxsource": {      "type": "stdio",      "command": "uvx",      "args": ["arxsource-mcp"]    }  }}

Then ask your agent something like "Find the original Transformer paper, summarize section 3.2 from its LaTeX, and show me its official code."

Papers are stored in ~/.arxsource/papers by default. To use another directory, append "--storage-path", "/absolute/path/to/papers" to args.

Install in other clients

[Install in VS Code] [Install in Cursor] [Add to Kiro]

Per-client recipes (Claude Code, Codex, Hermes, VS Code / Kiro, Claude Desktop, plugins)

Use the JSON above unless your client has a one-line helper. Other clients may use a top-level servers object, TOML, or their own settings UI; consult the client's MCP documentation.

Claude Code

Add the MCP server for all projects:

bash
claude mcp add --transport stdio --scope user arxsource -- uvx arxsource-mcp

For the plugin integration, which installs the MCP connection plus the bundled ArxSource research skill, register this repository as a marketplace and install the plugin:

bash
claude plugin marketplace add nicolaiprodromov/arxsourceclaude plugin install arxsource-mcp@arxsource

Verify the direct MCP installation with claude mcp get arxsource. Restart Claude Code or run /reload-plugins after installing the plugin.

OpenAI Codex

Add the MCP server:

bash
codex mcp add arxsource -- uvx arxsource-mcp

Or install the MCP connection and bundled research skill as a Codex plugin:

bash
codex plugin marketplace add nicolaiprodromov/arxsourcecodex plugin add arxsource-mcp@arxsource

Verify the direct MCP installation with codex mcp get arxsource. Codex CLI, the Codex IDE extension, and Codex in the ChatGPT desktop app share this MCP configuration.

Hermes Agent

Add the server, approve the discovered tools, and test the saved connection:

bash
hermes mcp add arxsource --command uvx --args arxsource-mcphermes mcp test arxsource

VS Code, Cursor, and Kiro

Use the install buttons above. For the Kiro Power integration, open the Powers panel, choose Add Custom Power → Import power from GitHub, and enter:

text
https://github.com/nicolaiprodromov/arxsource

The Power installs the MCP connection from mcp.json and adds focused research guidance. To configure Kiro manually, place the JSON above in .kiro/settings/mcp.json for one workspace or ~/.kiro/settings/mcp.json for all workspaces.

Claude Desktop bundle

macOS users can install a bundled .mcpb extension from the latest GitHub release: arxsource-mcp-darwin-arm64-<version>.mcpb for Apple Silicon or arxsource-mcp-darwin-x86_64-<version>.mcpb for Intel.

Double-click the bundle, drag it into Claude Desktop, or open Settings → Extensions → Advanced settings → Install Extension…. The bundle includes the server dependencies and requires CPython 3.11.x.

Plugin manifests

The same MCP server and research skill are packaged for each plugin system:

IntegrationManifestMarketplace
Claude Code.claude-plugin/plugin.json.claude-plugin/marketplace.json
OpenAI Codex / ChatGPT Work.codex-plugin/plugin.json.agents/plugins/marketplace.json
Kiro PowerPOWER.mdmcp.json
Shared MCP launch.mcp.json for Claude and repository-local clients; .codex-mcp.json for Codex pluginsuvx arxsource-mcp
Shared research workflowskills/arxsource/SKILL.mdInstalled with either plugin

If a desktop client cannot find uvx

Desktop applications do not always inherit the same PATH as your terminal. If uvx arxsource-mcp works in a terminal but the client reports that the server failed to connect, find the executable's absolute path:

bash
# macOS and Linuxcommand -v uvx
powershell
# Windows PowerShell(Get-Command uvx).Source

Replace "command": "uvx" with the returned absolute path, then restart the client. Keep the args value unchanged.

Upgrading

uvx reuses cached tool environments. To pick up the latest PyPI release with a supported interpreter, run the following and restart your MCP client:

bash
uvx --python 3.11 --refresh-package arxsource-mcp arxsource-mcp

If your client still launches an older environment, add "--python", "3.11" before "arxsource-mcp" in its args array.

Persistent command install

To place arxsource-mcp on your PATH instead of launching it through uvx:

bash
uv tool install arxsource-mcp

If the command is not immediately available, run uv tool update-shell and restart the terminal. Afterward, use "command": "arxsource-mcp" and omit the package name from args.

Tools

ArxSource exposes 20 tools.

ToolPurposeNotes
search_papersSearch arXiv by query, category, date, and sort orderDefault ≤5 compact results (abstract_mode=snippet); remote arXiv API
get_abstractFetch metadata and an abstract by arXiv IDDoes not download the paper
download_paperDownload and convert a paper to local MarkdownHTML first; PDF fallback uses [pdf]; force=true re-fetches; content bounded to 12,000 chars by default
list_papersList papers stored locallyReturns id, title, authors, published; compact for IDs only
read_paperRead locally stored paper contentBounded to 12,000 chars by default; supports start/max_chars/return_full_text
get_paper_outlinePaginated markdown heading outlineStable hierarchical section IDs
read_paper_sectionRead one bounded markdown sectionBy outline ID or unique title
search_paper_textBounded passage search in a paperSource offsets; no Torch required
get_paper_latexRetrieve bounded author-submitted LaTeXRemote arXiv source archive
list_paper_latex_sectionsReturn a paginated LaTeX outlineSupports start and max_sections
get_paper_latex_sectionRead one bounded LaTeX sectionSelect by outline ID or exact title
citation_graphFetch references and citing papersRemote Semantic Scholar API (1 call per paper, cached on disk); optional free API key improves reliability
export_citationsExport BibTeX for one or more arXiv IDsAuthoritative arXiv metadata
find_paper_codeFind a paper's code and Hugging Face artifactsInput: paper_id, optional max_results (1-20, default 5). Returns the GitHub repository and star count, project page, and top Hugging Face models and datasets (by downloads) plus linked Spaces. Remote Hugging Face Hub API (no key); returns structuredContent
watch_topicSave or update an arXiv topic watchStored locally; omit categories to preserve on update, categories: [] to clear
list_watchesList saved topic watchesRead-only; does not advance last_checked
check_alertsCheck saved watches for new papersReturns papers since the last check
unwatch_topicDelete a saved topic watchExact topic match; not-found if missing
semantic_searchSearch downloaded papers by semantic similarityRequires [pro]
reindexRebuild the local semantic indexRequires [pro]

Research alerts (watch_topic)

Save standing topic watches with watch_topic, inspect them with list_watches, poll with check_alerts, and remove with unwatch_topic.

When updating an existing watch (same topic string):

  • Omit categories → preserve the stored category filters (and other fields you leave unchanged).
  • Pass categories: [] → clear category filters.
  • Pass a non-empty list → replace the stored filters.

Create path: omitting categories stores an empty list (no category filter).

search_papers query guide

Tool schemas stay short on purpose. Use this section (not the always-loaded MCP description) for query tutorials, category catalogs, and workflow examples.

Query construction

  • Use quoted phrases for exact matches: "multi-agent systems", "neural networks"
  • Combine related concepts with OR: "AI agents" OR "software agents"
  • Field-specific searches: ti:"exact title phrase", au:"author name", abs:"keyword", cat:cs.LG
  • Exclude with ANDNOT: "machine learning" ANDNOT "survey"
  • Prefer 2–4 core concepts over long keyword lists

Advanced patterns

  • Field + phrase: ti:"transformer architecture"
  • Multiple fields: au:"Smith" AND ti:"quantum"
  • Exclusions: "deep learning" ANDNOT ("survey" OR "review")
  • Broad + narrow: "artificial intelligence" AND (robotics OR "computer vision")

Category filtering (recommended for relevance)

Computer Science: cs.AI (AI), cs.LG (ML), cs.CL (NLP), cs.CV (vision), cs.MA (multi-agent), cs.RO (robotics), cs.NE (neural/evolutionary), cs.IR (IR), cs.HC (HCI), cs.CR (security), cs.DB (databases)

Statistics & Math: stat.ML, stat.AP, math.OC, math.ST

Physics & other: quant-ph, eess.SP, eess.AS, physics.data-an

Effective examples

  • ti:"reinforcement learning" with categories: ["cs.LG", "cs.AI"]
  • au:"Hinton" AND "deep learning" with categories: ["cs.LG"]
  • "multi-agent" ANDNOT "survey" with categories: ["cs.MA"]
  • abs:"transformer" AND ti:"attention" with categories: ["cs.CL"]

Dates and sorting

  • Dates use YYYY-MM-DD (date_from / date_to)
  • Default sort_by is relevance; use date for newest-first monitoring
  • Foundational work: date_to: "2010-12-31" with title/abstract field searches

Result size, abstracts, and pagination

  • Default max_results is 5 (cap 50). Pass an explicit value for larger pages.
  • abstract_mode: snippet (default, ~280 chars, marked … [truncated] when cut), full (complete abstract), or none (omit abstracts). Other metadata (title, authors, categories, dates, URLs) is always returned.
  • Responses report total_results (corpus hits), returned, has_more, start, next_start, and abstract_mode
  • Pass start=next_start with the same abstract_mode for the next page
  • arXiv enforces ~3 seconds between requests (handled server-side); on rate-limit errors wait ~60s

Search and inspect a paper

Ask your MCP client to call search_papers with:

json
{  "query": "\"Kolmogorov-Arnold Networks\"",  "categories": ["cs.LG", "cs.AI"],  "sort_by": "date"}

Defaults return up to five compact results with abstract snippets. Use "abstract_mode": "full" when you need complete abstracts in the search response, or call get_abstract for a single paper after a compact search:

json
{  "paper_id": "2404.19756"}

Do not call get_abstract again for papers already returned with abstract_mode=full.

Download and read full text

Call download_paper with:

json
{  "paper_id": "2404.19756"}

Omitting max_chars returns a bounded first chunk (default 12,000 paper characters). Cached papers are returned immediately. Pass "force": true to re-download and overwrite the local markdown and sidecar (also happens automatically when the HTML extractor version changes).

Then page through the cached content with read_paper:

json
{  "paper_id": "2404.19756",  "start": 0}

Or continue from a prior chunk:

json
{  "paper_id": "2404.19756",  "start": 12000}

Large-content responses include content_length, returned_chars, next_start, is_truncated, and (when truncated) next_retrieval with the next-call instruction. Pass next_start into the next call's start to continue reading. Pass an explicit max_chars to override the default chunk size, or "return_full_text": true to opt into an unbounded full-paper response.

Read original LaTeX by section

Call get_paper_latex with:

json
{  "paper_id": "1706.03762"}

Get the first page of its section outline with list_paper_latex_sections:

json
{  "paper_id": "1706.03762",  "start": 0,  "max_sections": 100}

Then call get_paper_latex_section using an ID from that outline:

json
{  "paper_id": "1706.03762",  "section_id": "3.2",  "max_chars": 12000}

LaTeX archives are validated, size-limited, and cached locally before content is returned.

Find the code behind a paper

Call find_paper_code with:

json
{  "paper_id": "2312.00752",  "max_results": 5}

The response lists the GitHub repository and star count, the project page, the Hugging Face paper page, and up to max_results (default 5, cap 20) models, datasets, and Spaces per type. Each type also reports total, returned, and has_more. Models and datasets are ranked by Hub downloads. Spaces come from the Hugging Face paper page in the Hub's own order, without download or like counts, because the Hub API cannot filter Spaces by paper. Version suffixes are ignored, since the Hub indexes bare arXiv IDs.

A paper with nothing linked returns found: false with an explanation, not an error. If one Hub request fails, that section carries an error, a line is added to warnings, and the other results are still returned. The call fails only when every Hub request fails.

Repository and model-card text is external content and should be treated with the same care as paper text.

Optional dependencies

Choose the install variant that matches the features you need:

bash
# Base serveruv tool install arxsource-mcp
# Base server plus PDF conversionuv tool install "arxsource-mcp[pdf]"
# Base server plus local semantic searchuv tool install "arxsource-mcp[pro]"

If the base tool is already installed, reinstall the selected variant:

bash
uv tool install --force "arxsource-mcp[pdf]"

The pdf extra installs pymupdf4llm and pymupdf-layout for papers without usable arXiv HTML. The pro extra adds local embedding dependencies for semantic_search and reindex; semantic search only operates on papers already downloaded to the configured storage directory.

For older papers that require PDF conversion, run the package with its PDF extra:

json
{  "mcpServers": {    "arxsource": {      "type": "stdio",      "command": "uvx",      "args": [        "--from",        "arxsource-mcp[pdf]",        "arxsource-mcp"      ]    }  }}

Built-in prompts

ArxSource provides seven MCP prompt workflows. Prompt availability depends on the client; the server provides workflow instructions but does not run a separate model.

PromptRequired argumentsPurpose
research-discoverytopicMap terminology, searches, papers, research clusters, and a reading path
deep-paper-analysispaper_idAnalyze one paper in depth
summarize_paperpaper_idSummarize methods, results, and limitations
compare_paperspaper_idsCompare multiple papers
literature_reviewtopicSynthesize a topic and optional paper set
literature-synthesispaper_idsSynthesize themes, methods, timelines, or gaps across papers
research-questionpaper_ids, topicFormulate grounded, falsifiable research questions

Streamable HTTP

For deployments where stdio is not practical:

bash
TRANSPORT=http HOST=127.0.0.1 PORT=8080 \  uvx arxsource-mcp --storage-path /absolute/path/to/papers

PowerShell:

powershell
$env:TRANSPORT = "http"$env:HOST = "127.0.0.1"$env:PORT = "8080"uvx arxsource-mcp --storage-path C:\absolute\path\to\papers

Connect clients to:

json
{  "mcpServers": {    "arxsource": {      "type": "http",      "url": "http://127.0.0.1:8080/mcp"    }  }}

Cloud and load-balancer probes should GET http://<host>:<port>/healthz. It returns 200 with body ok once the HTTP server is listening. There is no separate /ready check: if the process is up, it is ready. The stdio transport has no HTTP endpoints.

The server binds to 127.0.0.1 by default and enables MCP DNS-rebinding protection. If a reverse proxy exposes the server, keep the process on a private interface and provide authentication and network controls upstream. Use ALLOWED_HOSTS and ALLOWED_ORIGINS for the host and origin values forwarded by the proxy.

Configuration

SettingDefaultPurpose
--storage-path~/.arxsource/papersPaper, source-cache, alert, and index storage
MAX_RESULTS50Server-side cap for result counts
ARXSOURCE_REQUEST_TIMEOUT30Per-attempt read timeout in seconds for all arXiv requests (API, HTML, PDF, LaTeX). Values ≤ 0 fall back to default.
REQUEST_TIMEOUT–Unprefixed fallback for ARXSOURCE_REQUEST_TIMEOUT, used only when the prefixed variable is not set. Values ≤ 0 fall back to the 30s default.
ARXSOURCE_CONNECT_TIMEOUT10Connection timeout in seconds for all arXiv requests. Values ≤ 0 fall back to default.
ARXSOURCE_MAX_TOTAL_TIME50Total budget in seconds for each tool call (HTML + PDF combined for download_paper). Values ≤ 0 fall back to default. Note: Very small budgets (under ~6s) may leave insufficient time for HTML-to-PDF fallback due to the process-wide 3s rate-limiter delay.
ARXSOURCE_MAX_RETRIES2Maximum retry attempts for transient failures (timeouts, connections, 429, 503)
ARXSOURCE_HTTP_406_MAX_RETRIES1Maximum retry attempts for HTTP 406 (IP-level throttling, use minimal retries)
ARXSOURCE_INITIAL_BACKOFF2.0Initial exponential backoff delay in seconds
ARXSOURCE_MAX_BACKOFF30Maximum backoff delay in seconds (Retry-After can exceed this and causes immediate rate_limited return). Values ≤ 0 fall back to default.
TRANSPORTstdiostdio, http, or streamable-http
HOST127.0.0.1HTTP bind host
PORT8000HTTP bind port
ALLOWED_HOSTSemptyAdditional accepted HTTP Host values
ALLOWED_ORIGINSemptyAdditional accepted HTTP Origin values
SEMANTIC_SCHOLAR_API_KEYemptyFree 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.

Environment variable names are case-insensitive through Pydantic settings. --storage-path is a command-line option rather than an environment setting.

Security

Paper text and LaTeX are untrusted external content. A paper can contain text intended to manipulate an AI client into ignoring its instructions or calling unrelated tools.

  • Do not treat instructions found inside a paper as trusted commands.
  • Use client approval controls for shell, browser, filesystem, and messaging tools.
  • Review generated summaries before taking external actions.
  • Keep Streamable HTTP private unless authentication is provided upstream.

See SECURITY.md for the threat model and how to report a vulnerability privately.

Development

bash
git clone https://github.com/nicolaiprodromov/arxsource.gitcd arxsourceuv sync --extra test --extra devuv run pytestuv run black --check .

Run the development checkout from an MCP client with:

json
{  "mcpServers": {    "arxsource-dev": {      "command": "uv",      "args": [        "--directory",        "/absolute/path/to/arxsource",        "run",        "arxsource-mcp"      ]    }  }}

Contributions are welcome. Read CONTRIBUTING.md before opening a pull request, and use GitHub Issues for reproducible bugs or scoped feature proposals. Release notes are in CHANGELOG.md.

Acknowledgements

ArxSource is derived from arxiv-mcp-server by Joseph Blazick, licensed under Apache-2.0; see NOTICE.

License

Apache License 2.0. See LICENSE and NOTICE.

Source: README.md at commit 3add9b3

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.0LatestNov 7, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Source integrations