Supabase
MCP server for interacting with the Supabase platform
作者提供的说明(英文原文)
MCP server for local SQLite database operations
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"sqlite-tools": {
"command": "npx",
"args": [
"-y",
"mcp-sqlite-tools"
]
}
}
}在终端中运行这条命令
claude mcp add sqlite-tools -- npx -y mcp-sqlite-tools粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"sqlite-tools": {
"command": "npx",
"args": [
"-y",
"mcp-sqlite-tools"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"sqlite-tools": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-sqlite-tools"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 spences10 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.0.11)于14个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP server for interacting with the Supabase platform
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
A Model Context Protocol (MCP) server for safe, local SQLite database operations. It gives MCP clients explicit read, write, schema, transaction, CSV, backup, and maintenance tools.
The MCP client starts this server through npx; a global installation is not required.
MCPick can add the server to a supported client without manual JSON editing. This command targets Claude Code's local scope by default:
npx -y mcpick add \
--name sqlite-tools \ --command npx \ --args "-y,mcp-sqlite-tools"
Select a client and scope explicitly when needed:
npx -y mcpick add \
--name sqlite-tools \ --command npx \ --args "-y,mcp-sqlite-tools" \ --client vscode \ --scope project
The add command supports Claude Code, Gemini CLI, VS Code, Cursor, Windsurf, OpenCode, and Pi. Run npx mcpick clients to see current client capabilities, scopes, and configuration locations.
The examples track the latest package release. For reproducible configuration, replace mcp-sqlite-tools in --args with an exact version such as mcp-sqlite-tools@x.y.z.
For unsupported clients or advanced configuration, add the server manually:
{
"mcpServers": { "mcp-sqlite-tools": { "command": "npx", "args": ["-y", "mcp-sqlite-tools"], "env": { "SQLITE_DEFAULT_PATH": ".", "SQLITE_ALLOW_ABSOLUTE_PATHS": "true", "SQLITE_BUSY_TIMEOUT": "30000", "SQLITE_JOURNAL_MODE": "wal", "SQLITE_BACKUP_PATH": "./backups" } } } }
VS Code uses a servers object instead of mcpServers. See the configuration guide for more client-specific examples.
| Variable | Purpose | Default |
|---|---|---|
SQLITE_DEFAULT_PATH | Base directory for database files | . |
SQLITE_ALLOW_ABSOLUTE_PATHS | Allow paths outside the default directory | true |
SQLITE_BACKUP_PATH | Default backup directory | Default database path |
SQLITE_BUSY_TIMEOUT | SQLite lock busy timeout in milliseconds | 30000 |
SQLITE_JOURNAL_MODE | delete, truncate, persist, or wal | wal |
DEBUG | Enable diagnostic logging | false |
When SQLITE_ALLOW_ABSOLUTE_PATHS=false, relative and absolute paths must resolve inside SQLITE_DEFAULT_PATH. Symbolic links cannot be used to escape that directory.
Use SQLITE_JOURNAL_MODE=delete for databases in file-synchronized directories. The unsafe SQLite modes memory and off are not accepted.
SQLITE_MAX_QUERY_TIME remains available as a deprecated alias for SQLITE_BUSY_TIMEOUT. It does not limit wall-clock query runtime.
Tools are separated by intent so MCP clients can apply clear approval rules.
| Tool | Purpose |
|---|---|
open_database | Open an existing database |
close_database | Close one database connection |
list_databases | Find database files in a directory |
database_info | Read file and SQLite metadata |
list_tables | List tables and views |
describe_table | Read columns and constraints |
backup_database | Create a consistent online backup |
export_csv | Export a table or read-only query |
export_schema | Export schema as SQL or JSON |
execute_read_query | Run one SQLite read-only statement |
| Tool | Purpose |
|---|---|
create_database | Create a new database file |
create_table | Create a table from validated columns |
drop_table | Drop a table and its data |
execute_write_query | Run INSERT, UPDATE, or DELETE |
execute_schema_query | Run one schema statement |
bulk_insert | Insert records in batches |
import_csv | Import a headered CSV file |
import_schema | Apply SQL or JSON schema objects |
vacuum_database | Rebuild a database to reclaim space |
begin_transaction | Begin a transaction or nested savepoint |
commit_transaction | Commit or release a savepoint |
rollback_transaction | Roll back a transaction or savepoint |
See the complete API reference for parameters, responses, examples, pagination, and CSV options.
The server does not treat every SQL string as equivalent:
execute_read_query uses SQLite's authorizer API to reject writes, schema changes, unsafe PRAGMAs, attachment, and multiple statements.A client can allow read-only tools and require approval for destructive tools. Always review SQL and file paths before approving changes. Back up important databases before schema changes, imports, or large writes.
Using node:sqlite removes the native addon, its install script, and its platform-specific binaries. A clean production install fell from 31.3 MB with better-sqlite3 to 3.6 MB with native SQLite, an 88.5% reduction. The npm tarball itself is similar in size: 63.1 KB native versus 60.0 KB published. The large saving is in the installed dependency tree.
The migration also removes better-sqlite3 and its type package. It makes installation independent of prebuilt addon availability or a working native compiler.
Lower times are better. These medians use 20,000 rows, two warmups, and seven measured runs per driver. Each sample uses a new database and the driver order alternates. Setup is outside the measured region except for the insert workload.
| Workload | node:sqlite | better-sqlite3 | Native result |
|---|---|---|---|
| Insert transaction | 11.13 ms | 23.78 ms | 2.14× faster |
| Indexed point reads | 25.23 ms | 21.40 ms | 17.9% slower |
| Full row scan | 6.39 ms | 3.29 ms | 94.3% slower |
| Update transaction | 8.04 ms | 15.40 ms | 1.92× faster |
| Online backup | 0.55 ms | 0.38 ms | 45.0% slower |
Measured on Linux x64 with Node.js 24.15.0 and an AMD Ryzen AI 9 HX 370. Node used SQLite 3.51.3; better-sqlite3@13.0.1 used SQLite 3.53.3. These microbenchmarks show driver trade-offs, not complete MCP performance. MCP transport and validation costs are not included.
git clone https://github.com/spences10/mcp-sqlite-tools.git
cd mcp-sqlite-tools pnpm install pnpm run check pnpm test pnpm run build
See development and architecture for module responsibilities and other development commands.
Issues and pull requests are welcome.
MIT License. See LICENSE.