INSPIRE-HEP MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add inspirehep -- uvx --from git+https://github.com/hajifkd/inspirehep-mcp inspirehep-mcp
README.md

Search for high-energy physics literature on INSPIRE-HEP

inspirehep-mcp

INSPIRE-HEP (https://inspirehep.net) の文献検索を提供する、Python 製の MCP サーバーです。

Features

  • inspirehep_search_by_title: タイトル文字列で論文検索
  • inspirehep_search_by_fulltext: 本文(full text)キーワードで論文検索
  • inspirehep_search_by_author: 著者名で論文検索
  • どちらのツールもデフォルトで巨大コラボ論文を除外(large_collaboration=false
  • 返却項目を最小化してコンテキスト消費を抑制
    • title
    • authors
    • abstract
    • year
    • citation_count
    • arxiv_url (存在する場合のみ)

Setup

uv sync

Run (stdio MCP server)

uv run inspirehep-mcp

or

uvx --from git+https://github.com/hajifkd/inspirehep-mcp inspirehep-mcp

Run with MCP Inspector

npx -y @modelcontextprotocol/inspector uv run inspirehep-mcp

ターミナルに表示される URL をブラウザで開いてテストできます。

Tool Inputs

共通:

  • large_collaboration (default: false)
  • sort_by_citation (default: true)
    • true: citation数順
    • false: 日付の新しい順
  • year (optional, 例: 2020)
  • limit (default: 20)

タイトル検索:

  • title (required)

本文検索:

  • fulltext (required)

著者検索:

  • author (required, string配列)

Test

uv run pytest

Tools (3)

inspirehep_search_by_titleSearch for academic papers using a title string.
inspirehep_search_by_fulltextSearch for academic papers using full-text keywords.
inspirehep_search_by_authorSearch for academic papers by author name.

Configuration

claude_desktop_config.json
{"mcpServers": {"inspirehep": {"command": "uvx", "args": ["--from", "git+https://github.com/hajifkd/inspirehep-mcp", "inspirehep-mcp"]}}}

Try it

Find recent high-energy physics papers about quantum gravity published in 2023.
Search for papers authored by Edward Witten and sort them by citation count.
Find papers with 'dark matter' in the full text, excluding large collaborations.
Search for the paper titled 'The Large Hadron Collider' and provide the abstract and arXiv link.

Frequently Asked Questions

What are the key features of INSPIRE-HEP?

Search literature by title, author, or full-text keywords. Filter results by publication year and collaboration size. Sort results by citation count or publication date. Optimized data retrieval including abstracts, authors, and arXiv links.

What can I use INSPIRE-HEP for?

Quickly retrieving abstracts and citation counts for physics research papers. Filtering academic literature to exclude massive collaboration papers. Automating literature reviews by fetching metadata directly into Claude. Finding specific arXiv links for high-energy physics publications.

How do I install INSPIRE-HEP?

Install INSPIRE-HEP by running: uvx --from git+https://github.com/hajifkd/inspirehep-mcp inspirehep-mcp

What MCP clients work with INSPIRE-HEP?

INSPIRE-HEP works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep INSPIRE-HEP docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare