OpenAlex MCP Server

OpenAlex MCP Server

openalex-mcp-server-davidencrypted•bydavidencrypted

A Model Context Protocol server that lets AI agents and MCP clients search and inspect scholarly works in the OpenAlex database.

License: Not specified•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Searches OpenAlex works by keywords with boolean operators, filters, field selection, sorting, and cursor pagination.
  • •Retrieves detailed information for a specific work using an OpenAlex ID, DOI, PMID, or MAG ID.
  • •Provides outgoing citation ID lists for a work and incoming citing works with pagination and field selection.
  • •Returns N-grams for a work's full text when available, and notes OpenAlex generally does not store full text for copyright reasons.

BEST FOR

  • •Finding highly cited papers and following citation chains through an AI agent.
  • •Locating and relevance-scoring papers on a research topic by title and abstract.
  • •Searching for works co-authored by researchers at specific institutions.

ABOUT OPENALEX-MCP-SERVER-DAVIDENCRYPTED

OpenAlex MCP Server is cataloged as an MCP server attributed to davidencrypted. A Model Context Protocol server that lets AI agents and MCP clients search and inspect scholarly works in the OpenAlex database. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for OpenAlex MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server search full text?

No; OpenAlex generally does not store full text for copyright reasons, so search covers title and abstract rather than full text.

How can the server use the faster OpenAlex polite pool?

Set the OPENALEX_EMAIL environment variable to an email address before running the server; otherwise it uses the anonymous pool with stricter rate limits.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 48de32cce627 · 采集于 2026-11-13 11:06:50 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

OpenAlex MCP Server

This project provides a Model Context Protocol (MCP) server that allows AI agents and other MCP clients to interact with the OpenAlex database, specifically focusing on scholarly works. It utilizes the pyalex Python library to communicate with the OpenAlex API and the MCP Python SDK (fastmcp) to expose functionality as MCP tools.

Examples

For inspiration, here are some example queries that you can ask an AI agent that has this mcp enabled:

  • Find the 5 most cited papers that cite the foundational paper introducing the convolutional neural network
  • I am looking for papers related to Self-Supervised visual odometry. Find papers related to this topic, then score the relevance of each paper by reading the title+abstract and then giving them a relevance score of 1-10.
  • Find the most influential papers on transformer models published since 2020 and summarize how the architecture has evolved
  • Find papers co-authored by researchers at MIT and Stanford

Features

This server exposes the following MCP tools for interacting with OpenAlex works:

  1. search_works:

    • Description: Searches for OpenAlex works based on keywords and filters. Supports boolean operators in the search query. Returns selected fields and uses cursor pagination.
    • Parameters:
      • search_query (string, required): Search term(s).
      • filters (object, optional): Key-value pairs for filtering (e.g., {"publication_year": 2023, "is_oa": true}). See OpenAlex filter documentation for possible keys.
      • search_field (string, optional, default: "default"): Field to search within ('title', 'abstract', 'fulltext', 'title_and_abstract', 'default' - searches title, abstract, and fulltext).
      • select_fields (array of strings, optional): List of root-level fields to return (e.g., ["id", "doi", "title", "abstract"]). Includes plaintext abstract if requested.
      • sort (object, optional): Field to sort by and direction (e.g., {"cited_by_count": "desc"}).
      • per_page (integer, optional, default: 25): Results per page (max 200).
      • cursor (string, optional): Pagination cursor.
    • Returns: Object with results (list of work objects) and meta (pagination info including next_cursor).
  2. get_work_details:

    • Description: Retrieves detailed information for a specific OpenAlex work by its ID (OpenAlex ID URL, DOI URL, PMID URL, MAG ID).
    • Parameters:
      • work_id (string, required): Identifier for the work.
      • select_fields (array of strings, optional): List of root-level fields to return. Includes plaintext abstract if requested.
    • Returns: Object representing the work with selected fields, or an error object.
  3. get_referenced_works:

    • Description: Retrieves the list of OpenAlex IDs cited by a specific OpenAlex work (outgoing citations). Note: This tool currently returns only the list of IDs. Use get_work_details for more info on each reference.
    • Parameters:
      • work_id (string, required): OpenAlex ID of the citing work.
    • Returns: Object with referenced_work_ids (list of strings), or an error object.
  4. get_citing_works:

    • Description: Retrieves the list of works that cite a specific OpenAlex work (incoming citations). Uses cursor pagination.
    • Parameters:
      • work_id (string, required): OpenAlex ID of the cited work.
      • select_fields (array of strings, optional): List of root-level fields for each citing work.
      • per_page (integer, optional, default: 25): Results per page (max 200).
      • cursor (string, optional): Pagination cursor.
    • Returns: Object with results (list of citing work objects) and meta (pagination info), or an error object.
  5. get_work_ngrams:

    • Description: Retrieves the N-grams (word proximity information) for a specific OpenAlex work's full text, if available.
    • Parameters:
      • work_id (string, required): OpenAlex ID of the work.
    • Returns: Object representing the N-grams, or an error object (e.g., if N-grams are not found).

Note

OpenAlex generally does not store Full Text due to copywrite reasons. This also means that the openalex search functionality does not search over the full text, but only the title + abstract

Setup and Installation

Installation

  1. Clone the repository (optional):

    git clone <repository-url>
    cd openalex-mcp-server
    
  2. Install dependencies:

    uv venv
    source .venv/bin/activate
    
    uv pip install .
    

    This installs the server package along with its dependencies (mcp[cli], pyalex).

  3. Run server:

    uv --directory /YOUR/INSTALL/DIRECTORY/openalex-mcp-server run server.py
    

Configuration

  • OpenAlex Polite Pool: To use the faster, more reliable OpenAlex polite pool, set the OPENALEX_EMAIL environment variable to your email address before running the server or when configuring it in your MCP client.
    export OPENALEX_EMAIL="your.email@example.com"
    
    If this variable is not set, the server will use the anonymous pool, which has stricter rate limits.

MCP Integration

To use this server with an MCP client (like the Claude VS Code Extension or Claude Desktop), you need to add its configuration to the client's settings file.

Example Configuration (cline_mcp_settings.json or similar):

{
  "mcpServers": {
    "... other servers ...": {},
    "openalex": {
      "autoApprove": [],
      "disabled": false,
      "timeout": 60,
      "command": "uv",
      "args": [
        "--directory", "/YOUR/INSTALL/DIRECTORY/openalex-mcp-server", "run", "server.py"
      ],
      "env": {
        "OPENALEX_EMAIL": "your.email@example.com" // Set your email here!
      },
      "transportType": "stdio"
    }
  }
}
  • Replace "your.email@example.com" with your actual email address.
  • Restart your MCP client (e.g., reload the VS Code window) after adding the configuration.

Usage

Once the server is configured and running (either via the MCP client integration or manually for development), you can interact with it using the use_mcp_tool command within your AI agent.

Example Tool Calls:

  • Search for papers about "machine learning" published in 2023:

    <use_mcp_tool>
      <server_name>openalex</server_name>
      <tool_name>search_works</tool_name>
      <arguments>
      {
        "search_query": "machine learning",
        "filters": { "publication_year": 2023 },
        "select_fields": ["id", "doi", "title", "publication_year", "cited_by_count"]
      }
      </arguments>
    </use_mcp_tool>
    
  • Get details for a specific work:

    <use_mcp_tool>
      <server_name>openalex</server_name>
      <tool_name>get_work_details</tool_name>
      <arguments>
      {
        "work_id": "W2741809807",
        "select_fields": ["title", "authorships", "abstract", "open_access"]
      }
      </arguments>
    </use_mcp_tool>
    
  • Get references for a work:

    <use_mcp_tool>
      <server_name>openalex</server_name>
      <tool_name>get_referenced_works</tool_name>
      <arguments>
      {
        "work_id": "W2741809807"
      }
      </arguments>
    </use_mcp_tool>
    

Development

To run the server locally for development and testing:

  1. Ensure dependencies are installed (see Installation).
  2. Set the OPENALEX_EMAIL environment variable.
  3. mcp dev server.py

Dependencies

  • mcp-sdk: For MCP server implementation.
  • pyalex: For interacting with the OpenAlex API.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for OpenAlex MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/openalex-mcp-server-davidencrypted)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research