Skip to main content
Glama
NeoDB MCP Server

NeoDB MCP Server

Official
by xytangme

NeoDB MCP 服务器

一个消息控制协议 (MCP) 服务器实现,用于与社交图书编目服务NeoDB交互。该服务器提供一些工具,用于通过 NeoDB 的 API 获取用户信息、搜索图书以及检索图书详细信息。

设置

安装 UV

首先,安装 UV 包安装程序:

curl -LsSf https://astral.sh/uv/install.sh | sh

创建虚拟环境

使用 UV 创建并激活 Python 虚拟环境:

uv venv
source .venv/bin/activate  # On Unix/macOS
# or
.venv\Scripts\activate     # On Windows

安装依赖项

使用 UV 安装项目依赖项:

uv pip install .

Related MCP server: mcp-bookbrainz

可用工具

该服务器提供以下工具:

  1. 获取用户信息

    • 获取当前用户的基本信息

    • 无需参数

  2. 搜索书籍

    • 搜索目录中的项目

    • 参数:

      • query (字符串):书籍的搜索查询

  3. 获取书籍

    • 获取特定书籍的详细信息

    • 参数:

      • book_id (字符串):要检索的书籍的 ID

与 Claude Desktop 一起使用

获取访问令牌

有两种方法可以获取访问令牌:

  1. 使用官方指南:按照官方文档获取您的访问令牌。

  2. 使用自动脚本:您可以使用neodb-get-access-token脚本,它提供了一种简化的方式来获取您的访问令牌。

更新配置claude_desktop_config.json

{
  "mcpServers": {
    "neodb": {
      "command": "uv",
      "args": [
        "--directory",
        "<PATH_TO_PROJECT_DIR>",
        "run",
        "<PATH_TO_SCRIPT>",
        "<API_BASE> e.g. https://neodb.social",
        "<ACCESS_TOKEN>"
      ]
    }
  }
}

在哪里:

  • <API_BASE> :NeoDB API 的基本 URL

  • <ACCESS_TOKEN> :您的 NeoDB API 访问令牌

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。

Available Tools

3 tools
get-bookC

Get detailed information about a specific book

Inputs: book_id (required).

get-user-infoB

Get current user's basic info

Inputs: no named parameters.

search-booksC

Search items in catalog

Inputs: query (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: get-book retrieves details for a specific book, get-user-info fetches user information, and search-books performs catalog searches. There is no overlap in functionality, making tool selection straightforward for an agent.

    Naming Consistency4/5

    The naming follows a consistent verb_noun pattern with hyphens (e.g., get-book, get-user-info, search-books), which is predictable and readable. The minor deviation is that get-user-info uses 'info' instead of a more specific noun like 'user', but overall the pattern is well-maintained.

    Tool Count3/5

    With only 3 tools, the set feels thin for a database server, potentially lacking operations like create, update, or delete for books or users. While the tools cover basic retrieval and search, the scope suggests more comprehensive functionality might be expected.

    Completeness2/5

    The tool surface is significantly incomplete for a database server, as it only provides read operations (get and search) with no ability to modify data (e.g., create, update, delete books or users). This creates gaps that could lead to agent failures when full CRUD operations are needed.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Provides access to BookBrainz open book metadata, enabling search, lookup, and browsing of works, editions, authors, publishers, and series via natural language or direct tool calls.
      81 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables managing a personal bookshelf (CRUD, reading status, tags) and searching/importing Douban book metadata through MCP tools for AI clients like Claude and Cursor.
      54,355 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables searching for books by title, author, or keyword, retrieving edition details by ISBN, and accessing author profiles and canonical work records through the Open Library API.
      71 npm
      MIT