
kaliaboi/mcp-zotero
API developmentこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
kaliaboi/mcp-zotero は、https://github.com/kaliaboi/mcp-zotero. からインポートされたMCPサーバー候補です。
概要
kaliaboi/mcp-zotero は、https://github.com/kaliaboi/mcp-zotero. からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
Zotero統合用のモデルコンテキストプロトコルサーバーで、ClaudeがZoteroライブラリとやり取りできるようにします。
セットアップ
- Zoteroの資格取得:
回答は以下のようになります。
必要なのはuserIDの値です。
-
環境変数の設定:
-
資格の確認:
返信であなたのコレクションリストが見えるはずです。
- インストールと実行:
Claude Desktopとの統合
このサーバーをClaude Desktopで使用するには、Claude Desktopの設定に以下を追加してください:
利用可能なツール
get_collections:ライブラリ内のすべてのコレクションをリストアップしますget_collection_items:特定のコレクション内のアイテムを取得するget_item_details:論文の詳細情報を得るsearch_library:ライブラリ全体を検索get_recent: 最近追加された書類を入手
トラブルシューティング
もし何か問題が発生した場合:
-
環境変数が設定されているか確認する:
-
設置状況の確認:
-
再インストールを試す:
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
MCP Zotero
A Model Context Protocol server for Zotero integration that allows Claude to interact with your Zotero library.
Setup
-
Get your Zotero credentials:
# First, create an API key at https://www.zotero.org/settings/keys # Then use it to get your user ID: curl -H "Zotero-API-Key: YOUR_API_KEY" https://api.zotero.org/keys/currentThe response will look like:
{ "userID": 123456, "username": "your_username", "access": { "user": { "library": true, "files": true, "notes": true, "write": true } } }The
userIDvalue is what you need. -
Set environment variables:
export ZOTERO_API_KEY="your-api-key" export ZOTERO_USER_ID="user-id-from-curl" -
Verify your credentials:
# Test that your credentials work: curl -H "Zotero-API-Key: $ZOTERO_API_KEY" \ "https://api.zotero.org/users/$ZOTERO_USER_ID/collections"You should see your collections list in the response.
-
Install and run:
# Install globally (recommended) npm install -g mcp-zotero mcp-zotero # Or run directly with npx npx mcp-zotero
Integration with Claude Desktop
To use this server with Claude Desktop, add the following to your Claude Desktop configuration:
{
"mcpServers": {
"zotero": {
"command": "mcp-zotero",
"env": {
"ZOTERO_API_KEY": YOUR_API_KEY,
"ZOTERO_USER_ID": YOUR_USER_ID
}
}
}
}
Available Tools
get_collections: List all collections in your libraryget_collection_items: Get items in a specific collectionget_item_details: Get detailed information about a papersearch_library: Search your entire libraryget_recent: Get recently added papers
Troubleshooting
If you encounter any issues:
-
Verify your environment variables are set:
echo $ZOTERO_API_KEY echo $ZOTERO_USER_ID -
Check the installation:
npm list -g mcp-zotero -
Try reinstalling:
npm uninstall -g mcp-zotero npm install -g mcp-zotero
インストール
npx mcp-zotero設定
{
"mcpServers": {
"zotero": {
"command": "mcp-zotero",
"env": {
"ZOTERO_API_KEY": YOUR_API_KEY,
"ZOTERO_USER_ID": YOUR_USER_ID
}
}
}
}