MCP Database Server
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 "Deploy 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
Related MCP server: SQLite MCP Server
Setup
npm install
npm run buildUsage
With Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"database": {
"command": "node",
"args": ["/path/to/mcp-test/dist/index.js"],
"env": {
"DB_PATH": "/path/to/your/database.db"
}
}
}
}Development
npm run devTools
query_database
Execute SQL queries on the database.
{
"query": "SELECT * FROM users WHERE id = ?",
"params": ["1"]
}import_csv
Import a CSV file into a table.
{
"file_path": "/path/to/data.csv",
"table_name": "my_table",
"delimiter": ","
}list_tables
List all tables and their schemas. No parameters required.
Environment Variables
DB_PATH: Path to the SQLite database file (default:./data.db)
This server cannot be deployed
Maintenance
Related MCP Connectors
Explore, query, and inspect SQLite databases with ease. List tables, preview results, and view det…
- OleanderOAuthdev.oleander
The all-in-one data stack for agents. Upload files, run SQL, evolve tables, and render charts.
Ask data questions in natural language. Get SQL, insights, and charts from your databases.
Your Supabase account in natural language: run SQL, apply migrations, manage tables, storage, edge f
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables comprehensive SQLite database management through natural language, including database creation, table operations, data CRUD operations, backup/restore functionality, and CSV import/export capabilities.MIT
- AlicenseNot gradedqualityDmaintenanceEnables LLM agents to perform complete database operations on SQLite databases, including creating tables, executing queries, and managing data through CRUD operations with schema inspection capabilities.21 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables SQLite database interactions including querying, updating, and schema management through structured tools.3MIT
- AlicenseBqualityDmaintenanceEnables AI agents to interact with local SQLite databases with full CRUD, schema introspection, foreign key relations, generated columns, and multi-format import/export (CSV, JSON, XLSX) through natural language.2610 npmMIT