A simple SQLite MCP server
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 on the databasewrite-query
: Execute INSERT, UPDATE, or DELETE queriescreate-table
: Create new database tables
Schema Tools
list-tables
: Get a list of all tables in the databasedescribe-table
: View the schema of a specific table
Analysis Tools
append-insight
: Add new business insights to the memo resource
Installation
# 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"
]
}
}
Project details
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
File details
Details for the file mcp_server_sqlite-0.4.0.tar.gz
.
File metadata
- Download URL: mcp_server_sqlite-0.4.0.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6439ade39561c77710780c6fef2729306a585beed8f16a0d88b6bcd003cb62dc |
|
MD5 | 2eec8ab959d133a07ef1c5e45115bce7 |
|
BLAKE2b-256 | 0e5cc35c76c5de5e5e1a34facf095c1b09a9a4953e69c1ac6de446f4ddaf289c |
Provenance
The following attestation bundles were made for mcp_server_sqlite-0.4.0.tar.gz
:
Publisher:
python.yml
on modelcontextprotocol/servers
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
mcp_server_sqlite-0.4.0.tar.gz
- Subject digest:
6439ade39561c77710780c6fef2729306a585beed8f16a0d88b6bcd003cb62dc
- Sigstore transparency entry: 150642189
- Sigstore integration time:
- Predicate type:
File details
Details for the file mcp_server_sqlite-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: mcp_server_sqlite-0.4.0-py3-none-any.whl
- Upload date:
- Size: 8.2 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 | 6f2f0fdcc64bfcce9437e61511fad752682fc28b4f2896017407baa1e5a3317b |
|
MD5 | 3e3405d89ad27255141295e52aa70c3e |
|
BLAKE2b-256 | d8631686959b6a74e87f19b8136c305fb5bf4af1db96a803466ebcfdf12c6a90 |
Provenance
The following attestation bundles were made for mcp_server_sqlite-0.4.0-py3-none-any.whl
:
Publisher:
python.yml
on modelcontextprotocol/servers
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
mcp_server_sqlite-0.4.0-py3-none-any.whl
- Subject digest:
6f2f0fdcc64bfcce9437e61511fad752682fc28b4f2896017407baa1e5a3317b
- Sigstore transparency entry: 150642190
- Sigstore integration time:
- Predicate type: