DataBook
Provides tools for managing SQLite databases, including creating, querying, and modifying databases, tables, and data.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DataBookShow me the schema of the users table"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DataBook
An AI-editable SQL database app powered by MCP. The MCP server is the app — its tool definitions encode the product decisions. The AI's capabilities become the feature set.
What is DataBook?
DataBook is a Model Context Protocol (MCP) server that gives AI assistants full control over a collection of SQLite databases. Instead of building a traditional CRUD UI, DataBook exposes database operations as MCP tools — letting any MCP-capable AI client (Claude, Cursor, etc.) act as the interface.
Related MCP server: database-analytics-mcp
Tools
Database Management
Tool | Description |
| List all available databases |
| Choose which database to work with |
| Create a new empty database |
| Delete a database permanently |
Schema Management
Tool | Description |
| List all tables in the selected database |
| Show table schema and column definitions |
| Create a table with column definitions |
| Add, rename, drop columns, or rename the table |
| Delete a table and all its data |
Data CRUD
Tool | Description |
| Insert one or more rows |
| Update rows matching a WHERE condition |
| Delete rows matching a WHERE condition |
Query
Tool | Description |
| Execute any SQL statement and return results |
Query Pages (Views)
Tool | Description |
| Save a named query with a view type (table, kanban, calendar, etc.) |
| List all saved query pages for the current database |
| Rename, change query, or change view type |
| Remove a saved query page |
Storage
Each database is a separate
.dbSQLite file stored in~/.databook/(configurable viaDATABOOK_DIR)Query pages are stored in
~/.databook/.meta.db— a metadata SQLite database
Setup
Install
npm install
npm run buildRun
npm start
# or
node dist/index.jsConfigure data directory
DATABOOK_DIR=/path/to/data node dist/index.jsConnecting to Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"databook": {
"command": "node",
"args": ["/path/to/DataBook/dist/index.js"],
"env": {
"DATABOOK_DIR": "/path/to/your/data"
}
}
}
}Or using npx after publishing:
{
"mcpServers": {
"databook": {
"command": "npx",
"args": ["databook"]
}
}
}Architecture
DataBook MCP Server (TypeScript)
│
├── DatabaseManager # Core logic layer
│ ├── SQLite files # One .db file per database (via better-sqlite3)
│ └── .meta.db # Query pages metadata
│
└── McpServer (stdio) # MCP transport
└── 17 tools # The complete feature setDevelopment
npm run dev # Watch mode (recompiles on change)
npm run build # Production buildThis server cannot be deployed
Maintenance
Related MCP Connectors
An agent-native database over MCP: shared, validated, structured records in every AI chat.
Cross-tool persistent memory and context for AI assistants over MCP.
1Explore, query, and inspect SQLite databases with ease. List tables, preview results, and view det…
Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceExposes sqlite3 database functionality as MCP tools, enabling SQL query execution, schema management, and CRUD operations.1MIT
- FlicenseAqualityDmaintenanceProvides SQLite database analytics operations through MCP, enabling AI assistants to connect, query, explore schema, and export data from SQLite databases.47-
- AlicenseNot gradedqualityDmaintenanceProvides a set of MCP tools to let AI assistants like Claude, Cursor, and VS Code Copilot interact with SQLite databases, supporting querying, schema management, and data import/export.10 npmMIT
- FlicenseNot gradedqualityCmaintenanceExposes any SQLite database as read-only MCP tools for AI assistants, enabling listing tables, describing schemas, and running SELECT queries with filtering, ordering, and pagination.-