Provides tools for interacting with SQLite databases, including executing SQL queries (SELECT, INSERT, UPDATE, DELETE), importing CSV files into tables, and listing database tables with their schemas.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Database Servershow me all customers from California"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Database Server
A Model Context Protocol (MCP) server that provides tools for interacting with a SQLite database.
Features
query_database: Execute SQL queries (SELECT, INSERT, UPDATE, DELETE)
import_csv: Import CSV files into database tables
list_tables: List all tables with their schemas
Setup
Usage
With Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
Development
Tools
query_database
Execute SQL queries on the database.
import_csv
Import a CSV file into a table.
list_tables
List all tables and their schemas. No parameters required.
Environment Variables
DB_PATH: Path to the SQLite database file (default:./data.db)