Skip to main content
Glama
jakubbuskiewicz

MCP Database Server

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 build

Usage

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 dev

Tools

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)

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • -
    license
    -
    quality
    -
    maintenance
    Enables comprehensive SQLite database management through natural language, including database creation, table operations, data CRUD operations, backup/restore functionality, and CSV import/export capabilities.
    Last updated
  • A
    license
    -
    quality
    D
    maintenance
    Enables 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.
    Last updated
    51
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    Enables 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.
    Last updated
    26
    39
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jakubbuskiewicz/mcp-test'

If you have feedback or need assistance with the MCP directory API, please join our Discord server