4,000+ servers built on vurb.ts
Vinkius

Stanford OpenAlex MCP Server for Mastra AIGive Mastra AI instant access to 16 tools to Get Author, Get Author Works, Get Concept, and more

MCP Inspector GDPR Free for Subscribers

Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Stanford OpenAlex through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.

Ask AI about this MCP Server for Mastra AI

The Stanford OpenAlex MCP Server for Mastra AI is a standout in the Education category — giving your AI agent 16 tools to work with, ready to go from day one.

Built for AI Agents by Vinkius

Vinkius delivers Streamable HTTP and SSE to any MCP client

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
typescript
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";

async function main() {
  // Your Vinkius token. get it at cloud.vinkius.com
  const mcpClient = await createMCPClient({
    servers: {
      "stanford-openalex": {
        url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
      },
    },
  });

  const tools = await mcpClient.getTools();
  const agent = new Agent({
    name: "Stanford OpenAlex Agent",
    instructions:
      "You help users interact with Stanford OpenAlex " +
      "using 16 tools.",
    model: openai("gpt-4o"),
    tools,
  });

  const result = await agent.generate(
    "What can I do with Stanford OpenAlex?"
  );
  console.log(result.text);
}

main();
Stanford OpenAlex
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

About Stanford OpenAlex MCP Server

Connect to the OpenAlex API — the fully open catalog of the global research system.

Mastra's agent abstraction provides a clean separation between LLM logic and Stanford OpenAlex tool infrastructure. Connect 16 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.

What you can do

  • Works — Search and analyze 250M+ academic works (papers, books, datasets, patents)
  • Authors — Browse 90M+ researcher profiles with h-index, i10-index, and citation metrics
  • Institutions — Explore 100K+ universities, labs, and research organizations worldwide
  • Sources — Query 240K+ journals, conferences, and repositories with impact metrics
  • Concepts — Navigate the 65K+ scientific concept taxonomy from broad to specific
  • Funders — Discover which organizations fund specific research areas
  • Publishers — Analyze the academic publishing landscape
  • Topics — Explore hierarchical topic classifications across all of science
  • Open Access — Find freely available research papers

The Stanford OpenAlex MCP Server exposes 16 tools through the Vinkius. Connect it to Mastra AI in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.

All 16 Stanford OpenAlex tools available for Mastra AI

When Mastra AI connects to Stanford OpenAlex through Vinkius, your AI agent gets direct access to every tool listed below — spanning openalex, academic-research, bibliometrics, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.

get

Get author on Stanford OpenAlex

Returns name, affiliations, paper count, citation count, h-index, i10-index, 2-year mean citedness, top research concepts, and publication trends by year. The definitive tool for assessing academic impact. Get author profile with h-index, citations, and impact metrics

get

Get author works on Stanford OpenAlex

Returns works with titles, DOIs, years, citation counts, open access status, and primary venues. Sort by "cited_by_count:desc" for most cited or "publication_date:desc" for most recent. Get all works by a specific author

get

Get concept on Stanford OpenAlex

Essential for understanding the structure of a research field. Get concept details with ancestors, related concepts, and trends

get

Get funder on Stanford OpenAlex

Use this to understand which organizations fund specific research areas. Get funder details and funded research statistics

get

Get institution on Stanford OpenAlex

Get institution details with research metrics and collaborations

get

Get source on Stanford OpenAlex

Essential for evaluating journal quality and coverage. Get journal or conference details with impact metrics

get

Get work on Stanford OpenAlex

Accepts OpenAlex IDs (e.g. "W2741809807"), DOIs (e.g. "https://doi.org/10.1038/s41586-021-03819-2"), PubMed IDs (e.g. "pmid:34845388"), or MAG IDs. Returns title, abstract, authors with institutions, concepts, citation count, open access status, and publication details. Get academic work details by OpenAlex ID, DOI, or PubMed ID

search

Search authors on Stanford OpenAlex

Returns display name, ORCID, works count, citation count, h-index, i10-index, and last known institution. Filter examples: "cited_by_count:>10000", "works_count:>100", "last_known_institutions.country_code:US". Search 90M+ academic authors by name

search

Search concepts on Stanford OpenAlex

Returns names, levels, descriptions, works counts, and citation counts. Search 65K+ scientific concepts in the knowledge hierarchy

search

Search funders on Stanford OpenAlex

Returns names, countries, grants counts, works funded, and citation impact. Essential for understanding research funding landscapes. Search funding organizations worldwide

search

Search institutions on Stanford OpenAlex

Returns names, countries, types, works counts, citation counts, and homepages. Filter examples: "country_code:US", "type:education", "cited_by_count:>1000000". Search 100K+ research institutions worldwide

search

Search open access on Stanford OpenAlex

This is a specialized filter of the works endpoint that returns only papers with open access PDFs. Ideal for researchers who need freely accessible literature for reading, citation, or meta-analysis. Search only open access academic works

search

Search publishers on Stanford OpenAlex

Returns names, countries, works counts, and citation counts. Useful for analyzing the publishing landscape. Search academic publishers

search

Search sources on Stanford OpenAlex

Returns names, ISSNs, types, works counts, citation counts, and open access status. Filter examples: "type:journal", "is_oa:true", "cited_by_count:>100000". Search 240K+ academic journals, conferences, and repositories

search

Search topics on Stanford OpenAlex

Returns topic names, descriptions, associated works and citations, plus the parent field and domain. Use this to map the landscape of a research area. Search topic classifications across all of science

search

Search works on Stanford OpenAlex

Supports full-text search plus structured filters. Filter syntax examples: "publication_year:2024", "open_access.is_oa:true", "type:journal-article", "cited_by_count:>100". Sort options: "cited_by_count:desc", "publication_date:desc", "relevance_score:desc". Search 250M+ academic works by keyword or filter

Connect Stanford OpenAlex to Mastra AI via MCP

Follow these steps to wire Stanford OpenAlex into Mastra AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.

01

Install dependencies

Run npm install @mastra/core @mastra/mcp @ai-sdk/openai
02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token
03

Run the agent

Save to agent.ts and run with npx tsx agent.ts
04

Explore tools

Mastra discovers 16 tools from Stanford OpenAlex via MCP

Why Use Mastra AI with the Stanford OpenAlex MCP Server

Mastra AI provides unique advantages when paired with Stanford OpenAlex through the Model Context Protocol.

01

Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Stanford OpenAlex without touching business code

02

Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

03

TypeScript-native: full type inference for every Stanford OpenAlex tool response with IDE autocomplete and compile-time checks

04

One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

Stanford OpenAlex + Mastra AI Use Cases

Practical scenarios where Mastra AI combined with the Stanford OpenAlex MCP Server delivers measurable value.

01

Automated workflows: build multi-step agents that query Stanford OpenAlex, process results, and trigger downstream actions in a typed pipeline

02

SaaS integrations: embed Stanford OpenAlex as a first-class tool in your product's AI features with Mastra's clean agent API

03

Background jobs: schedule Mastra agents to query Stanford OpenAlex on a cron and store results in your database automatically

04

Multi-agent systems: create specialist agents that collaborate using Stanford OpenAlex tools alongside other MCP servers

Example Prompts for Stanford OpenAlex in Mastra AI

Ready-to-use prompts you can give your Mastra AI agent to start working with Stanford OpenAlex immediately.

01

"Which universities have the highest research output in AI?"

02

"What are the most cited open access papers on CRISPR?"

03

"Show me the concept hierarchy for machine learning"

Troubleshooting Stanford OpenAlex MCP Server with Mastra AI

Common issues when connecting Stanford OpenAlex to Mastra AI through Vinkius, and how to resolve them.

01

createMCPClient not exported

Install: npm install @mastra/mcp

Stanford OpenAlex + Mastra AI FAQ

Common questions about integrating Stanford OpenAlex MCP Server with Mastra AI.

01

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
02

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
03

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

Explore More MCP Servers

View all →