MCP server for sqlseed - AI-powered SQLite test data generation
Project description
mcp-server-sqlseed
Model Context Protocol (MCP) server for sqlseed — enabling AI assistants to inspect schemas, generate configs, and fill SQLite databases.
Installation
# Basic
pip install mcp-server-sqlseed
# With AI support (includes sqlseed-ai)
pip install mcp-server-sqlseed[ai]
Configuration
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or equivalent:
{
"mcpServers": {
"sqlseed": {
"command": "mcp-server-sqlseed"
}
}
}
Cursor / Other MCP Clients
Use command: mcp-server-sqlseed
MCP Tools
| Tool | Description |
|---|---|
sqlseed_inspect_schema |
Inspect database schema: columns, foreign keys, indexes, sample data, schema_hash. Accepts optional table_name (all tables if omitted). |
sqlseed_generate_yaml |
AI-driven YAML config generation with self-correction. Requires sqlseed-ai plugin and API key. Supports api_key/base_url/model parameter overrides. |
sqlseed_execute_fill |
Execute data generation. Accepts optional yaml_config string, count, and enrich flag. Max YAML config size: 256KB. |
MCP Resource
| Resource | Description |
|---|---|
sqlseed://schema/{db_path}/{table_name} |
Read-only JSON schema for a specific table |
Example Usage
After configuring your MCP client, you can prompt:
"Inspect the schema of
app.db, generate a YAML config for theuserstable, then fill 1000 rows."
The AI assistant will call:
sqlseed_inspect_schema→ get table structuresqlseed_generate_yaml→ generate YAML config (if sqlseed-ai is installed)sqlseed_execute_fill→ fill data
AI Integration
When sqlseed-ai is installed and an API key is configured (SQLSEED_AI_API_KEY or OPENAI_API_KEY), the sqlseed_generate_yaml tool uses LLM-driven analysis with self-correction. Without the AI plugin, the tool returns a fallback message.
Requirements
- Python >= 3.10
sqlseed >= 0.1.0mcp >= 1.0
Optional:
sqlseed-ai(forsqlseed_generate_yamltool)
License
AGPL-3.0-or-later
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_sqlseed-0.1.14.tar.gz.
File metadata
- Download URL: mcp_server_sqlseed-0.1.14.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ab409492463d7015a0369e625be95d59f0e0f75131ce941995cbec47163b4e7
|
|
| MD5 |
d2c317708bfe69bcad08df365ab4d36a
|
|
| BLAKE2b-256 |
320b1d3455453106d40ea17c89fa63bf908ad9b8ea4335c3c74c39934c2df3ec
|
Provenance
The following attestation bundles were made for mcp_server_sqlseed-0.1.14.tar.gz:
Publisher:
publish.yml on sunbos/sqlseed
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_server_sqlseed-0.1.14.tar.gz -
Subject digest:
9ab409492463d7015a0369e625be95d59f0e0f75131ce941995cbec47163b4e7 - Sigstore transparency entry: 1419831736
- Sigstore integration time:
-
Permalink:
sunbos/sqlseed@c611d173016da1aef7eb43532e015cfddbb2dba6 -
Branch / Tag:
refs/tags/v0.1.14 - Owner: https://github.com/sunbos
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c611d173016da1aef7eb43532e015cfddbb2dba6 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mcp_server_sqlseed-0.1.14-py3-none-any.whl.
File metadata
- Download URL: mcp_server_sqlseed-0.1.14-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ce34636aa38cf73ebbf2fd865fd0ec80848ca8ff5b6cecc6a3c32099521ef71
|
|
| MD5 |
b866c5c02782698a7f8d933bbf97d568
|
|
| BLAKE2b-256 |
0b7db0320265e9c6baec6d2421422d69b4b2cf2136f53d03db2e1d26bc3eb12a
|
Provenance
The following attestation bundles were made for mcp_server_sqlseed-0.1.14-py3-none-any.whl:
Publisher:
publish.yml on sunbos/sqlseed
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_server_sqlseed-0.1.14-py3-none-any.whl -
Subject digest:
5ce34636aa38cf73ebbf2fd865fd0ec80848ca8ff5b6cecc6a3c32099521ef71 - Sigstore transparency entry: 1419832188
- Sigstore integration time:
-
Permalink:
sunbos/sqlseed@c611d173016da1aef7eb43532e015cfddbb2dba6 -
Branch / Tag:
refs/tags/v0.1.14 - Owner: https://github.com/sunbos
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@c611d173016da1aef7eb43532e015cfddbb2dba6 -
Trigger Event:
release
-
Statement type: