OpenAlex Paper Search MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
OpenAlex Paper Search MCP Server
A Model Context Protocol (MCP) server that provides comprehensive access to the OpenAlex academic database. Search and retrieve academic papers, authors, institutions, and more with advanced filtering capabilities.
Features
🔍 Comprehensive Search: Search across hundreds of millions of academic works
🎯 Advanced Filtering: Filter by date, open access status, citations, country, language, and more
📊 Rich Metadata: Get detailed information including abstracts, citations, topics, and full bibliographic data
🚀 High Performance: Optimized for fast responses with proper API configuration
🐳 Docker Ready: Easy deployment with Docker and Docker Compose
🔧 MCP Compatible: Works with any MCP-compatible client
Related MCP server: Academic Paper Search MCP Server
Quick Start
Installation
# Clone the repository
git clone https://github.com/LeoGitGuy/alex-paper-search-mcp.git
cd openalex-mcp-server
# Install dependencies
pip install -e .
# Set your email for better API performance (optional but recommended)
export OPENALEX_EMAIL="your.email@example.com"
# Run the server
python -m openalex_mcp.serverDocker Setup
# Copy environment template
cp .env.example .env
# Edit .env to set your email
echo "OPENALEX_EMAIL=your.email@example.com" > .env
# Run with Docker Compose
docker-compose up -dClaude Desktop Integration
To use this MCP server with Claude Desktop, add this configuration to your Claude Desktop config file:
Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"openalex_paper_search": {
"command": "python",
"args": [
"-m",
"openalex_mcp.server"
],
"cwd": "/path/to/your/openalex-mcp-server",
"env": {
"OPENALEX_EMAIL": "your.email@example.com"
}
}
}
}Make sure to:
Replace
/path/to/your/openalex-mcp-serverwith the actual path to your cloned repositoryReplace
your.email@example.comwith your actual email address for better API performanceRestart Claude Desktop after updating the configuration
Configuration
Environment Variables
Variable | Required | Description |
| Recommended | Your email for OpenAlex polite pool access (faster response times) |
| Optional | API key for authenticated requests (experimental feature) |
Why Set an Email?
Setting OPENALEX_EMAIL gives you access to OpenAlex's "polite pool", which includes faster response times and higher rate limits
Available Tools
Core Search Functions
search_openalex
Main search function with full filtering capabilities:
# Basic search
search_openalex("machine learning", max_results=20)
# Advanced filtering
search_openalex(
"neural networks",
max_results=15,
from_publication_date="2020-01-01",
is_oa=True,
cited_by_count=">100",
institution_country="us"
)get_paper_by_id / get_paper_by_doi
Retrieve specific papers:
get_paper_by_id("W2741809807")
get_paper_by_doi("10.7717/peerj.4375")Convenience Functions
search_open_access_papers
Find freely available research:
search_open_access_papers(
"artificial intelligence",
max_results=15,
from_publication_date="2020-01-01"
)search_recent_papers
Get the latest research:
search_recent_papers(
"quantum computing",
max_results=20,
years_back=3,
min_citations=10
)search_by_institution
Find research from specific countries:
search_by_institution(
"renewable energy",
institution_country="de", # Germany
max_results=15
)Filtering Options
Date Filters
from_publication_date: "YYYY-MM-DD" (published on or after)to_publication_date: "YYYY-MM-DD" (published on or before)publication_year: Integer (exact year)
Content Filters
is_oa: Boolean (open access only)has_doi: Boolean (papers with DOI)has_fulltext: Boolean (fulltext available)has_abstract: Boolean (abstract available)type: String ('article', 'book', 'dataset', etc.)
Quality Filters
cited_by_count: String (">50", "10-100", ">=5")authors_count: String (">1", "1-5")language: String ('en', 'zh', 'es', etc.)
Institution & Geographic Filters
institution_country: String ('us', 'gb', 'cn', 'de', etc.)funder: String (funder name or ID)journal: String (OpenAlex journal ID)
Text Search Filters
abstract_search: Search within abstractstitle_search: Search within titlesfulltext_search: Search within fulltext (where available)
Sorting Options
sort: 'cited_by_count', 'publication_date', 'relevance_score'order: 'desc', 'asc'
Usage Examples
Find Highly Cited Recent Papers
search_openalex(
"deep learning",
max_results=10,
from_publication_date="2023-01-01",
cited_by_count=">100",
sort="cited_by_count",
order="desc"
)Search Open Access Climate Research
search_open_access_papers(
"climate change adaptation",
max_results=20,
from_publication_date="2020-01-01",
type="article"
)Find Papers by Abstract Content
search_openalex(
"", # Empty main query
max_results=15,
abstract_search="machine learning ethics",
is_oa=True
)Get Recent COVID Research from Multiple Countries
# US research
us_papers = search_by_institution("COVID-19", "us", 10, from_publication_date="2023-01-01")
# British research
gb_papers = search_by_institution("COVID-19", "gb", 10, from_publication_date="2023-01-01")Troubleshooting
Debug Mode
# Enable debug logging
export LOG_LEVEL=DEBUG
python -m openalex_mcp.serverCheck Configuration
# Test your email configuration
from openalex_mcp.searcher import OpenAlexSearcher
searcher = OpenAlexSearcher(email="your.email@example.com")
papers = searcher.search("test", 1)
print(f"Found {len(papers)} papers")License
MIT License - see LICENSE file for details.
Acknowledgments
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Find research papers and arXiv preprints, and get an abstract and free full text from a DOI or id.
Search 250M scholarly works (OpenAlex, Crossref, arXiv, PubMed) and resolve any DOI
Search OpenAlex for paper titles, DOIs, years, citation counts and open-access flags
Search 340M+ academic papers — citation graphs, semantic similarity, and AI literature reviews.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables LLMs and compatible clients to search academic papers and retrieve detailed metadata, abstracts, and full-text content when available from Semantic Scholar and Crossref. Supports topic-based searches with optional date ranges and structured responses for tool/function calling.-
- FlicenseNot gradedqualityAmaintenanceEnables LLMs such as Claude to search and retrieve academic paper information from Semantic Scholar and Crossref, including metadata, abstracts, full-text content when available, and topic/date-filtered results.-
- FlicenseNot gradedqualityAmaintenanceEnables LLMs to search for academic papers and retrieve detailed metadata, abstracts, and full-text content from Semantic Scholar and Crossref. Supports keyword queries, topic searches with date filters, and lookups by DOI or paper ID through MCP tools.-
- FlicenseNot gradedqualityAmaintenanceEnables LLMs to search academic papers across Semantic Scholar and Crossref, fetch detailed metadata and abstracts by DOI or paper ID, and filter topic searches by publication year. Results are returned as structured responses usable for natural-language research queries.-