Skip to main content

Add your description here

Project description

NeoDB MCP Server

A Message Control Protocol (MCP) server implementation for interacting with NeoDB, a social book cataloging service. This server provides tools to fetch user information, search books, and retrieve detailed book information through NeoDB's API.

NeoDB Server MCP server

Setup

Install UV

First, install UV package installer:

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

Create Virtual Environment

Create and activate a Python virtual environment using UV:

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

Install Dependencies

Install project dependencies using UV:

uv pip install .

Available Tools

The server provides the following tools:

  1. get-user-info

    • Gets current user's basic information
    • No parameters required
  2. search-books

    • Searches items in the catalog
    • Parameters:
      • query (string): Search query for books
  3. get-book

    • Gets detailed information about a specific book
    • Parameters:
      • book_id (string): The ID of the book to retrieve

Usage with Claude Desktop

Get Access Token

There are two ways to get your access token:

  1. Using the official guide: Follow the official documentation to obtain your access token.

  2. Using automated script: You can use the neodb-get-access-token script which provides a simplified way to get your access token.

Update Config 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>"
      ]
    }
  }
}

Where:

  • <API_BASE>: The base URL for the NeoDB API
  • <ACCESS_TOKEN>: Your NeoDB API access token

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mseep_neodb_mcp-0.1.1.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mseep_neodb_mcp-0.1.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file mseep_neodb_mcp-0.1.1.tar.gz.

File metadata

  • Download URL: mseep_neodb_mcp-0.1.1.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.12

File hashes

Hashes for mseep_neodb_mcp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5e63db205ed040dcfc1dd765c789760b42ea6f85eff7b6cd033de9104c803e1a
MD5 21101d3dd313683bbcd84502525e373f
BLAKE2b-256 d13884aa1671f8b6220c701d6927b4469b09e9684643f1ce29024fbdc3339242

See more details on using hashes here.

File details

Details for the file mseep_neodb_mcp-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mseep_neodb_mcp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c631285176ed31916e3870599681bea91cf9a4dfc03ff1b031556a97cd95f056
MD5 f0488a9db7d8aca68c6c7cd6035062ba
BLAKE2b-256 685efbe72c3009b4726750a3f2b6d7600b3077b45b6a7c26c98f70804bb40a84

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page