Skip to content
Back to search

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.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/jackkuo666--semanticscholar-mcp-server/badge.svg)](/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

i

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)

  1. # πŸŽ“ Semantic Scholar MCP Server
  2. [![smithery badge](https://smithery.ai/badge/@JackKuo666/semanticscholar-mcp-server)](https://smithery.ai/server/@JackKuo666/semanticscholar-mcp-server)
  3. 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.
  4. ## ✨ Features
  5. - πŸ” Search for papers on Semantic Scholar
  6. - πŸ“„ Retrieve detailed information about specific papers
  7. - πŸ‘€ Get author details
  8. - πŸ”— Fetch citations and references for a paper
  9. ## πŸ“‹ Prerequisites
  10. - 🐍 Python 3.10+
  11. - πŸ“š `semanticscholar` Python package
  12. - πŸ”§ `mcp` Python package (Model Context Protocol)
  13. ## πŸš€ Installation
  14. ### Installing via Smithery
  15. To install semanticscholar Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@JackKuo666/semanticscholar-mcp-server):
  16. #### claude
  17. ```sh
  18. npx -y @smithery/cli@latest install @JackKuo666/semanticscholar-mcp-server --client claude --config "{}"
  19. ```
  20. #### Cursor
  21. Paste the following into Settings β†’ Cursor Settings β†’ MCP β†’ Add new server:
  22. - Mac/Linux
  23. ```s
  24. npx -y @smithery/cli@latest run @JackKuo666/semanticscholar-mcp-server --client cursor --config "{}"
  25. ```
  26. #### Windsurf
  27. ```sh
  28. npx -y @smithery/cli@latest install @JackKuo666/semanticscholar-mcp-server --client windsurf --config "{}"
  29. ```
  30. ### CLine
  31. ```sh
  32. npx -y @smithery/cli@latest install @JackKuo666/semanticscholar-mcp-server --client cline --config "{}"
  33. ```
  34. 1. Clone this repository:
  35. ```
  36. git clone https://github.com/JackKuo666/semanticscholar-MCP-Server.git
  37. cd semanticscholar-mcp-server
  38. ```
  39. 2. Install the required packages:
  40. ```
  41. pip install semanticscholar mcp
  42. ```
  43. ## πŸ–₯️ Usage
  44. 1. Start the Semantic Scholar MCP server:
  45. ```
  46. python semantic_scholar_server.py
  47. ```
  48. 2. The server will start and listen for MCP requests.
  49. 3. Use an MCP client to interact with the server and access the following tools:
  50. - πŸ” `search_semantic_scholar`: Search for papers using a query string
  51. - πŸ“„ `get_semantic_scholar_paper_details`: Get details of a specific paper
  52. - πŸ‘€ `get_semantic_scholar_author_details`: Get details of a specific author
  53. - πŸ”— `get_semantic_scholar_citations_and_references`: Get citations and references for a paper
  54. ## Usage with Claude Desktop
  55. Add this configuration to your `claude_desktop_config.json`:
  56. (Mac OS)
  57. ```json
  58. {
  59. "mcpServers": {
  60. "semanticscholar": {
  61. "command": "python",
  62. "args": ["-m", "semanticscholar_mcp_server"]
  63. }
  64. }
  65. }
  66. ```
  67. (Windows version):
  68. ```json
  69. {
  70. "mcpServers": {
  71. "semanticscholar": {
  72. "command": "C:\\Users\\YOUR\\PATH\\miniconda3\\envs\\mcp_server\\python.exe",
  73. "args": [
  74. "D:\\code\\YOUR\\PATH\\semanticscholar-MCP-Server\\semanticscholar_server.py"
  75. ],
  76. "env": {},
  77. "disabled": false,
  78. "autoApprove": []
  79. }
  80. }
  81. }
  82. ```
  83. Using with Cline
  84. ```json
  85. {
  86. "mcpServers": {
  87. "semanticscholar": {
  88. "command": "bash",
  89. "args": [
  90. "-c",
  91. "source /home/YOUR/PATH/.venv/bin/activate && python /home/YOUR/PATH/semanticscholar_mcp_server.py"
  92. ],
  93. "env": {},
  94. "disabled": false,
  95. "autoApprove": []
  96. }
  97. }
  98. }
  99. ```
  100. ## πŸ“ File Structure
  101. - πŸ“œ `semantic_scholar_search.py`: Contains functions for interacting with the Semantic Scholar API
  102. - πŸ–₯️ `semantic_scholar_server.py`: Implements the MCP server and defines the available tools
  103. ## 🀝 Contributing
  104. Contributions are welcome! Please feel free to submit a Pull Request.
  105. ## πŸ“„ License
  106. This project is licensed under the MIT License - see the LICENSE file for details.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.