arxiv-mcp-pro

v0.8.0
arxiv-mcp-pro Checked 2 days ago Published 4 months ago

A flexible arXiv search and analysis service with MCP protocol support

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_papers

Search for papers on arXiv with advanced filtering and query optimization. QUERY SEMANTICS: A bare space between terms is NOT treated as AND by the arXiv API — it ranks results loosely (closer to OR), which makes a category filter advisory rather than strict. This server joins the query, category, and date clauses with an explicit AND, so `categories` acts as a hard filter. Note that `sort_by: "date"` returns a recency firehose only weakly filtered by the query (observed in field use: near-identical result sets across different queries), so prefer `sort_by: "relevance"` (the default) for to…

ParameterTypeDescription
query *stringSearch query using quoted phrases for exact matches (e.g., '"machine learning" OR "deep learning"') or specific technical terms. Avoid overly broad or generic terms.
categoriesarrayStrongly recommended: arXiv categories to focus search (e.g., ['cs.AI', 'cs.MA'] for agent research, ['cs.LG'] for ML, ['cs.CL'] for NLP, ['cs.CV'] for vision). Greatly improves relevance.
date_fromstringStart date for papers (YYYY-MM-DD format), inclusive. Binds to the original (v1) submission timestamp — see DATE FILTERING in the tool description. Use to find recent work, e.g., '2023-01-01' for la…
date_tostringEnd date for papers (YYYY-MM-DD format), inclusive. Binds to the original (v1) submission timestamp — see DATE FILTERING in the tool description. Use with date_from to find historical work, e.g., '2…
max_resultsintegerMaximum number of results to return (default: 10, max: 50). Use 15-20 for comprehensive searches.
sort_bystringSort results by 'relevance' (most relevant first, default) or 'date' (newest first). Use 'relevance' for focused searches, 'date' for recent developments.

download_paper

Download a paper from arXiv and return its text content. Tries the HTML version first for clean extraction; falls back to PDF conversion if HTML is unavailable. Stores the paper locally with start/max_chars pagination. Large papers are returned in capped chunks by default (60000 chars unless the server's CONTENT_DEFAULT_MAX_CHARS overrides it) — check `is_truncated` and follow `next_start` to page through the rest.

ParameterTypeDescription
paper_id *stringThe arXiv ID of the paper to download (e.g. '2103.12345')
max_charsintegerMaximum raw paper characters to return from start. When omitted, the server's default cap applies (CONTENT_DEFAULT_MAX_CHARS, default 60000; 0 disables). Pass an explicit value to override.
startintegerZero-based character offset for returning large papers in chunks

list_papers

List all papers that have been downloaded and stored locally via download_paper. Returns arXiv IDs only — use read_paper to access content. Returns an empty list if no papers have been downloaded yet. Workflow: search_papers -> download_paper -> list_papers -> read_paper.

read_paper

Read the text content of a paper that was previously downloaded via download_paper. Returns the paper in markdown format with start/max_chars pagination. Large papers are returned in capped chunks by default (60000 chars unless the server's CONTENT_DEFAULT_MAX_CHARS overrides it) — check `is_truncated` and follow `next_start` to page through the rest. Will fail with a clear error if the paper has not been downloaded yet — call download_paper first. Workflow: search_papers -> download_paper -> read_paper.

ParameterTypeDescription
paper_id *stringThe arXiv ID of the paper to read
max_charsintegerMaximum raw paper characters to return from start. When omitted, the server's default cap applies (CONTENT_DEFAULT_MAX_CHARS, default 60000; 0 disables). Pass an explicit value to override.
startintegerZero-based character offset for reading large papers in chunks

get_abstract

Fetch the abstract and metadata of an arXiv paper by ID, WITHOUT downloading the full paper. Use this before download_paper to assess relevance and save tokens. Returns: title, authors, abstract, categories, published date, and PDF URL. Workflow tip: search_papers -> get_abstract (check relevance) -> download_paper (if needed) -> read_paper.

ParameterTypeDescription
paper_id *stringThe arXiv paper ID (e.g. '2401.12345' or '2404.19756')

reindex

Rebuild the local semantic index for downloaded papers.

ParameterTypeDescription
clear_existingbooleanIf true, clear the existing index before rebuilding.

citation_graph

Return papers citing an arXiv paper and papers that it references using Semantic Scholar's citation graph. NOTE: in the graph modes `citation_count`/`reference_count` count the edges RETURNED, not the paper's true totals — the default/legacy nested call is capped by Semantic Scholar at 1000 per direction, and in paginated mode they reflect the current page. For the paper's authoritative totals set `counts_only: true`: it returns `total_citations`/`total_references` (Semantic Scholar's scalar citationCount/referenceCount) with no edge lists — one endpoint, a small fixed payload. In paginate…

ParameterTypeDescription
paper_id *stringarXiv ID (for example: 2401.12345).
compactbooleanDrop author lists and nested external_ids, return minified id+title edges (lower token cost).
counts_onlybooleanReturn ONLY the paper's true citation/reference totals as `total_citations`/`total_references` (Semantic Scholar scalar counts) with no edge lists — one endpoint, a small fixed payload. Takes preced…
limitintegerMax edges per direction (opt-in pagination; uses Semantic Scholar's paginated endpoints). Omit for legacy full output.
offsetintegerPagination offset (applies only together with `limit` or `compact`).

library_influence

Descriptive influence panel over your locally-downloaded library. Builds the induced citation subgraph (A->B when downloaded paper A references downloaded paper B) and returns a side-by-side panel of signals per paper: personalised local PageRank, local in-library citation count, Semantic Scholar global citationCount / influentialCitationCount, the max author h-index, whether code appears available, and a `local_vs_global_delta` disagreement signal (positive = ranks higher locally than globally = a corpus-specific hidden gem). Operates on the whole local library by default; restrict with `pape…

ParameterTypeDescription
compactbooleanReturn minified JSON (lower token cost), mirroring citation_graph's compact convention.
paper_idsarrayRestrict the panel to this subset of arXiv IDs. Omit to use the entire local library.
top_kintegerMaximum number of rows to return, ranked by local PageRank descending (default: 20).

watch_topic

Save or update a persistent research topic watch. When checked via check_alerts, returns only papers published since the last check — acting as a standing alert for new work on a topic. The topic string uses the same query syntax as search_papers (quoted phrases, field specifiers, boolean operators). Examples: '"diffusion models" AND ti:"video generation"', 'au:"LeCun" AND cs.LG'. Calling watch_topic with the same topic string updates the existing watch rather than creating a duplicate. Pair with check_alerts to poll for new papers.

ParameterTypeDescription
topic *stringQuery string to monitor. Uses arXiv search syntax — quoted phrases for exact matches, field specifiers (ti:, au:, abs:), and boolean operators (AND, OR, ANDNOT). Example: '"reinforcement learning" A…
categoriesarrayOptional arXiv category filter (e.g. ['cs.LG', 'cs.AI']). Narrows results to specific fields.
max_resultsintegerMaximum papers to return per alert check (default: 10).

check_alerts

Check all saved topic watches for newly published papers since the last check. Omitting the topic parameter runs ALL saved watches and returns new papers for each. Passing a topic string checks only that specific watch. Updates each watch's last_checked timestamp after a SUCCESSFUL check, so subsequent calls only return newer papers. Topics are checked independently: if one topic's search fails (e.g. a transient arXiv error or rate limit), its entry carries an `error` field with `new_paper_count: 0` and its last_checked is left unchanged so it retries next call, while the other topics still re…

ParameterTypeDescription
topicstringOptional: check only this specific watched topic (must match the topic string used in watch_topic exactly). Omit to check all saved watches.