Semantic Scholar MCP Server provides comprehensive access to academic paper data, author information, and citation networks through a FastMCP implementation. It enables advanced academic research capabilities including paper search, citation analysis, and author information retrieval through the Semantic Scholar API.
The easiest way to install the Semantic Scholar MCP Server for Claude Desktop is automatically via Smithery:
npx -y @smithery/cli install semantic-scholar-fastmcp-mcp-server --client claude
git clone https://github.com/YUZongmin/semantic-scholar-fastmcp-mcp-server.git
cd semantic-scholar-server
Install FastMCP and other dependencies following: https://github.com/jlowin/fastmcp
Configure FastMCP:
For Claude Desktop users, add the following to your configuration file (typically in ~/.config/claude-desktop/config.json
):
{
"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" # Optional
}
}
}
}
Be sure to:
env
section if notClaude Desktop will automatically start and manage the server process when needed.
For higher rate limits and better performance:
SEMANTIC_SCHOLAR_API_KEY
: Your Semantic Scholar API key (optional)With API Key:
Without API Key:
paper_relevance_search
: Search for papers using relevance rankingpaper_bulk_search
: Bulk paper search with sorting optionspaper_title_search
: Find papers by exact title matchpaper_details
: Get comprehensive details about a specific paperpaper_batch_details
: Efficiently retrieve details for multiple paperspaper_citations
: Get papers that cite a specific paperpaper_references
: Get papers referenced by a specific paperauthor_search
: Search for authors by nameauthor_details
: Get detailed information about an authorauthor_papers
: Get papers written by an authorauthor_batch_details
: Get details for multiple authorspaper_recommendations_single
: Get recommendations based on a single paperpaper_recommendations_multi
: Get recommendations based on multiple papersresults = await paper_relevance_search(
context,
query="machine learning",
year="2020-2024",
min_citation_count=50,
fields=["title", "abstract", "authors"]
)
# Single paper recommendation
recommendations = await paper_recommendations_single(
context,
paper_id="649def34f8be52c8b66281af98ae884c09aef38b",
fields="title,authors,year"
)
# Multi-paper recommendation
recommendations = await paper_recommendations_multi(
context,
positive_paper_ids=["649def34f8be52c8b66281af98ae884c09aef38b", "ARXIV:2106.15928"],
negative_paper_ids=["ArXiv:1805.02262"],
fields="title,abstract,authors"
)
# Get details for multiple papers
papers = await paper_batch_details(
context,
paper_ids=["649def34f8be52c8b66281af98ae884c09aef38b", "ARXIV:2106.15928"],
fields="title,authors,year,citations"
)
# Get details for multiple authors
authors = await author_batch_details(
context,
author_ids=["1741101", "1780531"],
fields="name,hIndex,citationCount,paperCount"
)
The server provides standardized error responses:
{
"error": {
"type": "error_type", # rate_limit, api_error, validation, timeout
"message": "Error description",
"details": {
# Additional context
"authenticated": true/false # Indicates if request was authenticated
}
}
}
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.