Sqlite Bun Server
БесплатноНе проверенSqlite Bun Server — Model Context Protocol server
Описание
Sqlite Bun Server — Model Context Protocol server
README
Overview
A Model Context Protocol (MCP) server implementation that provides database interaction and business intelligence capabilities through SQLite. This server enables running SQL queries, analyzing business data, and automatically generating business insight memos.
Installation
- Install Bun if you haven't already
- Clone this repository
- Install dependencies:
bun install - Run the setup script to configure the server in Claude Desktop:
bun run setup
The setup script will automatically add the server configuration to your Claude Desktop config file, located at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Components
Resources
The server exposes a single dynamic resource:
memo://insights: A continuously updated business insights memo that aggregates discovered insights during analysis- Auto-updates as new insights are discovered via the append-insight tool
Prompts
The server provides a demonstration prompt:
mcp-demo: Interactive prompt that guides users through database operations- Required argument:
topic- The business domain to analyze - Generates appropriate database schemas and sample data
- Guides users through analysis and insight generation
- Integrates with the business insights memo
- Required argument:
Tools
The server offers six core tools:
Query Tools
read-query- Execute SELECT queries to read data from the database
- Input:
query(string): The SELECT SQL query to execute
- Returns: Query results as array of objects
write-query- Execute INSERT, UPDATE, or DELETE queries
- Input:
query(string): The SQL modification query
- Returns:
{ affected_rows: number }
create-table- Create new tables in the database
- Input:
query(string): CREATE TABLE SQL statement
- Returns: Confirmation of table creation
Schema Tools
list-tables- Get a list of all tables in the database
- No input required
- Returns: Array of table names
describe-table- View schema information for a specific table
- Input:
table_name(string): Name of table to describe
- Returns: Array of column definitions with names and types
Analysis Tools
append-insight- Add new business insights to the memo resource
- Input:
insight(string): Business insight discovered from data analysis
- Returns: Confirmation of insight addition
- Triggers update of memo://insights resource
Development
Project Structure
src/index.ts: Main server implementationsrc/logger.ts: Logging utilityscripts/setup.ts: Claude Desktop configuration script
Logging
The server maintains detailed logs in:
server.log: Located in the project root directory- Logs include timestamps, log levels (DEBUG, INFO, WARN, ERROR, FATAL), and structured metadata
Database
The SQLite database file is created at:
data.sqlite: Located in the project root directory- Created automatically if it doesn't exist
Available Scripts
bun run setup: Configure the server in Claude Desktopbun run lint: Run ESLint checksbun run lint:fix: Fix ESLint issues automaticallybun run inspect: Run the MCP inspector
License
This MCP server is licensed under the MIT License. See the LICENSE file for details.
Установка Sqlite Bun Server
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/jacksteamdev/mcp-sqlite-bun-serverFAQ
Sqlite Bun Server MCP бесплатный?
Да, Sqlite Bun Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Sqlite Bun Server?
Нет, Sqlite Bun Server работает без API-ключей и переменных окружения.
Sqlite Bun Server — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Sqlite Bun Server в Claude Desktop, Claude Code или Cursor?
Открой Sqlite Bun Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
wenb1n-dev/SmartDB_MCP
A universal database MCP server supporting simultaneous connections to multiple databases. It provides tools for database operations, health analysis, SQL optim
автор: wenb1n-devPostgres Server
This server enables interaction with PostgreSQL databases through the Model Context Protocol, optimized for the AWS Bedrock AgentCore Runtime. It provides tools
автор: madhurprashPostgres
Query your database in natural language
автор: AnthropicPostgreSQL
Read-only database access with schema inspection.
автор: modelcontextprotocolCompare Sqlite Bun Server with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории data
