inspire-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@inspire-mcp find the paper that introduced GANs for calorimeter shower simulation"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
inspire-mcp
Ask your AI assistant about high energy physics literature, in plain language.
inspire-mcp connects assistants such as Claude to INSPIRE-HEP, the database of high energy physics papers, authors, conferences and jobs. Describe the paper you are looking for in your own words. On 40 random papers set aside before any measurement, the server puts the right one first 60% of the time on its own and 85% when Claude drives it, against 12% for the same question typed into INSPIRE's search box (how this is measured).
What you can ask
"Find the paper that introduced GANs for calorimeter shower simulation, and who cites it lately"
"What are Michela Paganini's most cited papers outside large collaborations? What is her h-index?"
"Which neutrino conferences are coming up, and where?"
"Are there open postdoc positions in lattice QCD in Europe?"
"Show me the figures of arXiv:1705.02355 and give me its BibTeX"
"Papers similar to the Randall–Sundrum paper"
"Recent LHCb papers on pentaquarks"
Every answer comes with INSPIRE links, so you can check the sources.
Related MCP server: LitSynth MCP Server
Try it in one minute
You need uv, a small Python tool runner:
# macOS and Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows (PowerShell)
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"Then search straight from the terminal, no AI client needed:
$ uvx --from "inspire-mcp[semantic]" inspire-mcp search "neural networks to speed up calorimeter shower simulation"
1. Quantum Invertible Neural Networks for Fast Calorimetry as Quantum Generative Model with high
interpretability at Future Colliders
Corchia, Federico 2026 · 0 citations · https://inspirehep.net/literature/3221332
2. CaloShowerGAN, a generative adversarial network model for fast calorimeter shower simulation
Faucci Giannelli, Michele 2024 · 33 citations · https://inspirehep.net/literature/2697185
3. On the use of neural networks for energy reconstruction in high-granularity calorimeters
Akchurin, N. 2021 · 38 citations · https://inspirehep.net/literature/1889423
...
ranked by cross-encoder:ms-marco-MiniLM-L-6-v2 from 50 INSPIRE candidates in 2.7sThe first run downloads the package and a small ranking model (about 100 MB); later runs start in
seconds. Other commands: inspire-mcp paper 1705.02355 shows one paper, inspire-mcp doctor checks
your setup.
Use it with your AI assistant
Claude Code, one command:
claude mcp add inspire -- uvx --from "inspire-mcp[semantic]" inspire-mcpClaude Desktop: open Settings → Developer → Edit Config (the file is
~/Library/Application Support/Claude/claude_desktop_config.json on macOS and
%APPDATA%\Claude\claude_desktop_config.json on Windows), add the server and restart Claude:
{
"mcpServers": {
"inspire": {
"command": "uvx",
"args": ["--from", "inspire-mcp[semantic]", "inspire-mcp"]
}
}
}Cursor, VS Code, and other MCP clients use the same command and args. Run
inspire-mcp config to print the snippets.
Tools
The assistant picks the right tool by itself; this is what it has available.
Tool | What it does | |
Papers |
| finds papers from a description in plain language |
| precise search in INSPIRE syntax ( | |
| full record: abstract, authors, journal, keywords, arXiv PDF, open-access full text | |
| papers on the same subject as a given one | |
| who cites a paper, newest or most cited first | |
| what a paper cites | |
| figures with captions and download links | |
| BibTeX or LaTeX ( | |
| papers of ATLAS, CMS, LHCb, ALICE, Belle II... | |
People |
| find an author profile |
| papers, citations, h-index, citation distribution | |
| an author's papers, optionally only those written in small teams | |
Community |
| upcoming (or past) conferences and workshops |
| upcoming seminars and online talks, with link to join | |
| open positions: postdocs, faculty, PhD, staff | |
| research institutions, location and output | |
| experiments: accelerator, dates, number of papers | |
| checks the server is up |
Lists are paginated and can return compact results to save the assistant's context. Also included:
a resource, inspire://literature/{recid}, and a prompt, literature_review, that writes a short cited
overview of a topic.
How good is the search?
Measured on papers with 20 to 200 citations picked at random from INSPIRE, each described by a question that does not repeat its title. Two sets of 40: the development set guided every design choice; the held-out set was frozen beforehand and used only to confirm, so it is the honest estimate.
Approach | Right paper first, development | Right paper first, held out |
Question typed into INSPIRE's search | 7% | 12% |
Keywords of the question, INSPIRE's ranking | 38% | 40% |
inspire-mcp semantic search, one call | 70% | 60% |
Claude Sonnet 5.5 searching INSPIRE by itself | 60% | 62% |
Claude Sonnet 5.5 with inspire-mcp | 85% | 85% |
Claude Haiku 5.5 searching INSPIRE by itself | 55% | 53% |
Claude Haiku 5.5 with inspire-mcp | 80% | 82% |
With the server, an assistant finds the paper far more often and with fewer searches: Claude Sonnet 5.5 needs 1.3 to 1.5 searches per question instead of 5 to 6, and the small Claude Haiku 5.5 with the server does better than Claude Sonnet 5.5 without it.
A second benchmark of 60 famous papers, the significance tests and the design choices that were tried and rejected are in docs/evaluation.md.
How it works
flowchart LR
Q[your question] --> K["keywords joined with OR<br/>(INSPIRE needs all words to match otherwise)"]
K --> P[(50 candidate papers<br/>from live INSPIRE)]
P --> R["cross-encoder reads the question<br/>with each title and abstract"]
R --> A[best matches, with links<br/>and how they were found]Nothing is copied or indexed: every search runs against the live INSPIRE database, and only the
ranking happens locally, on CPU. For questions about foundational work the assistant can ask for
highly cited candidates (prefer_influential), which helps find famous papers buried under their
follow-ups.
docker build --build-arg EXTRAS=semantic -t inspire-mcp:semantic . # models included, no download at runtime
docker run -p 8000:8000 -e INSPIRE_MCP_ALLOWED_HOSTS=mcp.example.org inspire-mcp:semantic
kubectl apply -f deploy/k8s/deployment.yaml # non-root, read-only filesystem, probesRelease tags publish ghcr.io/jacopotorasso/inspire-mcp:<version> (no models, 364 MB) and
:<version>-semantic (about 1 GB).
Endpoint | Purpose |
| MCP over Streamable HTTP, rate limited per client |
| liveness |
| readiness: 503 until the ranking model is loaded |
| Prometheus: calls by tool and outcome, latency histogram, readiness |
Every option is a flag or an environment variable:
Variable | Default | |
|
|
|
|
| also honours |
| public host names (DNS rebinding protection when binding to | |
|
| MCP requests per minute per client, |
|
| identify clients by |
|
|
|
|
| seconds INSPIRE answers stay cached in memory |
|
| seconds between requests to INSPIRE |
|
| embedding cache |
|
|
|
The HTTP endpoint has no authentication; see SECURITY.md.
uvx: command not found: install uv (above) and open a new terminal.The first search is slow: the ranking model is downloaded once (about 100 MB).
The assistant does not see the tools: restart the client after editing its configuration, then run
inspire-mcp doctorin a terminal.Behind a corporate proxy: set
HTTPS_PROXY; the server needs to reachhttps://inspirehep.net.Lighter install:
uvx inspire-mcp(without[semantic]) skips the models and ranks with BM25, which is noticeably less accurate.
Development
uv sync --extra semantic
uv run pytest # 68 tests, offline, about 90% coverage
uv run ruff check . && uv run mypy
uv run --extra eval python eval/run_eval.py # benchmark against live INSPIRECI runs lint, types, tests, both container images with a health probe and Kubernetes manifest validation; the benchmark runs weekly to catch regressions. See CONTRIBUTING.md and CHANGELOG.md.
License
MIT. Data comes from INSPIRE-HEP under its terms of use. This is an independent project, not affiliated with CERN or INSPIRE.
Available Tools
18 toolsexport_citationsARead-only
Citation entries generated by INSPIRE for up to 25 recids, arXiv ids or DOIs.
Args:
identifiers: the papers to cite.
style: "bibtex", "latex-eu" or "latex-us" (\bibitem entries for a LaTeX bibliography).
Inputs: identifiers (required), style. Returns: result
find_similar_papersBRead-only
Papers on the same subject as a given one (recid, arXiv id or DOI), ranked by how close their abstracts are. Useful to explore around a paper the user already knows.
Inputs: identifier (required), size. Returns: object
get_author_papersARead-only
Papers of an author (BAI, ORCID, INSPIRE author id or name), most cited first by default. Paginated.
For members of large collaborations, whose list is dominated by papers with thousands of authors,
set `max_authors` (e.g. 10) to see the work they did in small teams.Inputs: author (required), page, size, sort, +2 more. Returns: object
get_author_profileARead-only
Profile and citation metrics of an author: papers, citations, h-index and how citations are
distributed. author is an INSPIRE BAI (E.Witten.1), ORCID, INSPIRE author id or a name.
Inputs: author (required). Returns: object
get_citing_papersBRead-only
Papers that cite the given INSPIRE record (use get_paper first to find the recid). Paginated.
Inputs: recid (required), page, size, sort, +1 more. Returns: object
get_paperARead-only
Full record of one paper by INSPIRE record id, arXiv id (1207.7214, hep-th/9711200) or DOI: abstract, authors, journal, keywords, citations, arXiv PDF and open-access full texts.
Inputs: identifier (required). Returns: object
get_paper_figuresBRead-only
Figures of a paper with their captions and download links (recid, arXiv id or DOI).
Inputs: identifier (required), limit. Returns: object
get_referencesBRead-only
The INSPIRE records a paper cites, most cited first. Paginated.
Inputs: recid (required), page, size, compact. Returns: object
pingARead-only
Check that the server is running, without contacting INSPIRE.
Inputs: no named parameters. Returns: object
search_authorsBRead-only
Find author profiles by name. Returns the INSPIRE BAI used by the other author tools.
Inputs: name (required), size. Returns: object
search_collaborationBRead-only
Papers of an experimental collaboration (ATLAS, CMS, LHCb, ALICE, Belle II...), optionally narrowed by an INSPIRE query such as "t dark matter" or "date > 2023". Paginated.
Inputs: collaboration (required), page, size, sort, +2 more. Returns: object
search_conferencesBRead-only
Conferences and workshops: dates, place and website. Upcoming ones by default, soonest first.
Inputs: page, size, query, upcoming. Returns: object
search_experimentsCRead-only
Experiments (LHCb, IceCube, DUNE...): full name, accelerator, dates and number of papers.
Inputs: query (required), size. Returns: object
search_institutionsCRead-only
Research institutions: location, website and number of papers in INSPIRE.
Inputs: query (required), size. Returns: object
search_jobsBRead-only
Job openings in high energy physics (postdocs, faculty, PhD, staff), newest first.
query filters words, e.g. "postdoc lattice" or "Europe".
Inputs: page, size, query, open_only. Returns: object
search_literatureARead-only
Search INSPIRE-HEP papers with INSPIRE search syntax.
Args:
query: INSPIRE query, e.g. "t higgs and cn atlas and date > 2020". Plain words are ANDed.
size: number of results to return (1-25).
sort: "mostrecent", "mostcited", or null for the INSPIRE default ranking.
page: result page, starting at 1; continue with `next_page` from the previous response.
compact: drop abstracts and author lists to save context; fetch details with get_paper.
Inputs: query (required), page, size, sort, +1 more. Returns: object
search_seminarsBRead-only
Seminars and online talks: speakers, time zone and link to join. Upcoming ones by default.
Inputs: page, size, query, upcoming. Returns: object
semantic_searchARead-only
Find papers for a natural-language question, e.g. "the paper that proposed warped extra dimensions".
Retrieves up to `pool` candidates from INSPIRE with a relaxed query and reranks them by how well
each title and abstract answers the question (cross-encoder when installed, else embeddings or BM25).
Args:
question: the question in plain English.
size: number of results to return (1-25).
pool: candidates to rerank (10-100). Larger finds more, but is slower the first time.
prefer_influential: true when the user asks for a foundational, seminal or well-known paper:
half of the candidates then come from papers with 250+ citations. Leave false for recent
or niche work, which this would push out.
compact: drop abstracts and author lists to save context.
Inputs: question (required), pool, size, compact, +1 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 18 tools
Each tool targets a distinct resource and action: keyword search vs. natural-language semantic search, similar papers vs. citing papers vs. references, and author lookup vs. profile vs. paper list are all clearly separated by their descriptions. The only mild overlaps are search_literature (which can filter by collaboration via `cn`) against search_collaboration, and search_experiments against search_collaboration, but the descriptions resolve them.
Nearly every tool follows a verb_noun pattern (search_literature, get_citing_papers, get_author_profile, search_conferences, export_citations), with predictable `search_*` vs `get_*` semantics. Deviations are minimal: semantic_search uses noun_verb order and ping is a bare utility verb, both defensible.
18 tools is on the heavier side but justified by the breadth of the INSPIRE domain (papers, authors, collaborations, conferences, seminars, jobs, institutions, experiments). Each tool maps to a real query type rather than duplicating another, so none feel padded.
The surface covers the full read-only lifecycle: discovery (keyword, semantic, similar), retrieval (get_paper, figures), graph traversal (citations, references), export, and the adjacent entity types (authors, collaborations, conferences, seminars, jobs, institutions, experiments). Minor gaps remain, such as no single-record lookup for institutions/conferences/experiments by id and no author-level paper-search filtering beyond the paper list.
Maintenance
Related MCP Connectors
Search INSPIRE-HEP papers, authors, experiments, HEPData records; get citation metrics and BibTeX.
Research paper search with real citations and reference formatting for AI assistants
Search arXiv/Semantic Scholar/OpenAlex + medical evidence (PubMed/Europe PMC) + LaTeX/PDF tools.
Search 340M+ academic papers — citation graphs, semantic similarity, and AI literature reviews.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI-powered academic paper discovery, search, and analysis from arXiv with advanced features like semantic search, citation network analysis, and multi-format exports (BibTeX, RIS, JSON, CSV). Provides intelligent research assistance through specialized AI prompts for summarization, trend tracking, and literature review automation.17MIT
- FlicenseNot gradedqualityDmaintenanceEnables intelligent academic paper discovery through ArXiv search and AI-powered semantic similarity analysis. Helps researchers find and rank the most relevant papers using natural language queries and state-of-the-art sentence transformers.-
- FlicenseNot gradedqualityDmaintenanceEnables semantic search and conversational querying across a personal research library of PDFs, DOCX, and other documents using a vector database. It provides tools for document summarization, finding related papers, and high-accuracy retrieval for AI clients like Claude Desktop.-
- AlicenseNot gradedqualityDmaintenanceEnables natural language search and analysis of arXiv academic papers with AI-powered relevance ranking, full-text extraction, and support for multiple integrations like Claude and LangChain.MIT