OpenAlex MCP server for AI agents

Live

OAUTH 2.1

SCHOLARLY RESEARCH

Search

OpenAlex MCP gives your agent OpenAlex's own MCP server through Scalekit: search scholarly works and entities, look up works and citations, group and analyze results with OQL, and resolve references.

  • Per-user credentials: each call uses the actual user's token, never a shared bot.
  • Encrypted per-tenant vault: AES-256, resolved at request time, never in LLM context.
  • Scoped before every call: pre-call scope check, 90-day SIEM-exportable audit chain.
OpenAlex MCP
agent · Acme Q3
Run
Find recent papers on retrieval augmented generation.
S
openalexmcp_search_works
1450ms
Research agent
Searched OpenAlex works and returned the most relevant recent papers with their authors and publication years.
Sources: OpenAlex works, 1 search
openalexmcp
10 works
18:29
Message Claude...

Tools your scholarly research agent reaches for on OpenAlex MCP, scoped per user.

CALL ANY TOOL
18 tools for scholarly research in OpenAlex MCP: search works and entities, list citations, analyze and group works with OQL, resolve references, and curate author profiles.
openalexmcp_analyze_works
Analyze works
Build a one-call profile of any set of works defined by a query and/or filters: an institution's output, a funder's portfolio, an author's career, a topic, a country, a journal. Returns total works, open-access share by status, share of works in the top 10% and top 1% most-cited (field-normalized), counts by year and by type, and the top fields, topics, institutions, countries, sources, funders and authors, plus international and industry collaboration shares. Use it for research-office, library, and funder reporting questions ("summarize our 2024 research", "how much of NIH-funded work at UW is open access", "who does MIT collaborate with on AI"). Pick sections to keep the response small. Keyword queries only (no semantic mode). Each section costs one cheap API call.
Parameters
Name
Type
Required
Description
any_topic_ids
array
Optional
OpenAlex topic IDs (OR): works that carry one of these among ANY of their topics, primary or not (typically ~3x as many works as topic_ids). OQL: `where topics is (T10102)`.
author_ids
array
Optional
OpenAlex author IDs (e.g. A5067184382). Resolve names with search_entities first.
core_sources_only
boolean
Optional
Only works published in 'core' sources: reputable, well-indexed journals and repositories (see https://help.openalex.org/data/sources/). Useful to exclude low-quality venues.
countries
array
Optional
ISO-3166 alpha-2 country codes of author institutions (OR), e.g. ["US","GB"]. Not supported with semantic search.
from_year
integer
Optional
Earliest publication year, inclusive (e.g. 2020).
funder_ids
array
Optional
OpenAlex funder IDs (e.g. F4320332161).
include_retracted
boolean
Optional
Include retracted works. Default false: retracted works are hidden and the response says so (retracted_works). Also honoured with oql, where the default leaves them out unless the query says otherwise (the echo then reads `it's not retracted`, or `non-retracted works` in the new form).
institution_ids
array
Optional
OpenAlex institution IDs (e.g. I27837315). Matches any author's affiliation.
is_traditional
boolean
Optional
true = only traditional scholarly works: the kinds the scholarly record has long counted (articles, books, chapters, theses, conference papers, preprints, reviews, editorials, letters...). false = only the rest (datasets, software, reports, abstracts, paratext...). Not the same as peer-reviewed: preprints and editorials are traditional.
keyword_ids
array
Optional
OpenAlex keyword ids (e.g. microplastics, human-health), any of them (OR). Find them with find_keywords. Keywords widen a text search; they do not replace it.
language
string
Optional
ISO-639-1 language code, e.g. "en".
min_citations
integer
Optional
Minimum cited_by_count. Not supported with semantic search.
oa_status
array
Optional
Only these open-access statuses (OR).
open_access_only
boolean
Optional
Only works with a free-to-read copy.
publisher_ids
array
Optional
OpenAlex publisher IDs (e.g. P4310319908).
query
string
Optional
Optional keyword search text (Boolean supported).
raw_filter
string
Optional
Escape hatch: extra OpenAlex filter expression appended verbatim, using the syntax documented at https://help.openalex.org/api/filtering/ (e.g. "has_abstract:true,primary_topic.field.id:17"). Combined with the structured filters above using AND.
search_in
string
Optional
Where keyword/exact queries match. title_abstract_keywords (default, what openalex.org searches) matches title and abstract text, and also works tagged with a keyword that a phrase in the query names (catches other wordings, other languages and works with no abstract; every other word must still be in the text); title_and_abstract matches the text only; fulltext also matches the body text of ~100M works, plus keywords (broader, more noise; large reviews that merely mention a term will rank high); title matches titles only. Ignored for semantic mode. One of: `title_abstract_keywords`, `title_and_abstract`, `fulltext`, `title`.
sections
array
Optional
Which sections to compute. Default: all.
source_ids
array
Optional
OpenAlex source (journal/repository) IDs (e.g. S137773608).
to_year
integer
Optional
Latest publication year, inclusive.
top_n
integer
Optional
How many entries per top_* list. Default 10.
topic_ids
array
Optional
OpenAlex topic IDs (e.g. T10102), any of them (OR): works whose PRIMARY topic is one of these. Same meaning as OQL's `in the topic`, group_by topic and analyze_works top_topics. For works that carry the topic among any of their (up to 3) topics, use any_topic_ids.
types
array
Optional
Only these work types (OR). Common: article, review, preprint, book-chapter, dataset.
openalexmcp_calculate_works
Calculate works
openalexmcp_check_oql
Check oql
openalexmcp_claim_author_profile
Claim author profile
openalexmcp_find_candidate_works
Find candidate works
openalexmcp_find_keywords
Find keywords
openalexmcp_get_entity
Get entity
openalexmcp_get_my_account
Get my account
openalexmcp_get_work
Get work
openalexmcp_group_works
Group works
openalexmcp_keyword_search
Search keyword
openalexmcp_list_citations
List citations
openalexmcp_list_my_curations
List my curations
openalexmcp_read_docs
Read docs
openalexmcp_resolve_references
Resolve references
openalexmcp_search_entities
Search entities
openalexmcp_search_works
Search works
openalexmcp_submit_curations
Submit curations
Build your Agent
Same auth pattern across LangChain, OpenAI, Anthropic, and Google ADK.
Python · LlamaIndex
import { ScalekitClient } from "@scalekit-sdk/node";
import { createReactAgent } from "@langchain/langgraph/prebuilt";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

// OpenAlex tools scoped to this user
const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["openalexmcp"], toolNames: [
    "openalexmcp_search_works",
    "openalexmcp_list_citations",
    "openalexmcp_get_work"] },
  pageSize: 100,
});

const agent = createReactAgent({ llm, tools });
await agent.invoke({ messages: [{ role: "user", content: "Find recent papers on retrieval augmented generation and list the works that cite the top result" }] });
import OpenAI from "openai";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const openai = new OpenAI();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["openalexmcp"] }, pageSize: 100,
});

const res = await openai.chat.completions.create({
  model: "gpt-5",
  messages: [{ role: "user", content: "Find recent papers on retrieval augmented generation and list the works that cite the top result" }],
  tools,
});

// Execute the tool call with the user's vaulted OpenAlex OAuth token
await sk.tools.executeTool(res.choices[0].message.tool_calls[0], "user_123");
import Anthropic from "@anthropic-ai/sdk";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);
const anthropic = new Anthropic();

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["openalexmcp"] }, pageSize: 100,
});

const msg = await anthropic.messages.create({
  model: "claude-sonnet-5",
  max_tokens: 1024,
  messages: [{ role: "user", content: "Find recent papers on retrieval augmented generation and list the works that cite the top result" }],
  tools,
});

// Tool call runs with the user's vaulted OpenAlex OAuth token
await sk.tools.executeTool(msg.content, "user_123");
import { Agent } from "@google/adk/agents";
import { ScalekitClient } from "@scalekit-sdk/node";

const sk = new ScalekitClient(env.SCALEKIT_ENV_URL, env.SCALEKIT_CLIENT_ID, env.SCALEKIT_CLIENT_SECRET);

const { tools } = await sk.tools.listScopedTools("user_123", {
  filter: { connectionNames: ["openalexmcp"] }, pageSize: 100,
});

const agent = new Agent({
  name: "research_agent",
  model: "gemini-2.5-pro",
  instruction: "OpenAlex tools scoped to this user",
  tools,
});

await agent.run("Find recent papers on retrieval augmented generation and list the works that cite the top result");
Try these prompts
Copy any prompt into your agent. Each maps directly to a OpenAlex MCP tool. Click to copy, paste into your agent, done.
Search works
Copy the prompt
Copied
Find recent papers on retrieval augmented generation.
Copy the prompt
Copied
Look up this work by its DOI.
Copy the prompt
Copied
List the works that cite this paper.
Analyze and group
Copy the prompt
Copied
Profile the research output of this institution.
Copy the prompt
Copied
Group works on climate adaptation by year.
Copy the prompt
Copied
Check this OQL query before I run it.
References and my profile
Copy the prompt
Copied
Check these 10 references against OpenAlex.
Copy the prompt
Copied
Show my OpenAlex account.
Copy the prompt
Copied
List the curations I have submitted.
SEE HOW AUTH WORKS
Each user signs in to OpenAlex MCP once, and Scalekit stores and refreshes their tokens. Credentials stay vaulted, every call is scope checked, and every action is logged.
1
Authorize
Your user connects
OpenAlex MCP
once. We tie it to their identity and the access they approved, with no shared bot account and no org-wide access
Who:
user ‘A’
when:
Once per user
access:
Limited to user
2
Store
Their
OpenAlex MCP
credential lives in a vault scoped to them. User A's data is never reachable by an agent acting for user B, even on the same connection
vault:
encrypted
scope:
per-user
tenants:
isolated
3
Resolve
When your agent calls a
OpenAlex MCP
tool, we fetch the right credential server-side. It never touches your agent, never appears in the LLM context, never shows up in your logs
speed:
~40ms
check:
before every call
seen by:
nobody
4
Audit
Every
OpenAlex MCP
tool call is logged: who triggered it, which tool ran, what came back. 90 days of history, tied to the user who authorized it
history:
90 days
export:
SIEM-ready
logged:
every call
Test other agents
See the same per-user auth pattern across other search connectors.
GTM and RevOps Teams
Competitive intelligence briefing agent
Scans Gong calls for competitor mentions, matches each one to its Notion battlecard, and DMs every affected rep a single Slack digest per cycle. Every call runs as the PMM who owns the briefing, never a shared bot.
Test other agents
See the same per-user auth pattern across other search connectors.
GTM
Competitive intelligence briefing agent
Scan Gong calls for competitor mentions, match each one to its Notion battlecard, and DM every affected rep a single Slack digest.
Why Scalekit
Secure your agent's access. Connectors ship in minutes
01.
Shared tokens break per-user analytics
A shared OpenAlex MCP token looks fine in a demo. In production every search looks like one service account, and you cannot tell which user triggered it. Scalekit resolves the credential of the actual user who triggered the agent, never a shared bot.
// shared token
audit → bot_service_account

// scalekit
audit → user_abc ✓
02.
Authentication is not authorization
03.
Multi-tenancy is architectural
04.
OpenAlex MCP today. Ten connectors tomorrow.
“Our agents act across Salesforce, Gong, Google Drive, and more, on behalf of every customer. Scalekit behind the scenes meant we can keep adding tools without ever rebuilding how credentials or tool calling work.”
Venu Madhav Kattagoni
Head of Engineering / Von
FAQs
Frequently Asked Questions
Does the agent access OpenAlex MCP as the user or through a shared service account?
As the user. Each user signs in to OpenAlex MCP once, and Scalekit stores and refreshes their tokens. Searches and curations the agent makes are attributed to that user in your audit trail, not a shared service account.
Where is the OpenAlex OAuth token stored?
In Scalekit's managed AES-256 token vault, namespaced per tenant. Refresh is automatic. Revocation is a single dashboard action. Credentials never appear in prompts, logs, or LLM context.
Can I limit what the agent does in OpenAlex MCP?
Yes. Filter by tool name in listScopedTools to expose only what you want, for example the search, get, and analyze tools without openalexmcp_submit_curations, which submits corrections to the user's claimed author profile, or openalexmcp_claim_author_profile, which claims a profile for the connected account. Scalekit also enforces scope checks before every API call.
What happens when a user revokes OpenAlex MCP access?
The connection is invalidated on the next tool call. Subsequent requests for that user fail closed with a clear error. Other users in the tenant remain unaffected. The event is logged for audit.
Can the agent check an OQL query before running it?
Yes. openalexmcp_check_oql checks a query for free before you run it: whether it is valid, each problem with its fix, the time estimate, and the price in credits. openalexmcp_calculate_works then runs an OQL calculation, and openalexmcp_read_docs reads the OpenAlex documentation.
Start in your coding agent
Up and running in one command
Install the Scalekit skill in your editor of choice. Connector, auth, tools, prompt, all wired up
Claude Code REPL
/plugin marketplace add scalekit-inc/claude-code-authstack
/plugin install agentkit@scalekit-auth-stack
Cursor Code REPL
# ~/.cursor/mcp.json
{
""mcpServers"": {
""openalexmcp"": {
""url"": ""https://mcp.scalekit.com/openalexmcp"",
""headers"": { ""Authorization"": ""Bearer $SCALEKIT_TOKEN"" }
}
}
}
Codex Code REPL
# ~/.codex/config.toml
[mcp_servers.openalexmcp]
url = ""https://mcp.scalekit.com/openalexmcp""
auth_env = ""SCALEKIT_TOKEN""
Copilot Code REPL
# .vscode/mcp.json
{
""servers"": {
""openalexmcp"": {
""url"": ""https://mcp.scalekit.com/openalexmcp"",
""type"": ""http""
}
}
}