openalex-mcp
MCP stdio сервер для OpenAlex API (глобальный научный граф).
Данные через OpenAlex, OurResearch.
Установка
Плоская структура, соответствующая тому, как развёрнут сервер: server.py и ledger.py рядом друг с другом, запускаются по пути.
python -m venv .venv && .venv/bin/pip install -e .Затем укажите Claude Desktop на python server.py (см. ниже).
Related MCP server: mcp-openalex
Инструменты
Инструмент |
|
|
|
|
|
|
|
|
Конфигурация
OPENALEX_API_KEY=optional_openalex_api_key
OPENALEX_EMAIL=your_email_for_the_polite_poolClaude Desktop
{
"mcpServers": {
"openalex": {
"command": "C:\\path\\to\\.venv\\Scripts\\python.exe",
"args": ["C:\\path\\to\\openalex_mcp\\server.py"],
"env": {
"OPENALEX_API_KEY": "optional_openalex_api_key",
"OPENALEX_EMAIL": "your_email_for_the_polite_pool"
}
}
}
}Квитанции запросов
Каждый запрос может быть помещён в журнал JSONL с хеш-цепочкой, доступный только для добавления, с помощью openalex_mcp.ledger. Он выключен, если не задан MCP_RECEIPT_LOG, и сбой журналирования подавляется, а не возбуждается — поиск важнее, чем запись о нём. Секреты вымарываются до составления строки.
MCP_RECEIPT_LOG=C:\path\to\receipts.jsonl
MCP_RECEIPT_SESSION=project-or-article-slug
MCP_RECEIPT_STRICT=1 # optional: make logging failure raiseПроверьте хеш-цепочку сохранённого журнала:
python ledger.py verify receipts.jsonlСовместимость с MCP SDK
Работает как на mcp 1.x, так и 2.x. Версия 2.0.0 SDK удалила mcp.server.fastmcp; этот сервер импортирует FastMCP, где он существует, и возвращается к MCPServer, где его нет.
Лицензия
MIT © 2026 Christopher Gerteis. Распространяется только на код сервера; он не даёт никаких прав на данные OpenAlex, OurResearch, которые остаются подчинёнными условиям этого провайдера.
Автор
Dr Christopher Gerteis, SOAS University of London.
Available Tools
8 toolsoa_author_worksARead-onlyIdempotent
Works by one author, with optional year filter and sort. Returns the unified envelope. A filter on an identifier, not a term search.
Inputs: params (required). Returns: result
oa_cited_byARead-onlyIdempotent
Works that cite a given work, most-cited first. Returns the unified envelope. This is a filter on an identifier, not a term search, so no searched_for headline is set.
Inputs: params (required). Returns: result
oa_get_authorARead-onlyIdempotent
Look up one author by OpenAlex ID or ORCID. Returns the unified envelope with a single author item, or NOT_FOUND.
Inputs: params (required). Returns: result
oa_get_workARead-onlyIdempotent
Look up one work by OpenAlex ID, DOI, or PMID. Returns the unified envelope with a single item, or NOT_FOUND.
Inputs: params (required). Returns: result
oa_search_authorsBRead-onlyIdempotent
Search OpenAlex for authors by name. Returns the unified envelope; each item is an author record (record_type author) with affiliations, work and citation counts, and h-index in extra.
Inputs: params (required). Returns: result
oa_search_institutionsARead-onlyIdempotent
Search OpenAlex for institutions. Returns the unified envelope (record_type institution); useful for finding institution IDs to filter work searches.
Inputs: params (required). Returns: result
oa_search_sourcesBRead-onlyIdempotent
Search OpenAlex for sources: journals, repositories, conferences. Returns the unified envelope (record_type source).
Inputs: params (required). Returns: result
oa_search_worksARead-onlyIdempotent
Search OpenAlex for scholarly works (articles, books, datasets, theses). Returns the unified envelope.
OpenAlex matches title, abstract and indexed full text with stemming, so result.total is a loose count (matching_mode full_text_stemmed) and a high breadth is expected. Titles are typed by OpenAlex's own language field; where that is absent, a CJK title is kept only in extra.title rather than guessed into ja or ko. Filters by year, author, institution, source and open-access status narrow the set exactly. OpenAlex charges per call, not per result: a sweep that pages through results should set per_page 200.
Inputs: params (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a clearly distinct resource and action: single-record lookups (oa_get_work, oa_get_author), term searches over distinct entity types, and identifier-based traversals (oa_cited_by, oa_author_works). The descriptions explicitly distinguish identifier filters from term searches, so an agent can reliably choose the right tool.
All eight tools follow a consistent oa_ + verb_noun pattern (oa_get_work, oa_search_authors, oa_cited_by, oa_author_works). The shared oa_ namespace prefix and uniform snake_case make the set predictable.
Eight tools is well-scoped for a read-oriented scholarly metadata API, covering the major entity types without redundant operations. Each tool earns its place by serving a distinct query pattern.
The surface covers work lookup/search, author lookup/search/works, source search, institution search, and citation traversal, which handles most research workflows. Minor gaps remain: no direct get-by-ID for sources or institutions, and no explicit references or related-works operation.
Maintenance
Related MCP Connectors
Search OpenAlex scholarly works with citation counts and DOIs via a hosted read-only MCP server.
Unofficial OpenAlex MCP — wraps the OpenAlex API (scholarly works, free, no auth)
Search 250M+ scholarly papers, authors, institutions, citation trends, and funders via OpenAlex.
Search 250M+ academic works, citation graphs, DOIs, and institutional research via OpenAlex.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server enabling AI agents to search and retrieve scientific papers, citations, and author profiles from Crossref, OpenAlex, and Semantic Scholar with no API keys required.53MIT
- AlicenseAqualityDmaintenanceMCP server for the OpenAlex scholarly database, providing AI agents with tools to search and retrieve academic works, authors, and institutions via natural language queries.8MIT
- FlicenseNot gradedqualityNot gradedmaintenanceMCP server for academic research using the OpenAlex API, enabling article search, details retrieval, and author profile lookup.-
- AlicenseNot gradedqualityCmaintenanceAn MCP server for searching and exploring OpenAlex's index of 250M+ scholarly works, authors, institutions, journals, funders, and grants through Claude.1MIT