Supports searching for papers using ArXiv IDs as part of the paper identification system, allowing retrieval of paper details via ArXiv identifiers.
Supports DOI-based paper identification, allowing users to retrieve paper details using Digital Object Identifiers.
Provides comprehensive access to Semantic Scholar API for academic paper data, author information, and citation networks. Features include paper search, citation analysis, author information retrieval, and paper recommendations.
Semantic Scholar MCP Server
A FastMCP server implementation for the Semantic Scholar API, providing comprehensive access to academic paper data, author information, and citation networks.
Project Structure
The project has been refactored into a modular structure for better maintainability:
This structure:
Separates concerns into logical modules
Makes the codebase easier to understand and maintain
Allows for better testing and future extensions
Keeps related functionality grouped together
Centralizes the FastMCP instance to avoid circular imports
Features
Paper Search & Discovery
Full-text search with advanced filtering
Title-based paper matching
Paper recommendations (single and multi-paper)
Batch paper details retrieval
Advanced search with ranking strategies
Citation Analysis
Citation network exploration
Reference tracking
Citation context and influence analysis
Author Information
Author search and profile details
Publication history
Batch author details retrieval
Advanced Features
Complex search with multiple ranking strategies
Customizable field selection
Efficient batch operations
Rate limiting compliance
Support for both authenticated and unauthenticated access
Graceful shutdown and error handling
Connection pooling and resource management
System Requirements
Python 3.8+
FastMCP framework
Environment variable for API key (optional)
Installation
Installing via Smithery
To install Semantic Scholar MCP Server for Claude Desktop automatically via Smithery:
Manual Installation
Clone the repository:
Install FastMCP and other dependencies following: https://github.com/jlowin/fastmcp
Configure FastMCP:
For Claude Desktop users, you'll need to configure the server in your FastMCP configuration file. Add the following to your configuration (typically in ~/.config/claude-desktop/config.json
):
Make sure to:
Replace
/path/to/your/venv/bin/fastmcp
with the actual path to your FastMCP installationReplace
/path/to/your/semantic-scholar-server/run.py
with the actual path to run.py on your machineIf you have a Semantic Scholar API key, add it to the
env
section. If not, you can remove theenv
section entirely
Start using the server:
The server will now be available to your Claude Desktop instance. No need to manually run any commands - Claude will automatically start and manage the server process when needed.
API Key (Optional)
To get higher rate limits and better performance:
Get an API key from Semantic Scholar API
Add it to your FastMCP configuration as shown above in the
env
section
If no API key is provided, the server will use unauthenticated access with lower rate limits.
Configuration
Environment Variables
SEMANTIC_SCHOLAR_API_KEY
: Your Semantic Scholar API key (optional)Get your key from Semantic Scholar API
If not provided, the server will use unauthenticated access
Rate Limits
The server automatically adjusts to the appropriate rate limits:
With API Key:
Search, batch and recommendation endpoints: 1 request per second
Other endpoints: 10 requests per second
Without API Key:
All endpoints: 100 requests per 5 minutes
Longer timeouts for requests
Available MCP Tools
Note: All tools are aligned with the official Semantic Scholar API documentation. Please refer to the official documentation for detailed field specifications and the latest updates.
Paper Search Tools
paper_relevance_search
: Search for papers using relevance rankingSupports comprehensive query parameters including year range and citation count filters
Returns paginated results with customizable fields
paper_bulk_search
: Bulk paper search with sorting optionsSimilar to relevance search but optimized for larger result sets
Supports sorting by citation count, publication date, etc.
paper_title_search
: Find papers by exact title matchUseful for finding specific papers when you know the title
Returns detailed paper information with customizable fields
paper_details
: Get comprehensive details about a specific paperAccepts various paper ID formats (S2 ID, DOI, ArXiv, etc.)
Returns detailed paper metadata with nested field support
paper_batch_details
: Efficiently retrieve details for multiple papersAccepts up to 1000 paper IDs per request
Supports the same ID formats and fields as single paper details
Citation Tools
paper_citations
: Get papers that cite a specific paperReturns paginated list of citing papers
Includes citation context when available
Supports field customization and sorting
paper_references
: Get papers referenced by a specific paperReturns paginated list of referenced papers
Includes reference context when available
Supports field customization and sorting
Author Tools
author_search
: Search for authors by nameReturns paginated results with customizable fields
Includes affiliations and publication counts
author_details
: Get detailed information about an authorReturns comprehensive author metadata
Includes metrics like h-index and citation counts
author_papers
: Get papers written by an authorReturns paginated list of author's publications
Supports field customization and sorting
author_batch_details
: Get details for multiple authorsEfficiently retrieve information for up to 1000 authors
Returns the same fields as single author details
Recommendation Tools
paper_recommendations_single
: Get recommendations based on a single paperReturns similar papers based on content and citation patterns
Supports field customization for recommended papers
paper_recommendations_multi
: Get recommendations based on multiple papersAccepts positive and negative example papers
Returns papers similar to positive examples and dissimilar to negative ones
Usage Examples
Basic Paper Search
Paper Recommendations
Batch Operations
Error Handling
The server provides standardized error responses:
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Semantic Scholar API, providing comprehensive access to academic paper data, author information, and citation networks.
Related MCP Servers
- AsecurityAlicenseAqualityEnables real-time search and retrieval of academic paper information from multiple sources, providing access to paper metadata, abstracts, and full-text content when available, with structured data responses for integration with AI models that support tool/function calling.Last updated -367AGPL 3.0
- -securityFlicense-qualityProvides tools for accessing the Semantic Scholar API to search papers, retrieve paper and author details, and fetch citations and references through the Model Context Protocol.Last updated -26
- -securityFlicense-qualityA comprehensive Model Context Protocol server that provides AI assistants with direct access to Semantic Scholar's academic database, enabling advanced paper discovery, citation analysis, author research, and AI-powered recommendations.Last updated -4
- AsecurityAlicenseAqualityEnables access to the Semantic Scholar Academic Graph API for searching and retrieving detailed information about academic papers, authors, citations, and references.Last updated -112MIT License