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.0.tar.gz (10.0 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.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mseep_neodb_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 10.0 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.0.tar.gz
Algorithm Hash digest
SHA256 bb39bb2717dd4d1ee25ab27ecbefd87afdc6a08541a968b680855d8f12eb8474
MD5 51b289b2bd2747e5000ccc55735b7c53
BLAKE2b-256 4851854645916a7b1f0469589744cecfa93817de113bc44e7742c0e87b41bd8d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mseep_neodb_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5025707974cd661a7a7dadc7a6ec27d70acb24c4a97f8d6e6af27ee60c72f4a
MD5 ed2ef1e280240fb116281897586a24c0
BLAKE2b-256 3536a08bd959dd48dfc929362f239098c68c92514bb8b5d33d65a9eccd4bddeb

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