Skip to content
MCP server
Registry

database-mcp-libsql MCP Server

MCP server for SQLite databases. Read-only by default, row caps, statement timeouts.

database-mcp-libsql scores 66 (Good), licensed MIT and written in Rust. It installs as a local process. It does not declare tools yet. Filed under Databases. GitHub shows 5 stars. Package registries report about 102 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by arifulislamatMITRust5 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 3 + 10 + 4 + 7 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity3 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 3 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "arifulislamat-database-mcp": {      "command": "npx",      "args": [        "-y",        "@database-mcp/sqlite@0.5.0"      ],      "env": {        "SQLITE_PATH": ""      }    }  }}

Environment variables

NameRequiredNotes
SQLITE_PATHRequiredPath to the SQLite database file
SQLITE_PATHRequiredPath to the SQLite database file
SQLITE_PATHRequiredPath to the SQLite database file

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

database-mcp

CI License: MIT npm PyPI crates.io Node >= 22

MCP servers that give AI clients safe, structured access to SQL databases.

One installable package per database engine, in TypeScript (npm), Python (PyPI), and Rust (crates.io). Every package exposes the same minimal two-tool surface, execute_sql and search_objects, with guardrails on by default: read-only mode, row caps, and statement timeouts.

Packages

EngineTypeScript (npm)Python (PyPI)Rust (crates.io)
SQLite@database-mcp/sqlite npmdatabase-mcp-sqlite PyPIdatabase-mcp-rs-sqlite crates.io
libSQL@database-mcp/libsql npmdatabase-mcp-libsql PyPIdatabase-mcp-rs-libsql crates.io
MySQL@database-mcp/mysql npmdatabase-mcp-mysql PyPIdatabase-mcp-rs-mysql crates.io
MariaDB@database-mcp/mariadb npmdatabase-mcp-mariadb PyPIdatabase-mcp-rs-mariadb crates.io
Postgres@database-mcp/postgres npmdatabase-mcp-postgres PyPIdatabase-mcp-rs-postgres crates.io

All three lines are published and pass the same language-agnostic conformance suite against real databases in CI, so behavior is identical regardless of language. Every engine is also listed on the MCP Registry with all three install options: npm, PyPI, and cargo.

Rust crates are named database-mcp-rs-<engine> because the plain names are taken on crates.io; the command each one installs is still database-mcp-<engine>. Go is planned.

Design principles

  • Two tools, no more. A tiny tool surface keeps the model's context window clean. search_objects progressively discloses schema: call it with no arguments to list tables, with a table name to get columns, indexes, and foreign keys.
  • Safe by default. Read-only mode is enforced in two layers: a conservative SQL guard, plus a session-level read-only setting in the database itself. Rows are capped (default 1000) and statements time out (default 30s).
  • Configured at launch, never via chat. Connection details come from flags, a YAML config file, or environment variables. Credentials are never accepted through a tool call.
  • Secrets never appear in logs. Passwords live in non-printable secret types, DSNs are sanitized before logging, and a redaction filter guards the log boundary.

Quick start

Pick your engine's package; each README has the full config surface. SQLite via npm:

{
  "mcpServers": {
    "sqlite": {
      "command": "npx",
      "args": ["-y", "@database-mcp/sqlite", "--dsn", "/absolute/path/to/database.db"]
    }
  }
}

Or via PyPI: use "command": "uvx" and "args": ["database-mcp-sqlite", "--dsn", "/absolute/path/to/database.db"].

Or as a native binary, with no Node or Python runtime: run cargo install database-mcp-rs-sqlite, then use "command": "database-mcp-sqlite" with the same args minus the package name.

Flags, environment variables, and YAML config are identical across all three lines.

Networked engines take credentials from the environment (MYSQL_*, MARIADB_*, POSTGRES_*/DATABASE_URL, LIBSQL_URL/LIBSQL_AUTH_TOKEN), *_FILE mounted secrets, or a YAML file via --config. Never from a chat prompt.

Contributing

See CONTRIBUTING.md. The short version: the conformance suite is the definition of done. A change is mergeable only when conformance/run.mjs passes against every affected server.

License

MIT

Frequently asked questions

What is database-mcp-libsql MCP Server?

MCP server for SQLite databases. Read-only by default, row caps, statement timeouts.

How do I install database-mcp-libsql MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. database-mcp-libsql MCP Server runs locally from the npm package @database-mcp/sqlite with the command npx -y @database-mcp/sqlite@0.5.0.

Is database-mcp-libsql MCP Server free and open source?

Yes. database-mcp-libsql MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does database-mcp-libsql MCP Server support remote (HTTP) connections?

No remote endpoint is listed for database-mcp-libsql MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is database-mcp-libsql MCP Server's trust score calculated?

database-mcp-libsql MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server