mcp-openalex

mcp-openalex

MCP server for the OpenAlex scholarly database, providing AI agents with tools to search and retrieve academic works, authors, and institutions via natural language queries.

Category
Visit Server

README

mcp-openalex

MCP server for the OpenAlex scholarly database. Gives AI agents tools to search and retrieve academic works, authors, and institutions.

Requirements

Installation

git clone https://github.com/ELumya/openalex-mcp.git
cd openalex-mcp
uv sync

Configuration

Copy the example env file and set your API key:

cp .env.example .env
# edit .env and set OPENALEX_API_KEY=your-key-here

Running

STDIO (default — for local MCP clients):

uv run fastmcp run src/server.py

HTTP transport:

MCP_TRANSPORT=http MCP_HOST=127.0.0.1 MCP_PORT=8000 uv run fastmcp run src/server.py

MCP Tools

Tool Description
search_works Search works with filters (institution, year, date range, type, peer-reviewed)
semantic_search_works Find works similar to a text using AI semantic search (matches by meaning)
fetch_work Fetch full work metadata by OpenAlex ID or DOI — optionally extract PDF or request an LLM summary
search_authors Search author profiles by name or ORCID
fetch_author Fetch full author profile by OpenAlex ID or ORCID
get_author_works List all publications by a specific author
search_institutions Search institutions by name, country, or type
fetch_institution Fetch full institution profile by OpenAlex ID or ROR

Architecture

See ARCHITECTURE.md for system overview, module dependency graph, and tool flow diagrams.

TODOs

  • [ ] Add tests
  • [ ] Add CI/CD
  • [ ] Use cache for high rate requests
  • [x] Scan code base for dead code
  • [x] Add mermaid documentation
  • [x] Unify concepts names (ie. Articles/Works)
  • [x] Two levels of formating details in filter: low (current one), medium (for fetch_* tools)

Tools Evolutions

  • [x] Test OpenAlex support of Elasticsearch: YES!
  • [x] Update work search tools descriptions, add: "Elasticsearch syntax"
  • [x] Update tools descriptions, do not explain how it works but what you need to pass.
  • [x] Update Author search tool, remove IDs handling (use fetch_author for this)

in format_work_result add:

  • [x] first 3 Authors
  • [x] Primary topic classification

in _process_fulltext in fetch_work

  • [x] Remove pure PDF handling, auto-detect format based on prompt presence (if prompt provided → LLM summary, else → markdown)
  • [ ] Use proper sampling parameters

Search

  • [x] Semantic search, added as a new tool but can easily be integrated to work_search, we perform modifications at filters build_works_query.
  • [ ] Search by topics
  • [ ] Search foundational works

Citation

  • [ ] graph_work_citations

Authors

  • [x] get_author_works: parameter author replaced by author_id; accepts only OpenAlex ID or ORCID.
  • [ ] graph_collaborations

Institutions

  • [ ] graph_colaborations

Global analysis tools

  • [ ] OpenAlex Topic comparaison
  • [ ] Geographical Region comparaison
  • [ ] Institutions comparaison
  • [ ] Trend deep analysis

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured