mcp/sqlite-mcp-server

Verified Publisher

By mcp

Updated 9 months ago

The SQLite MCP Server transforms SQLite into a powerful, AI-ready database engine. It combines st...

Image
Machine learning & AI
1

10K+

mcp/sqlite-mcp-server repository overview

SQLite MCP Server

The SQLite MCP Server transforms SQLite into a powerful, AI-ready database engine. It combines standard relational operations with advanced analytics, text and vector search, geospatial capabilities, and intelligent workflow automation. By layering business intelligence tools, semantic resources, and guided prompts on top of SQLite, it enables both developers and AI assistants to interact with data more naturally and effectively.

What is an MCP Server?

MCP Info

Image Building Info

AttributeDetails
Dockerfilehttps://github.com/neverinfamous/sqlite-mcp-server/blob/bd3d25248d36685fc049e090d28458cabf6ad617/Dockerfile
Commitbd3d25248d36685fc049e090d28458cabf6ad617
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/sqlite-mcp-server --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
LicenceMIT License

Available Tools (25)

Tools provided by this ServerShort Description
read_queryExecute a SELECT query on the SQLite database
write_queryExecute an INSERT, UPDATE, or DELETE query on the SQLite database
create_tableCreate a new table in the SQLite database
list_tablesList all tables in the SQLite database
describe_tableGet the schema information for a specific table
append_insightAdd a business insight to the memo
create_fts_tableCreate a FTS5 virtual table for full-text search
fts_searchPerform enhanced full-text search with ranking and snippets
create_embeddings_tableCreate a table optimized for storing embeddings with metadata
semantic_searchPerform semantic similarity search using cosine similarity
hybrid_searchCombine FTS5 keyword search with semantic similarity
descriptive_statisticsCalculate comprehensive descriptive statistics for a numeric column
correlation_analysisCalculate correlation coefficient between two numeric columns
regression_analysisPerform linear regression analysis between two variables
outlier_detectionDetect outliers using IQR method and Z-score analysis
create_csv_tableCreate a virtual table to access CSV files
create_json_collection_tableCreate virtual table for JSON file collections (JSONL, JSON arrays)
analyze_csv_schemaAnalyze CSV file and infer data types without creating table
fuzzy_matchFind fuzzy matches using Levenshtein distance and sequence matching
text_similarityCalculate text similarity between columns or against reference text
backup_databaseCreate a backup of the database to a file
restore_databaseRestore database from a backup file
vacuum_databaseOptimize database by reclaiming unused space and defragmenting
integrity_checkCheck database integrity and report any corruption
database_statsGet database performance and usage statistics

Tools Details

Tool: read_query

Execute a SELECT query on the SQLite database

ParametersTypeDescription
querystringSELECT SQL query to execute

Tool: write_query

Execute an INSERT, UPDATE, or DELETE query on the SQLite database

ParametersTypeDescription
querystringSQL query to execute

Tool: create_table

Create a new table in the SQLite database

ParametersTypeDescription
querystringCREATE TABLE SQL statement

Tool: list_tables

List all tables in the SQLite database

Tool: describe_table

Get the schema information for a specific table

ParametersTypeDescription
table_namestringName of the table to describe

Tool: append_insight

Add a business insight to the memo

ParametersTypeDescription
insightstringBusiness insight discovered from data analysis

Tool: create_fts_table

Create a FTS5 virtual table for full-text search

ParametersTypeDescription
table_namestringName for the FTS5 table
columnsarrayList of columns to include in FTS5 index

Perform enhanced full-text search with ranking and snippets

ParametersTypeDescription
table_namestringName of the FTS5 table to search
querystringFTS5 search query

Tool: create_embeddings_table

Create a table optimized for storing embeddings with metadata

ParametersTypeDescription
table_namestringName for the embeddings table
embedding_dimnumberDimension of the embedding vectors

Perform semantic similarity search using cosine similarity

ParametersTypeDescription
table_namestringName of the embeddings table to search
query_embeddingarrayQuery embedding vector for similarity search

Combine FTS5 keyword search with semantic similarity

ParametersTypeDescription
embeddings_tablestringName of the embeddings table
fts_tablestringName of the FTS5 table
query_textstringText query for FTS5 keyword search
query_embeddingarrayQuery embedding for semantic search

Tool: descriptive_statistics

Calculate comprehensive descriptive statistics for a numeric column

ParametersTypeDescription
table_namestringName of the table
column_namestringName of the numeric column to analyze

Tool: correlation_analysis

Calculate correlation coefficient between two numeric columns

ParametersTypeDescription
table_namestringName of the table
column_xstringFirst numeric column
column_ystringSecond numeric column

Tool: regression_analysis

Perform linear regression analysis between two variables

ParametersTypeDescription
table_namestringName of the table
x_columnstringIndependent variable column
y_columnstringDependent variable column

Tool: outlier_detection

Detect outliers using IQR method and Z-score analysis

ParametersTypeDescription
table_namestringName of the table
column_namestringName of the numeric column to analyze

Tool: create_csv_table

Create a virtual table to access CSV files

ParametersTypeDescription
table_namestringName for the CSV virtual table
csv_file_pathstringPath to the CSV file

Tool: create_json_collection_table

Create virtual table for JSON file collections (JSONL, JSON arrays)

ParametersTypeDescription
table_namestringName for the JSON collection virtual table
json_file_pathstringPath to JSON file (JSONL or JSON array)

Tool: analyze_csv_schema

Analyze CSV file and infer data types without creating table

ParametersTypeDescription
csv_file_pathstringPath to the CSV file to analyze

Tool: fuzzy_match

Find fuzzy matches using Levenshtein distance and sequence matching

ParametersTypeDescription
table_namestringName of the table
column_namestringName of the column to search
search_termstringTerm to find fuzzy matches for

Tool: text_similarity

Calculate text similarity between columns or against reference text

ParametersTypeDescription
table_namestringName of the table
column_namestringName of the column to analyze

Tool: backup_database

Create a backup of the database to a file

ParametersTypeDescription
backup_pathstringPath where backup file will be created

Tool: restore_database

Restore database from a backup file

ParametersTypeDescription
backup_pathstringPath to backup file to restore from
confirmbooleanConfirmation flag (required to prevent accidental restores)

Tool: vacuum_database

Optimize database by reclaiming unused space and defragmenting

Tool: integrity_check

Check database integrity and report any corruption

Tool: database_stats

Get database performance and usage statistics

Use this MCP Server

{
  "mcpServers": {
    "sqlite-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "mcp/sqlite-mcp-server"
      ]
    }
  }
}

Why is it safer to run MCP Servers with Docker?

Install from MCP:Hub

Tag summary

Content type

Image

Digest

sha256:825a633d6

Size

23.2 MB

Last updated

9 months ago

docker pull mcp/sqlite-mcp-server

This week's pulls

Pulls:

1,038

Jul 6 to Jul 12