openalex-mcp-server
1
The OpenAlex MCP Server is designed to facilitate interaction between AI agents and the OpenAlex database for scholarly works, utilizing tools to search, retrieve details, and analyze scholarly content effectively.
OpenAlex MCP Server
This project provides an MCP server for AI agents and clients to interact with the OpenAlex scholarly works database using the pyalex library and the fastmcp Python SDK. It offers several MCP tools:
search_works
: Search works based on keywords and filters, supporting boolean operators and cursor pagination.get_work_details
: Retrieve detailed information for a specific OpenAlex work by its ID.get_referenced_works
: List IDs cited by a specific OpenAlex work.get_citing_works
: Retrieve works citing a specific OpenAlex work using pagination.get_work_ngrams
: Get N-grams for a specific OpenAlex work's full text if available.
Installation involves cloning the repository, setting up a virtual environment, and configuring environment variables like OPENALEX_EMAIL
for using the OpenAlex polite pool. After setup, integration with MCP clients like Claude VS Code Extension is possible.