A simple SQLite MCP server
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
SQLite MCP Server
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 that can be enhanced with Claude's analysis when an Anthropic API key is provided.
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
- Optional enhancement through Claude for professional formatting (requires Anthropic API key)
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
Usage with Claude Desktop
# Add the server to your claude_desktop_config.json
"mcpServers": {
"sqlite": {
"command": "uv",
"args": [
"--directory",
"parent_of_servers_repo/servers/src/sqlite",
"run",
"mcp-server-sqlite",
"--db-path",
"~/test.db"
]
}
}
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_server_sqlite-0.5.0.tar.gz.
File metadata
- Download URL: mcp_server_sqlite-0.5.0.tar.gz
- Upload date:
- Size: 21.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3420d9082fb38532cd670218c014994715c2f8c638191ece6f303f2e7d76c781
|
|
| MD5 |
d9a53c57304f7913cffc928ed92de1a4
|
|
| BLAKE2b-256 |
51ab0fd9a54a929376ff443675c2ab8cc66510a28d66f268277fea61b0a2d0e3
|
Provenance
The following attestation bundles were made for mcp_server_sqlite-0.5.0.tar.gz:
Publisher:
python.yml on modelcontextprotocol/servers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_server_sqlite-0.5.0.tar.gz -
Subject digest:
3420d9082fb38532cd670218c014994715c2f8c638191ece6f303f2e7d76c781 - Sigstore transparency entry: 151346287
- Sigstore integration time:
-
Permalink:
modelcontextprotocol/servers@45c4f70da468e2d81b9efe0d736b49efde1b9263 -
Branch / Tag:
refs/tags/0.5.0 - Owner: https://github.com/modelcontextprotocol
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@45c4f70da468e2d81b9efe0d736b49efde1b9263 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mcp_server_sqlite-0.5.0-py3-none-any.whl.
File metadata
- Download URL: mcp_server_sqlite-0.5.0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d41d8d018088089af6f43ea04c6f0bad51b99d02017d68e2af517ddfc86d7a87
|
|
| MD5 |
f57e166dad7ab74ddd9bb40fcd13b8a8
|
|
| BLAKE2b-256 |
62c4c6c3825fec7157f7bac7726e5b1ee76eb82b9abc72adfc054419dcdbbe49
|
Provenance
The following attestation bundles were made for mcp_server_sqlite-0.5.0-py3-none-any.whl:
Publisher:
python.yml on modelcontextprotocol/servers
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_server_sqlite-0.5.0-py3-none-any.whl -
Subject digest:
d41d8d018088089af6f43ea04c6f0bad51b99d02017d68e2af517ddfc86d7a87 - Sigstore transparency entry: 151346291
- Sigstore integration time:
-
Permalink:
modelcontextprotocol/servers@45c4f70da468e2d81b9efe0d736b49efde1b9263 -
Branch / Tag:
refs/tags/0.5.0 - Owner: https://github.com/modelcontextprotocol
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python.yml@45c4f70da468e2d81b9efe0d736b49efde1b9263 -
Trigger Event:
release
-
Statement type: