JS

jackkuo666/semanticscholar-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

87 stars 11 forks 质量 62 趋势 0

jackkuo666/semanticscholar-mcp-server 是从 https://github.com/jackkuo666/semanticscholar-mcp-server. 导入的 MCP 服务器候选

概览

jackkuo666/semanticscholar-mcp-server 是从 https://github.com/jackkuo666/semanticscholar-mcp-server. 导入的 MCP 服务器候选

概述(AI 翻译)

该项目实现了一个模型上下文协议(MCP)服务器,用于与语义学者API交互。它提供检索论文、检索论文和作者信息、获取引用和参考文献的工具。

✨ 特色

  • 🔍 在Semantic Scholar上搜索论文
  • 📄 检索特定论文的详细信息
  • 👤 获取作者信息
  • 🔗 获取论文的引用和参考文献

📋 先修条件

  • 🐍 Python 3.10+
  • 📚 semanticscholar Python 包
  • 🔧 mcp Python 包(模型上下文协议)

🚀 安装

通过Smithery安装

要通过 Smithery 自动安装 Semanticscholar Server for Claude Desktop:

克洛德

光标

将以下内容粘贴到设置→光标设置→MCP→添加新服务器:

  • Mac/Linux

风帆冲浪

克莱恩

  1. 克隆此仓库:

  2. 安装所需的软件包:

🖥️ 用途

  1. 启动语义学者MCP服务器:

  2. 服务器将启动并监听MCP请求。

  3. 使用 MCP 客户端与服务器交互并访问以下工具:

  • 🔍 search_semantic_scholar:使用查询字符串搜索论文

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

🎓 Semantic Scholar 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:

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
    

🖥️ 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)

{
  "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": {
在 GitHub 查看完整 README

安装

npx -y @smithery/cli@latest install @JackKuo666/semanticscholar-mcp-server --client claude --config "{}"
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "semanticscholar": { "command": "python", "args": ["-m", "semanticscholar_mcp_server"] } } }