A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
Database Analytics MCP Server built with FastMCP - SQLite database operations with AI assistant integration
A practical database analytics MCP server built with FastMCP, providing SQLite database operations through the Model Context Protocol (MCP). Perfect for data analysis workflows with AI assistants like Claude.
connect_db - Connect to SQLite database filesexecute_query - Execute SQL queries with safety checkslist_tables - List all tables in the databaseschema://tables/{table_name} - Get table column information and structuredata://tables/{table_name} - Get sample table data for previewClone the repository:
git clone https://github.com/khuyentran1401/database-analytics-mcp.git
cd database-analytics-mcp
Install UV (recommended):
# Install UV if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh
Install dependencies:
# UV automatically manages dependencies from pyproject.toml
uv sync
Test the server:
uv run example_usage.py
Add to Claude Code
# Quick setup
claude mcp add database-analytics -- uv run database_mcp_server.py
Verify installation:
# Check if the server is registered
claude mcp list
For any MCP client that supports the standard protocol:
servers:
- name: database-analytics
transport:
type: stdio
command: uv
args: ["run", "database_mcp_server.py"]
Connect to Database
Connect to my SQLite database at ./sample_database.db
Explore Schema
What tables are available in this database?
Examine Table Structure
Show me the schema for the users table
Preview Data
Show me some sample data from the users table
Run Analytics Queries
Calculate total sales by product category
Export Results
Export the query "SELECT product_name, SUM(quantity) as total_sold FROM orders GROUP BY product_name" to CSV file called sales_report.csv
Get Table Statistics
Show me statistics for the users table
| Tool | Parameters | Description |
|---|---|---|
connect_db | database_path: str | Connect to SQLite database file |
execute_query | sql: str | Execute SQL query with safety checks and timing |
list_tables | None | List all tables in connected database |
export_to_csv | sql: str, filename: str | Export query results to CSV file |
| Resource URI | Description |
|---|---|
schema://tables/{table_name} | Get column info, types, constraints, foreign keys |
data://tables/{table_name} | Get sample rows with pagination, statistics (limit, offset) |
stats://tables/{table_name} | Get comprehensive table statistics and column analysis |
MCP server integration for DaVinci Resolve Studio
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
A Jetbrains IDE IntelliJ plugin aimed to provide coding agents the ability to leverage intelliJ's indexing of the codeba