Provides 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.
This project implements a Model Context Protocol (MCP) server for interacting with the Semantic Scholar API. It provides tools for searching papers, retrieving paper and author details, and fetching citations and references.
semanticscholar
Python packagemcp
Python package (Model Context Protocol)To install semanticscholar Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli@latest install @JackKuo666/semanticscholar-mcp-server --client claude --config "{}"
Paste the following into Settings → Cursor Settings → MCP → Add new server:
npx -y @smithery/cli@latest run @JackKuo666/semanticscholar-mcp-server --client cursor --config "{}"
npx -y @smithery/cli@latest install @JackKuo666/semanticscholar-mcp-server --client windsurf --config "{}"
npx -y @smithery/cli@latest install @JackKuo666/semanticscholar-mcp-server --client cline --config "{}"
Clone this repository:
git clone https://github.com/JackKuo666/semanticscholar-MCP-Server.git
cd semanticscholar-mcp-server
Install the required packages:
pip install semanticscholar mcp
Start the Semantic Scholar MCP server:
python semantic_scholar_server.py
The server will start and listen for MCP requests.
Use an MCP client to interact with the server and access the following tools:
search_semantic_scholar
: Search for papers using a query stringget_semantic_scholar_paper_details
: Get details of a specific paperget_semantic_scholar_author_details
: Get details of a specific authorget_semantic_scholar_citations_and_references
: Get citations and references for a paperAdd this configuration to your claude_desktop_config.json
:
(Mac OS)
{ "mcpServers": { "semanticscholar": { "command": "python", "args": ["-m", "semanticscholar_mcp_server"] } } }
(Windows version):
{ "mcpServers": { "semanticscholar": { "command": "C:\\Users\\YOUR\\PATH\\miniconda3\\envs\\mcp_server\\python.exe", "args": [ "D:\\code\\YOUR\\PATH\\semanticscholar-MCP-Server\\semanticscholar_server.py" ], "env": {}, "disabled": false, "autoApprove": [] } } }
Using with Cline
{ "mcpServers": { "semanticscholar": { "command": "bash", "args": [ "-c", "source /home/YOUR/PATH/.venv/bin/activate && python /home/YOUR/PATH/semanticscholar_mcp_server.py" ], "env": {}, "disabled": false, "autoApprove": [] } } }
semantic_scholar_search.py
: Contains functions for interacting with the Semantic Scholar APIsemantic_scholar_server.py
: Implements the MCP server and defines the available toolsContributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!