1. Conduid
  2. Data
  3. SQLite Book Library With FastMCP
MCP server · Data

SQLite Book Library With FastMCP

Unclaimed last commit a year ago data
30Low

Scored 7 months ago · breakdown

About SQLite Book Library With FastMCP

SQLite Book Library With FastMCP is an MCP server published by 899-12 in the Data category.

Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/899-12/SQLite-Book-Library-with-FastMCP

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about SQLite Book Library With FastMCP

Powered by Claude · Grounded in docs

I know everything about SQLite Book Library With FastMCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

📚 SQLite Book Library with FastMCP

This project implements a simple Book Library backend using:

  • 🛠️ FastMCP: to expose Python functions as AI-callable tools
  • 🗄️ SQLite: to store book data
  • ⚙️ Uvicorn: to serve the tools over an HTTP SSE interface

It allows Language Models (LLMs) to interact with your local database through tool calls — ideal for Retrieval-Augmented Generation (RAG), autonomous agents, or database assistants.


🚀 Features

  • 📖 Add new books using SQL
  • 🔍 Query books with custom SELECT queries
  • 🧠 Designed to integrate with LLM agents (e.g., via LlamaIndex)
  • 🧰 Easily extendable: add update_book() or delete_book() as needed

🔧 Tech Stack

Component Description
FastMCP Lightweight implementation of the MCP standard
SQLite File-based local database (library.db)
Uvicorn ASGI server to host the tool interface
LlamaIndex Agent framework to interact with MCP tool servers

⚙️ What is MCP?

MCP (Model Context Protocol) is an open standard designed to help applications connect large language models (LLMs) to external tools and data.
Think of MCP like a USB-C port for LLMs: it standardizes the way models call functions and access data sources.

Why use MCP?

  • 🔌 Tool interoperability – Easily expose Python functions as callable APIs
  • 🧠 Plug-and-play LLM agents – LLMs can auto-discover and use tools
  • 🔐 Vendor-agnostic – Use with OpenAI, Anthropic, Hugging Face, or local models
  • 🏗️ Workflow-friendly – Ideal for building modular AI agents and pipelines

🛠️ Local MCP Setup

server.py – Your tool server

from mcp.server.fastmcp import FastMCP
mcp = FastMCP('sqlite-book-library')  # Register your toolset

To start the server:

uv run server.py --server_type=sse

🤖 How LLM Agents Use This

Agents connect to your MCP server and call tools directly using natural language instructions.

Example client setup:

from llama_index.tools.mcp import BasicMCPClient, McpToolSpec

mcp_client = BasicMCPClient("http://127.0.0.1:8000/sse")
mcp_tools = McpToolSpec(client=mcp_client)

This client will auto-discover tools like add_book, get_books, and more.

✨ Example instruction to LLM: “Add a book titled The Alchemist by Paulo Coelho, published in 1988, genre Fiction.”

The LLM will convert this into a SQL INSERT and call the add_book() tool.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About SQLite Book Library With FastMCP

How do I install SQLite Book Library With FastMCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is SQLite Book Library With FastMCP safe to use with an AI agent?

Its trust score is 30 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is SQLite Book Library With FastMCP still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.