Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Access the OpenAlex academic research catalog — 270M+ publications.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
OPENALEX_CLAMP_PER_PAGE, OPENALEX_FILTER_STRING_INPUT, OPENALEX_API_KEY, OPENALEX_MAILTO, OPENALEX_BASE_URL, MCP_LOG_LEVEL你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://openalex.caseyjhand.com/mcp打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"openalex": {
"command": "npx",
"args": [
"-y",
"@cyanheads/openalex-mcp-server"
],
"env": {
"OPENALEX_CLAMP_PER_PAGE": "your-value",
"OPENALEX_FILTER_STRING_INPUT": "your-value",
"OPENALEX_API_KEY": "your-value",
"OPENALEX_MAILTO": "your-value",
"OPENALEX_BASE_URL": "your-value",
"MCP_LOG_LEVEL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http openalex https://openalex.caseyjhand.com/mcpclaude mcp add openalex --env OPENALEX_CLAMP_PER_PAGE=your-value --env OPENALEX_FILTER_STRING_INPUT=your-value --env OPENALEX_API_KEY=your-value --env OPENALEX_MAILTO=your-value --env OPENALEX_BASE_URL=your-value --env MCP_LOG_LEVEL=your-value -- npx -y @cyanheads/openalex-mcp-server运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"openalex": {
"url": "https://openalex.caseyjhand.com/mcp"
}
}
}粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"openalex": {
"command": "npx",
"args": [
"-y",
"@cyanheads/openalex-mcp-server"
],
"env": {
"OPENALEX_CLAMP_PER_PAGE": "your-value",
"OPENALEX_FILTER_STRING_INPUT": "your-value",
"OPENALEX_API_KEY": "your-value",
"OPENALEX_MAILTO": "your-value",
"OPENALEX_BASE_URL": "your-value",
"MCP_LOG_LEVEL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"openalex": {
"type": "http",
"url": "https://openalex.caseyjhand.com/mcp"
}
}
}粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"openalex": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/openalex-mcp-server"
],
"env": {
"OPENALEX_CLAMP_PER_PAGE": "your-value",
"OPENALEX_FILTER_STRING_INPUT": "your-value",
"OPENALEX_API_KEY": "your-value",
"OPENALEX_MAILTO": "your-value",
"OPENALEX_BASE_URL": "your-value",
"MCP_LOG_LEVEL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://openalex.caseyjhand.com/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
OPENALEX_CLAMP_PER_PAGE envOPENALEX_FILTER_STRING_INPUT envOPENALEX_API_KEY envOPENALEX_MAILTO envOPENALEX_BASE_URL envMCP_LOG_LEVEL env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
工具名称和描述与服务器在 2026年11月7日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
openalex_resolve_nameResolve a name or an identifier to an OpenAlex ID. ALWAYS use this before filtering by entity — names are ambiguous, IDs are not. A name returns up to 10 autocomplete matches with disambiguation hints. An identifier — OpenAlex ID, DOI, ORCID, ROR, PMID, or ISSN, bare or in URL fo
openalex_search_entitiesSearch, filter, sort, or retrieve by ID. Covers all OpenAlex entity types (works, authors, sources, institutions, topics, keywords, publishers, funders, awards). Pass `id` to retrieve a single entity. Otherwise, use `query` and/or `filters` for discovery. Filters take a record ob
openalex_analyze_trendsAggregate OpenAlex entities into groups and count them. Use for trend analysis (group works by publication_year), distribution analysis (group by oa_status, type, country), and comparative analysis (group by institution or topic). Combine with filters to scope the analysis. Retur
openalex_get_citation_graphWalk the citation graph one hop from a seed work. Direction picks the edge: incoming citations (`cites`), the seed's own references (`cited_by`), or OpenAlex's algorithmically-related works (`related_to`). Note: `direction` follows OpenAlex's filter convention, which inverts the
openalex_describe_fieldsList valid field names for an OpenAlex entity type and context (filter, group_by, or select). Use proactively before constructing a filter or group_by to avoid invalid-field 400 errors. Pass `query` to rank the list by name similarity — useful when you have a partial or guessed f
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 cyanheads 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
在 199 毫秒内响应(HTTP 200)
无需登录
已读取 5 个工具描述,未发现针对 AI 的隐藏指令
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
两种方式都可以:安装在你的电脑上,或者连接云端版本。
GitHub 仓库最后更新于–,最新版本(0.11.0)于10天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
@cyanheads/openalex-mcp-server Access the OpenAlex academic research catalog — 270M+ publications — via MCP. STDIO or Streamable HTTP. 5 Tools • 2 Prompts
Public Hosted Server: https://openalex.caseyjhand.com/mcp
Scholarly catalog data from OpenAlex — 270M+ works, 90M+ authors, 100K+ sources, plus institutions, topics, keywords, publishers, funders, and awards. Search, filter, and aggregate across all nine entity types, resolve ambiguous names to canonical IDs, and walk the citation graph one hop at a time.
| Tool | Description |
|---|---|
openalex_search_entities | Search, filter, sort, or retrieve by ID across all 9 entity types |
openalex_analyze_trends | Group-by aggregation for trend and distribution analysis |
openalex_resolve_name | Resolve a name or an identifier (DOI, ORCID, ROR, PMID, ISSN, OpenAlex ID) to an OpenAlex ID |
openalex_get_citation_graph | Walk the citation graph one hop from a seed work: cites, cited_by, or related_to |
openalex_describe_fields | List valid filter, group_by, and select field names for an entity type |
| Prompt | Description |
|---|---|
openalex_literature_review | Guides a systematic literature search: formulate query, search, filter, analyze citation network, synthesize findings |
openalex_research_landscape | Analyzes the research landscape for a topic: volume trends, top authors/institutions, open access rates, funding sources |
The server also publishes an agent skill, openalex-guide (skill://openalex-guide/SKILL.md, source in skills/openalex-guide/): which filter key answers the question, how to read group_by counts, where each ID type comes from, and how to pin an author without picking a namesake. It ships in the npm package, the Docker image, the .mcpb bundle, and plugin installs.
openalex_search_entities toolid: an OpenAlex ID, DOI, ORCID, ROR, PMID, ISSN, or PMCID, bare or as a URL (OpenAlex record-page and API URLs such as https://openalex.org/works/W2741809807 included), or a keyword by its slug or URL. Under entity_type: "funders", a Crossref Funder Registry DOI (10.13039/…) also resolvesid takes precedence: search parameters passed alongside it are dropped, and the response names which onesid with characters past the identifier (W2741809807#x still returns W2741809807), and a funder DOI, which each bill as one list callid_type_mismatch (an OpenAlex ID of another entity type) or id_dot_segment (a . or .. path segment); a ?, #, \, tab, or line break inside an identifier is percent-encoded, so SICI DOIs ending in # resolveentity_type: "awards" reaches grants (G… IDs), which openalex_resolve_name does not look up since OpenAlex has no award autocompleteexact and semantic search modes — semantic ranks a query-dependent candidate set at ~1 req/sec (up to 50 per page), and its meta.count reports the candidate count rather than a match totalfilters accepts a record object or an unambiguous native string ("issn:0920-8542"), including through the filter alias. Conversion is disclosed in notice; commas outside paired double quotes separate clauses, and the first colon separates a key from its value, preserving DOI/URL colons and quoted comma phrases. Exact duplicate keys, bare fragments, and unmatched quotes are rejected with record-form recovery guidance. A record holds one value per key; distinct aliases of the same upstream field still AND together. Set OPENALEX_FILTER_STRING_INPUT=false to require record objects. Native strings apply only to this tool's filters, with the record form remaining the advertised schemaunmatched_quote_in_filter_value); citation filters are checked before the seed lookup. Balanced search phrases such as "graph neural" networks remain valid, including .search.exact. A value sent double-quoted still cannot contain its own interior double quote (quote_in_filter_value)|), AND within a field (+), NOT (!), ranges, comparisons| with an AND (a +, or a space between IDs or codes): OpenAlex would silently drop the AND-ed alternatives, so DE|FR+US and authorships.author.id: A1 A2|A3 fail as mixed_and_or_in_filter_value before any request. Put the AND in a second key instead (institutions.country_code: US beside authorships.institutions.country_code: DE|FR on works)display_name, awards.funder_display_name, awards.funder_award_id, geo.city, geo.region, raw_affiliation_strings, block_key, biblio fields) are sent double-quoted, so a value with spaces or commas matches as one phrase (awards.funder_display_name: National Science Foundation). ! and | still work (geo.city: New York|Boston); + cannot AND it with another value.search values and whole-text fields; anywhere else it fails as comma_in_filter_value (use | for OR)+ is a literal character in .search values, DOIs, dates, URLs, exactly matched names (C++, Erasmus+), biblio fields (issue 1+2), and awards.funder_award_idquote_in_filter_valuefilters:country_code, country_codes, or countries): ISO alpha-3 codes, numeric codes, and English names (ISO's or OpenAlex's own facet labels, such as Ivory Coast) become alpha-2 (DEU, 276, Germany → DE; UK → GB). A value that cannot be a country (Germanyy, 999, DE US) fails as invalid_country_code before any requestlanguage: ISO 639-2 codes and English names become ISO 639-1 (eng, English → en; Cebuano → ceb)|/+ segment converts on its own (South Korea|Japan → KR|JP); anything else (null, XK, zh-cn, the countries/DEU path form) is sent as givenselect returns a curated per-entity-type default unless overridden, or ["*"] for the full record; invalid field names error with the valid set. On works, author_list returns each author in authorship order as {id, display_name, orcid} — about a tenth the size of authorships, which adds institutions and affiliations — and is never part of the default or ["*"]page (1-based) instead, up to 50 per page, and mixing either knob with the wrong search_mode is rejected before the upstream callsample (up to 10,000) plus a deterministic seed for reproducible random sampling; keyword and exact modes only, and never alongside sort or cursor — OpenAlex does not sample a semantic search and refuses a sorted sample, so those combinations are rejected before the upstream call. per_page defaults to min(sample, 100), so a sample of 100 or fewer returns whole in one call; a larger one is walked with page and a seed (sample_page_without_seed without one), up to record 10,000 (sample_page_too_deep past it)per_page records, whole, and an id lookup returns every selected array whole; slice: {field, offset, limit} on an id lookup pages one array by count (limit default 50, clamped to 5,000). A response over 8,000,000 bytes on either surface (structuredContent, or content[] text) fails as response_too_large and names a per_page or slice.limit that fits, or a narrower selectauthorships or author_list entries is flagged as possibly capped, with an id + slice call to retrieve more stored authors. Singleton lookups and snapshots retain at most 5,000 authorships per work; at that ceiling both author fields remain possibly capped on every slice. total counts stored entries rather than a complete byline, and next becomes null when those entries are exhausted. Another OpenAlex fetch or snapshot cannot recover authors beyond the storage ceilingnotice, a log, and a counter: per_page above 100 (200 on analysis, 50 under semantic search), slice.limit above 5,000, and sample above 10,000. Set OPENALEX_CLAMP_PER_PAGE=false to reject each over its cap instead. Zero, negatives, and fractions always reject. An id ignores page sizedisplay_name is nullable for untitled records; every call reports OpenAlex daily-budget cost and remaining balanceopenalex_analyze_trends toolfilters to scope the population before aggregationorder: "count" (default) returns the top-N by count with no further pages; order: "key" enumerates distinct values key-ascending with cursor pagination. Boolean fields keep count order even with "key" and do not support cursor pagination. A supplied cursor selects key order even when order is omitted or "count". OpenAlex can wrap a key-ordered walk to earlier groups: stop when a page's first key repeats an earlier key, or when a page is short or empty, even if next_cursor is still present只显示了开头部分;其余内容请在仓库中阅读