Skip to main content
Glama
ckgerteis

semantic-scholar-mcp

by ckgerteis

semantic-scholar-mcp

MCP stdio server for the Semantic Scholar Academic Graph API.

Data via Semantic Scholar, Allen Institute for AI.

Install

Flat layout, matching how the server is deployed: server.py and ledger.py side by side, run by path.

python -m venv .venv && .venv/bin/pip install -e .

Then point Claude Desktop at python server.py (see below).

Tools

Tool

s2_author_papers

s2_batch_papers

s2_citations

s2_get_author

s2_get_paper

s2_recommend_multi

s2_recommend_single

s2_search_authors

s2_search_papers

Configuration

SEMANTIC_SCHOLAR_API_KEY=your_semantic_scholar_api_key

Claude Desktop

{
  "mcpServers": {
    "semantic-scholar": {
      "command": "C:\\path\\to\\.venv\\Scripts\\python.exe",
      "args": ["C:\\path\\to\\semantic_scholar_mcp\\server.py"],
      "env": {
        "SEMANTIC_SCHOLAR_API_KEY": "your_semantic_scholar_api_key"
      }
    }
  }
}

Query receipts

Every query can be deposited to an append-only, hash-chained JSONL log by semantic_scholar_mcp.ledger. It is off unless MCP_RECEIPT_LOG is set, and a logging failure is swallowed rather than raised — a search matters more than the record of it. Secrets are redacted before a line is composed.

MCP_RECEIPT_LOG=C:\path\to\receipts.jsonl
MCP_RECEIPT_SESSION=project-or-article-slug
MCP_RECEIPT_STRICT=1        # optional: make logging failure raise

Verify a deposited log's hash chain:

python ledger.py verify receipts.jsonl

MCP SDK compatibility

Runs on both mcp 1.x and 2.x. Version 2.0.0 of the SDK removed mcp.server.fastmcp; this server imports FastMCP where it exists and falls back to MCPServer where it does not.

License

MIT © 2026 Christopher Gerteis. Covers the server code only; it grants no rights over Semantic Scholar, Allen Institute for AI data, which remains governed by that provider's terms.

Author

Dr Christopher Gerteis, SOAS University of London.

-
license - not tested
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • Academic research MCP server for paper search, citation checks, graphs, and deep research.

  • Semantic Scholar Academic Graph MCP.

  • MCP server for Altmetric APIs - track research attention across news, policy, social media, and more

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ckgerteis/semantic-scholar-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server