Skip to main content

MCP server exposing sqlite3 library functionality

Project description

mcp-sqlite3

MCP server exposing sqlite3 library functionality

PyPI Python Ruff

Install

pip install mcp-sqlite3

Usage

from mcp_sqlite3 import mcp_server

mcp_server.run()

CLI

mcp-sqlite3 --help

API

Exposes complete sqlite3 functionality as MCP tools.

Connection Tools

  • connect_database - Open a database connection
  • close_connection - Close a database connection
  • commit / rollback - Transaction control

SQL Execution Tools

  • execute_query - Execute a query and return results
  • execute_many - Execute with multiple parameter sets
  • execute_script - Execute a SQL script

Schema Tools

  • list_tables - List all tables
  • get_table_info - Get table schema
  • create_table / drop_table - DDL operations

CRUD Tools

  • insert_row / update_rows / delete_rows / select_rows

Development

git clone https://github.com/daedalus/mcp-sqlite3.git
cd mcp-sqlite3
pip install -e ".[test]"

# run tests
pytest

# format
ruff format src/ tests/

# lint
ruff check src/ tests/

# type check
mypy src/

MCP Server

mcp-name: io.github.dclavijo/mcp-sqlite3

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

mcp_sqlite3-0.1.2.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_sqlite3-0.1.2-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file mcp_sqlite3-0.1.2.tar.gz.

File metadata

  • Download URL: mcp_sqlite3-0.1.2.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_sqlite3-0.1.2.tar.gz
Algorithm Hash digest
SHA256 86d6e7cf2b5aa95c1b4b07e6e8149a247dff5cf03d3917eedba2e9e6300c635c
MD5 fd4286db777d1500889a1962b4f5fd7e
BLAKE2b-256 417dd4efaec8d3bbe2845724ec8e6cbbf40d0c1f90fb98dfc4e120a82ad66884

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_sqlite3-0.1.2.tar.gz:

Publisher: pypi-publish.yml on daedalus/mcp-sqlite3

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_sqlite3-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: mcp_sqlite3-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_sqlite3-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 00a13ea49e119611ff23d91c16aeb64e309937b8910e169db0b7c5ac04982fa7
MD5 003a87d004e0e5f6df172651ad18504b
BLAKE2b-256 afe716f5a825e0a35a6b5723416d2623ff96b9ebcdeaa6d12e1cab93ed0dfee9

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_sqlite3-0.1.2-py3-none-any.whl:

Publisher: pypi-publish.yml on daedalus/mcp-sqlite3

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page