Skip to main content
Glama
ckgerteis

openalex-mcp

by ckgerteis

openalex-mcp

面向 OpenAlex API(全球学术图谱)的 MCP stdio 服务器。

数据来自 OpenAlex、OurResearch。

安装

扁平布局,与服务器的部署方式一致:server.pyledger.py 并排放置,按路径运行。

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

然后将 Claude Desktop 指向 python server.py(见下文)。

Related MCP server: Crossref Academic MCP Server

工具

工具

oa_author_works

oa_cited_by

oa_get_author

oa_get_work

oa_search_authors

oa_search_institutions

oa_search_sources

oa_search_works

配置

OPENALEX_API_KEY=optional_openalex_api_key
OPENALEX_EMAIL=your_email_for_the_polite_pool

Claude 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"
      }
    }
  }
}

查询回执

每次查询都可以通过 openalex_mcp.ledger 写入一个仅追加、带哈希链的 JSONL 日志。它默认关闭,除非设置了 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 上。SDK 的 2.0.0 版本移除了 mcp.server.fastmcp;本服务器在存在 FastMCP 时导入它,在不存在时回退 到 MCPServer

许可证

MIT © 2026 Christopher Gerteis。仅涵盖服务器代码;它不授予对 OpenAlex、 OurResearch 数据的任何权利,这些数据仍受该提供商条款的管辖。

作者

Dr Christopher Gerteis,伦敦大学 亚非学院。

A
license - permissive license
Not graded
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 Servers

View all related MCP servers

Related MCP Connectors

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

  • Scholarly search: OpenAlex, Crossref, arXiv, OpenCitations and PubMed in one endpoint.

  • Auditable MCP server for PubMed, Europe PMC, ClinicalTrials.gov, and bioRxiv/medRxiv queries

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/openalex-mcp'

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