Mcp Getgather Goodreads

Mcp Getgather Goodreads

🚀 goodreads - mcp

goodreads - mcp 是一款用于集成 Goodreads MCP 的命令行工具,它能帮助你便捷地从 Goodreads 获取书籍信息,还可与 Claude Desktop 集成使用。

🚀 快速开始

📦 安装指南

前提条件

若你尚未安装 uv,请先进行安装:

# 在 macOS 和 Linux 系统上
curl -LsSf https://astral.sh/uv/install.sh | sh

# 或者使用 pip 安装
pip install uv

克隆仓库

git clone https://github.com/getgather - hub/mcp - getgather - goodreads.git
cd mcp - getgather - goodreads

💻 使用示例

基础用法

# 从 Goodreads 获取书籍
uv run goodreads - mcp get - books --email your - email@example.com --password your - password

# 使用自定义主机(默认:127.0.0.1:8000)
uv run goodreads - mcp get - books --email your - email@example.com --password your - password --host myserver.com

高级用法

与 Claude Desktop 配合使用

若要在 Claude Desktop 中将 goodreads - mcp 作为 MCP 服务器使用,请按以下步骤操作:

  1. 首先克隆仓库:
git clone https://github.com/getgather - hub/mcp - getgather - goodreads.git
cd mcp - getgather - goodreads
  1. 通过编辑配置文件来配置 Claude Desktop:
    • macOS:~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows:%APPDATA%/Claude/claude_desktop_config.json
  2. 添加以下配置:
{
"mcpServers": {
"goodreads": {
"command": "uv",
"args": [
"--directory",
"/path/to/mcp - getgather - goodreads",
"run",
"goodreads - mcp"
],
"env": {
"GOODREADS_EMAIL": "your - email@example.com",
"GOODREADS_PASSWORD": "your - password",
"GETGATHER_URL": "127.0.0.1:8000"
}
}
}
}

注意:请将 /path/to/mcp - getgather - goodreads 替换为你实际克隆仓库的路径。 4. 重启 Claude Desktop

可用的 MCP 工具

配置完成后,Claude 中将提供以下工具:

  • get_goodreads_books:从你的 Goodreads 图书馆获取书籍

环境变量

MCP 服务器需要以下环境变量:

属性 详情
GOODREADS_EMAIL 你的 Goodreads 账户邮箱
GOODREADS_PASSWORD 你的 Goodreads 账户密码
GETGATHER_URL (可选)服务的主机 URL(默认:127.0.0.1:8000)
  • 0 关注
  • 0 收藏,23 浏览
  • system 提出于 2025-09-19 07:09

相似服务问题

相关AI产品