home / mcp / 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.
Configuration
View docs{
"mcpServers": {
"zongmin-yu-semantic-scholar-fastmcp-mcp-server": {
"command": "fastmcp",
"args": [
"run",
"/path/to/your/semantic-scholar-server/run.py"
],
"env": {
"SEMANTIC_SCHOLAR_API_KEY": "YOUR_API_KEY"
}
}
}
}You can run the Semantic Scholar MCP Server as a local, configurable MCP endpoint that exposes paper, author, and citation data through a FastMCP bridge. This server handles authentication when you provide an API key, supports batch operations, and exposes a built-in HTTP bridge for quick workflows. Use it to power fast, programmatic access to semantic scholar data from your MCP client.
You will run the MCP server locally or in your environment and connect to it through an MCP client. The server offers a suite of endpoints for searching papers, retrieving paper and author details, exploring citation networks, and generating recommendations. If you provide a Semantic Scholar API key, you get higher rate limits and potentially better performance. The builtβin HTTP bridge exposes common workflows over a lightweight REST interface, so you can prototype and test queries quickly.
Prerequisites you need before installation:
Installation steps you will follow to run the server locally:
1. Clone the repository and enter the project directory.
git clone https://github.com/YUZongmin/semantic-scholar-fastmcp-mcp-server.git
cd semantic-scholar-server2. Install FastMCP and other dependencies.
# Follow the dependency guidance from the FastMCP project
# Example placeholder if you follow a typical Python/CLI setup
python -m pip install -r requirements.txt3. Configure FastMCP and the Semantic Scholar MCP Server in your environment. Use the example configuration to integrate with Claude Desktop or your MCP client.
{
"mcps": {
"Semantic Scholar Server": {
"command": "/path/to/your/venv/bin/fastmcp",
"args": [
"run",
"/path/to/your/semantic-scholar-server/run.py"
],
"env": {
"SEMANTIC_SCHOLAR_API_KEY": "your-api-key-here"
}
}
}
}4. Start using the server from your MCP client. Claude Desktop will manage starting and stopping the server when needed.
Optional API key usage enables higher rate limits. If you do not provide an API key, the server will operate with unauthenticated access and lower rate limits.
The server supports an internal HTTP bridge for common workflows. You can enable and configure the bridge with environment variables and run the bridge on a dedicated port. A representative bridge setup exposes endpoints such as paper search, paper details, batch lookups, author search, author details, and recommendations.
If you encounter rate limit issues, verify whether you are using an API key and adjust your request patterns accordingly. The bridge reuses the HTTP utilities to maintain consistent rate limiting and connection pooling.
Basic usage includes searching papers with filters, retrieving detailed information for papers or authors, performing batch lookups, and requesting recommendations for single or multiple papers. The API supports field customization and paging where appropriate.
Search papers using relevance ranking with comprehensive query parameters, including year range and citation filters, returning paginated results with customizable fields.
Bulk search with sorting options for large result sets, supporting sorting by citation count, publication date, and other criteria.
Find papers by exact title match and retrieve detailed information with selectable fields.
Get comprehensive details for a single paper, supporting multiple ID formats (S2, DOI, ArXiv, etc.) and nested field selection.
Efficiently retrieve details for up to 1000 papers in a single request with consistent field options.
Retrieve papers that cite a given paper, with pagination, optional context, and field customization.
Retrieve papers referenced by a given paper, with pagination, optional context, and field customization.
Search for authors by name with paginated results and customizable fields.
Get detailed information about an author, including metrics like h-index and total citations.
List papers authored by a specific researcher with pagination and sorting.
Batch retrieve details for multiple authors in a single request.
Get recommendations for a single paper with customizable fields.
Get recommendations based on multiple papers, supporting positive and negative exemplars.