db-mcp (SQLite MCP Server)
SQLite MCP server with OAuth 2.1, HTTP/SSE, 122 tools, and smart tool filtering
11 stars47 downloads/wk
Reviews
Write oneNobody has reviewed db-mcp (SQLite MCP Server) yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
db-mcp (SQLite MCP Server) tools (100, 19 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
sqlite_advanced_searchAdvanced search combining exact, fuzzy (Levenshtein), and phonetic (Soundex) matching
sqlite_analyzeAnalyze table statistics to improve query performance.
sqlite_analyze_csv_schemaAnalyze a CSV file structure and infer column types. Uses a temporary virtual table.
sqlite_append_insightAdd a business insight to the memo://insights resource. Use this to capture key findings during data analysis.
sqlite_backupwrite actionCreate a backup of the database to a file.
sqlite_create_csv_tablewrite actionCreate a virtual table from a CSV file. Requires the csv extension.
sqlite_create_indexwrite actionCreate an index on one or more columns to improve query performance.
sqlite_create_json_collectionwrite actionCreate an optimized JSON document collection table with ID, data column, optional timestamps, and JSON path indexes.
sqlite_create_tablewrite actionCreate a new table in the database with specified columns and constraints.
sqlite_create_viewwrite actionCreate a view based on a SELECT query.
sqlite_dbstatGet database storage statistics using dbstat virtual table.
sqlite_describe_tableGet detailed schema information for a table including columns, types, and constraints.
sqlite_drop_tablewrite actionDrop (delete) a table from the database. This is irreversible!
sqlite_drop_viewwrite actionDrop (delete) a view from the database.
sqlite_drop_virtual_tablewrite actionDrop a virtual table.
sqlite_fts_createwrite actionCreate an FTS5 full-text search virtual table.
sqlite_fts_match_infoGet FTS5 match ranking information using bm25.
sqlite_fts_rebuildRebuild an FTS5 index to optimize search performance.
sqlite_fts_searchSearch an FTS5 table using full-text query syntax.
sqlite_fuzzy_matchFind fuzzy matches using Levenshtein distance. By default, splits values into tokens and matches against each word (use tokenize:false to match entire value). Use maxDistance 1-3 for similar-length strings.
sqlite_generate_seriesGenerate a series of numbers using generate_series() virtual table.
sqlite_geo_bounding_boxFind points within a rectangular bounding box.
sqlite_geo_clusterCluster geographic points into grid cells.
sqlite_geo_distanceCalculate the distance between two geographic points using Haversine formula.
sqlite_geo_nearbyFind points within a radius of a center point.
sqlite_get_indexesList all indexes in the database, optionally filtered by table.
sqlite_index_statsGet detailed statistics for database indexes.
sqlite_integrity_checkCheck database integrity for corruption or errors.
sqlite_json_analyze_schemaAnalyze JSON data in a column to infer its schema (types, nullability, counts).
sqlite_json_array_appendAppend a value to a JSON array using json_insert().
sqlite_json_array_lengthGet the length of a JSON array at the specified path.
sqlite_json_eachExpand a JSON array or object into rows using json_each().
sqlite_json_extractExtract a value from a JSON column at the specified path using json_extract().
sqlite_json_group_arrayAggregate column values into a JSON array using json_group_array().
sqlite_json_group_objectAggregate key-value pairs into a JSON object using json_group_object().
sqlite_json_insertwrite actionInsert a row with JSON data. Automatically normalizes JSON for consistent storage.
sqlite_json_keysGet the distinct keys of JSON objects at the specified path (returns unique keys across all matching rows).
sqlite_json_mergeMerge JSON object into existing JSON column using json_patch().
sqlite_json_normalize_columnNormalize JSON data in a column (sort keys, compact format) for consistent storage and comparison.
sqlite_json_prettyFormat JSON string with indentation for readability.
sqlite_json_queryQuery JSON data with path-based filters and projections.
sqlite_json_removewrite actionRemove a value at a JSON path using json_remove().
sqlite_json_selectSelect rows and optionally extract specific JSON paths.
sqlite_json_setSet a value at a JSON path using json_set(). Creates path if it does not exist.
sqlite_json_storage_infoAnalyze storage format of a JSON column (text vs JSONB) and report statistics.
sqlite_json_typeGet the JSON type (null, true, false, integer, real, text, array, object) at a path.
sqlite_json_updatewrite actionUpdate a value at a specific JSON path using json_set().
sqlite_json_validCheck if a string is valid JSON.
sqlite_json_validate_pathValidate a JSON path syntax without executing a query.
sqlite_jsonb_convertConvert a text JSON column to JSONB binary format for faster processing. Requires SQLite 3.45+.
sqlite_list_tablesList all tables and views in the database with their column counts.
sqlite_list_viewsList all views in the database.
sqlite_list_virtual_tablesList all virtual tables in the database.
sqlite_optimizeOptimize database by reindexing and/or analyzing.
sqlite_phonetic_matchFind phonetically similar values using Soundex (SQLite native) or Metaphone algorithm.
sqlite_pragma_compile_optionsGet the compile-time options used to build SQLite. Use the filter parameter to reduce output (~50+ options by default).
sqlite_pragma_database_listList all attached databases.
sqlite_pragma_optimizewrite actionRun PRAGMA optimize to improve query performance based on usage patterns.
sqlite_pragma_settingsGet or set a PRAGMA value.
sqlite_pragma_table_infoGet detailed column information for a table.
sqlite_read_querywrite actionExecute a SELECT query on the SQLite database. Returns rows as JSON. Use parameter binding for safety.
sqlite_regex_extractExtract text matching a regex pattern. Processed in JavaScript after fetching data.
sqlite_regex_matchFind rows where column matches a regex pattern. Processed in JavaScript.
sqlite_restoreRestore database from a backup file. WARNING: This replaces the current database.
sqlite_stats_basicGet basic statistics (count, sum, avg, min, max) for a numeric column.
sqlite_stats_correlationCalculate Pearson correlation coefficient between two numeric columns.
sqlite_stats_countCount rows, optionally distinct values in a column.
sqlite_stats_distinctGet distinct values from a column.
sqlite_stats_frequencyGet frequency distribution of values in a column.
sqlite_stats_group_byAggregate statistics grouped by a column.
sqlite_stats_histogramwrite actionCreate a histogram with specified number of buckets.
sqlite_stats_hypothesisPerform statistical hypothesis tests: one-sample t-test, two-sample t-test, or chi-square test.
sqlite_stats_outliersDetect outliers using IQR (Interquartile Range) or Z-score method.
sqlite_stats_percentileCalculate percentiles (median, quartiles, etc.) for a column.
sqlite_stats_regressionPerform linear or polynomial regression analysis between two columns.
sqlite_stats_summaryGet summary statistics for multiple columns at once.
sqlite_stats_top_nGet top N values from a column.
sqlite_text_caseConvert text to uppercase or lowercase.
sqlite_text_concatConcatenate multiple columns with optional separator.
sqlite_text_normalizeNormalize text using Unicode normalization (NFC, NFD, NFKC, NFKD) or strip accents.
sqlite_text_replaceReplace text in a column using SQLite replace() function.
sqlite_text_splitSplit a text column by delimiter into array results.
sqlite_text_substringExtract a substring from text column using substr().
sqlite_text_trimTrim whitespace from text column values.
sqlite_text_validateValidate text values against patterns: email, phone, URL, UUID, IPv4, or custom regex.
sqlite_vacuumRebuild the database to reclaim space and optimize structure.
sqlite_vector_batch_storeStore multiple vectors in a batch operation.
sqlite_vector_countCount vectors in a table.
sqlite_vector_create_tablewrite actionCreate a table optimized for vector storage with JSON vector column.
sqlite_vector_deletewrite actionDelete vectors by their IDs.
sqlite_vector_dimensionsGet the dimensions of vectors in a table.
sqlite_vector_distanceCalculate distance or similarity between two vectors.
sqlite_vector_getRetrieve a vector by its ID.
sqlite_vector_normalizeNormalize a vector to unit length.
sqlite_vector_searchFind similar vectors using cosine, euclidean, or dot product similarity.
sqlite_vector_statsGet statistics about vectors in a table.
sqlite_vector_storeStore or update a vector in the database.
sqlite_verify_backupVerify a backup file's integrity without restoring it.
sqlite_virtual_table_infoGet metadata about a specific virtual table.
sqlite_write_querywrite actionExecute an INSERT, UPDATE, or DELETE query. Returns affected row count. Use parameter binding for safety.
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan104 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 3 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Install db-mcp (SQLite MCP Server) in Claude Code, Cursor or VS Code
Runs npx -y db-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add db-mcp -- npx -y db-mcp
What the publisher says
From the db-mcp (SQLite MCP Server) repository's README, as published. We do not edit it. Read it on GitHub
db-mcp (SQLite MCP Server)
<!-- mcp-name: io.github.neverinfamous/db-mcp -->
SQLite MCP Server with 170+ specialized tools, 11 data resources + 11 help resources, and 10 prompts, audit logging with DDL backup snapshots, HTTP/SSE Transport, OAuth 2.1 authentication, tool filtering, granular access control, and structured error handling with categorized, actionable responses. Available in WASM and better-sqlite3 variants.
Wiki • Changelog
🎯 What Sets Us Apart
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
db-mcp (SQLite MCP Server): common questions
- Is db-mcp (SQLite MCP Server) safe?
- Yes, by our scan: it is graded A (92/100). Read the db-mcp (SQLite MCP Server) safety report
- How do I install db-mcp (SQLite MCP Server)?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does db-mcp (SQLite MCP Server) need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is db-mcp (SQLite MCP Server) maintained?
- The last commit was 18 days ago (2026-09-25). The latest release is v1.0.2.
- What can I use instead of db-mcp (SQLite MCP Server)?
- Servers from other publishers that do the same job: DBHub MCP server, Mindwtr MCP server and Kubeshark MCP server. Compare all db-mcp (SQLite MCP Server) alternatives.
Alternatives to db-mcp (SQLite MCP Server)
Same job from other publishers: the closest match first, then the best rated.
- DBHubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLitenot reviewedWidely usedA
MindwtrTask automation via SQLite, desktop Local API, or Mindwtr Cloud; read-only by default.not reviewedEstablishedA- KubesharkReal-time Kubernetes network traffic visibility and API analysis for HTTP, gRPC, Redis, Kafka, DNS.not reviewedEstablishedA
- RememLocal-first automatic memory for Claude Code and Codex: capture, distill, recall from SQLite.not reviewedEstablishedB
- SagaJira-like project tracker for AI agents with SQLite, full task hierarchy, and dashboardnot reviewedGrowingA