
NeoDB MCP Server
A Message Control Protocol (MCP) server implementation for interacting with [NeoDB](
What is NeoDB MCP Server?
NeoDB MCP Server is an implementation of the Message Control Protocol (MCP) designed for interacting with NeoDB, a social book cataloging service. It provides tools to fetch user information, search for books, and retrieve detailed book information through NeoDB's API.
How to use NeoDB MCP Server?
To use the NeoDB MCP Server, you need to set it up by installing the UV package installer, creating a virtual environment, and installing the necessary dependencies. After setup, you can interact with the server using various tools provided.
Key features of NeoDB MCP Server?
- Fetch current user's basic information with the
get-user-info
tool. - Search for books in the catalog using the
search-books
tool. - Retrieve detailed information about specific books with the
get-book
tool.
Use cases of NeoDB MCP Server?
- Users can obtain their profile information from NeoDB.
- Developers can integrate book search functionality into their applications.
- Researchers can analyze book data from the NeoDB catalog.
FAQ from NeoDB MCP Server?
- How do I get my access token?
You can obtain your access token by following the official documentation or using the automated script provided in the repository.
- What programming language is used for this project?
The NeoDB MCP Server is implemented in Python.
- Is there a license for this project?
Yes, this project is licensed under the MIT License.
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:
-
get-user-info
- Gets current user's basic information
- No parameters required
-
search-books
- Searches items in the catalog
- Parameters:
query
(string): Search query for books
-
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:
-
Using the official guide: Follow the official documentation to obtain your access token.
-
Using automated script: You can use the neodb-get-access-token script which provides a simplified way to get your access token.
claude_desktop_config.json
Update Config {
"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.