semanticscholar-MCP-Server
π 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.
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Badge for your README
Markdown
[](/listings/jackkuo666--semanticscholar-mcp-server)HTML
<a href="/listings/jackkuo666--semanticscholar-mcp-server"><img src="/api/listings/jackkuo666--semanticscholar-mcp-server/badge.svg" alt="findsafeskills safety rating" /></a>Install
Install instructions from the README
As written by the repo's author. findsafeskills has not verified these steps.
Installing via Smithery
To install semanticscholar Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@JackKuo666/semanticscholar-mcp-server):
claude
npx -y @smithery/cli@latest install @JackKuo666/semanticscholar-mcp-server --client claude --config "{}"Cursor
Paste the following into Settings β Cursor Settings β MCP β Add new server: - Mac/Linux
npx -y @smithery/cli@latest run @JackKuo666/semanticscholar-mcp-server --client cursor --config "{}" Windsurf
npx -y @smithery/cli@latest install @JackKuo666/semanticscholar-mcp-server --client windsurf --config "{}"CLine
npx -y @smithery/cli@latest install @JackKuo666/semanticscholar-mcp-server --client cline --config "{}"1. Clone this repository:
git clone https://github.com/JackKuo666/semanticscholar-MCP-Server.git cd semanticscholar-mcp-server
2. Install the required packages:
pip install semanticscholar mcp
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
README.md Β· README Β· 138 lines
View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)
- # π Semantic Scholar MCP Server
- [](https://smithery.ai/server/@JackKuo666/semanticscholar-mcp-server)
- 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.
- ## β¨ Features
- - π Search for papers on Semantic Scholar
- - π Retrieve detailed information about specific papers
- - π€ Get author details
- - π Fetch citations and references for a paper
- ## π Prerequisites
- - π Python 3.10+
- - π `semanticscholar` Python package
- - π§ `mcp` Python package (Model Context Protocol)
- ## π Installation
- ### Installing via Smithery
- To install semanticscholar Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@JackKuo666/semanticscholar-mcp-server):
- #### claude
- ```sh
- npx -y @smithery/cli@latest install @JackKuo666/semanticscholar-mcp-server --client claude --config "{}"
- ```
- #### Cursor
- Paste the following into Settings β Cursor Settings β MCP β Add new server:
- - Mac/Linux
- ```s
- npx -y @smithery/cli@latest run @JackKuo666/semanticscholar-mcp-server --client cursor --config "{}"
- ```
- #### Windsurf
- ```sh
- npx -y @smithery/cli@latest install @JackKuo666/semanticscholar-mcp-server --client windsurf --config "{}"
- ```
- ### CLine
- ```sh
- npx -y @smithery/cli@latest install @JackKuo666/semanticscholar-mcp-server --client cline --config "{}"
- ```
- 1. Clone this repository:
- ```
- git clone https://github.com/JackKuo666/semanticscholar-MCP-Server.git
- cd semanticscholar-mcp-server
- ```
- 2. Install the required packages:
- ```
- pip install semanticscholar mcp
- ```
- ## π₯οΈ Usage
- 1. Start the Semantic Scholar MCP server:
- ```
- python semantic_scholar_server.py
- ```
- 2. The server will start and listen for MCP requests.
- 3. Use an MCP client to interact with the server and access the following tools:
- - π `search_semantic_scholar`: Search for papers using a query string
- - π `get_semantic_scholar_paper_details`: Get details of a specific paper
- - π€ `get_semantic_scholar_author_details`: Get details of a specific author
- - π `get_semantic_scholar_citations_and_references`: Get citations and references for a paper
- ## Usage with Claude Desktop
- Add this configuration to your `claude_desktop_config.json`:
- (Mac OS)
- ```json
- {
- "mcpServers": {
- "semanticscholar": {
- "command": "python",
- "args": ["-m", "semanticscholar_mcp_server"]
- }
- }
- }
- ```
- (Windows version):
- ```json
- {
- "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
- ```json
- {
- "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": []
- }
- }
- }
- ```
- ## π File Structure
- - π `semantic_scholar_search.py`: Contains functions for interacting with the Semantic Scholar API
- - π₯οΈ `semantic_scholar_server.py`: Implements the MCP server and defines the available tools
- ## π€ Contributing
- Contributions are welcome! Please feel free to submit a Pull Request.
- ## π License
- This project is licensed under the MIT License - see the LICENSE file for details.
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If itβs helped, pass it on.