P

neodb-mcp

...
Created 12/31/2024byxytangme

Language:

Python

Stars:

2

Forks:

3

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.

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",
        "",
        "run",
        "",
        " e.g. https://neodb.social",

            
        
            
                        ""
      ]
    }
  }
}

Where:

  • ``: The base URL for the NeoDB API
  • ``: Your NeoDB API access token

License

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

Last updated: 2/8/2025

Publisher info

xytangme's avatar

Xiaoyan Tang

0
followers
0
following
2
repos

More MCP servers built with Python

usgs-water-mcp

This MCP server provides access to real-time water data from the USGS Water Services API. It allows you to fetch instantaneous water measurements including stream flow, gage height, temperature, and other water quality parameters from thousands of monitoring stations across the United States.

By pgiffy
screeny

Privacy-focused macOS MCP server for secure, user-approved window screenshots

By rohanrav
Freepik MCP

Freepik MCP allows LLMs to access everything available through the Freepik API — including searching and retrieving images, icons, illustrations, and using tools for image generation, video creation, and image enhancement — all in an LLM-friendly format.

By Freepik Company