🎓 セマンティック・スカラー MCP サーバー
このプロジェクトは、Semantic Scholar APIと連携するためのModel Context Protocol(MCP)サーバーを実装します。論文の検索、論文と著者の詳細情報の取得、引用文献の取得のためのツールを提供します。
✨ 特徴
🔍 Semantic Scholarで論文を検索する
📄 特定の論文に関する詳細情報を取得する
👤 著者の詳細を見る
🔗 論文の引用と参考文献を取得する
Related MCP server: Academic Paper Search MCP Server
📋 前提条件
🐍 Python 3.10 以上
📚
semanticscholarPython パッケージ🔧
mcpPython パッケージ (モデル コンテキスト プロトコル)
🚀 インストール
Smithery経由でインストール
Smithery経由で Claude Desktop 用の semanticscholar Server を自動的にインストールするには:
クロード
npx -y @smithery/cli@latest install @JackKuo666/semanticscholar-mcp-server --client claude --config "{}"カーソル
次の内容を「設定」→「カーソル設定」→「MCP」→「新しいサーバーの追加」に貼り付けます。
Mac/Linux
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 "{}"Cライン
npx -y @smithery/cli@latest install @JackKuo666/semanticscholar-mcp-server --client cline --config "{}"このリポジトリをクローンします:
git clone https://github.com/JackKuo666/semanticscholar-MCP-Server.git cd semanticscholar-mcp-server必要なパッケージをインストールします。
pip install semanticscholar mcp
🖥️ 使用方法
Semantic Scholar MCP サーバーを起動します。
python semantic_scholar_server.pyサーバーが起動し、MCP 要求をリッスンします。
MCP クライアントを使用してサーバーと対話し、次のツールにアクセスします。
🔍
search_semantic_scholar: クエリ文字列を使って論文を検索する📄
get_semantic_scholar_paper_details: 特定の論文の詳細を取得する👤
get_semantic_scholar_author_details: 特定の著者の詳細を取得する🔗
get_semantic_scholar_citations_and_references: 論文の引用と参考文献を取得する
Claude Desktopでの使用
この設定をclaude_desktop_config.jsonに追加します。
(Mac OS)
{
"mcpServers": {
"semanticscholar": {
"command": "python",
"args": ["-m", "semanticscholar_mcp_server"]
}
}
}(Windows版):
{
"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": []
}
}
}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: Semantic Scholar API と対話するための関数が含まれています🖥️
semantic_scholar_server.py: MCP サーバーを実装し、利用可能なツールを定義します
🤝 貢献する
貢献を歓迎します!お気軽にプルリクエストを送信してください。
📄 ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細については LICENSE ファイルを参照してください。