Skip to content
Agentmart
Submit a tool

Universal Db MCP

Security-first MCP server for PostgreSQL, SQLite, MySQL, DuckDB with SQL injection prevention.

Connector by Fashad-Ahmed · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 1
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/fashad-ahmed-universal-db-mcp

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Security-first MCP server for PostgreSQL, SQLite, MySQL, DuckDB with SQL injection prevention.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
7 read · 0 write · 0 delete · 1 not yet classified
Secrets
2 (API keys, tokens or passwords)
Install scripts
Not scanned yet
Runs as
Python package

Tools by what they do 8

Read from the source code; the running server may list different tools.

Read 7 · Look things up without changing anything.

  • explain
  • health
  • list_databases
  • query_history
  • schema
  • schema_diff
  • snapshot_schema

Not yet classified 1 · We could not tell from the name and description.

  • query

Secrets and settings it asks for

Secrets: values you paste in that let it act as you.

  • MYSQL_URI
  • POSTGRES_URI

Other settings (environment variables or headers).

  • ALLOW_DESTRUCTIVE
  • DUCKDB_PATH
  • MAX_RESULT_ROWS
  • SQLITE_PATH

Tools (8)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • explain

    Get query execution plan without running the query. Args: sql: SQL query to analyze params: Optional parameters for the query database: Database key (format: "type:name") Returns: JSON with plan, estimated_cost, and estimated_rows.

  • health

    Check database connection health and get server version info. Args: database: Database key (format: "type:name") Returns: JSON with connected, response_time_ms, version, and error (if any).

  • list_databases

    List all configured databases and their connection status. Returns: JSON with list of databases including key, type, database name, and connection status.

  • query

    Execute a SQL query against the database. Supports parameterized queries for injection safety. In read-only mode, destructive operations (INSERT, UPDATE, DELETE, DROP, etc.) are blocked. Args: sql: SQL query to execute params: Optional list of parameters for parameterized queries (use instead of string formatting) database: Database key (format: "type:name"). Required when multiple databases are configured. Returns: JSON with rows, fields, row_count, and execution_time_ms.

  • query_history

    Get recent query execution history (most recent first). Args: limit: Maximum number of history entries to return (default 10) Returns: JSON list of recent queries with sql, database, execution_time_ms, row_count, timestamp.

  • schema

    Get database schema information: tables, columns, types, and constraints. Args: tables: Optional list of specific table names to inspect database: Database key (format: "type:name") Returns: JSON with list of tables and their column definitions.

  • schema_diff

    Compare the current schema against the last snapshot taken with snapshot_schema. Args: database: Database key (format: "type:name") Returns: JSON describing tables/columns added, dropped, or with changed types since the snapshot.

  • snapshot_schema

    Take a snapshot of the current database schema for later drift detection. Args: database: Database key (format: "type:name") Returns: JSON confirming the snapshot was stored, with table count.

Signals

Stars
1
Forks
0
Open issues
0
Weekly downloads
39
Last commit
Jun 11, 2026 (4 months ago)
Last release
Jun 11, 2026 (4 months ago)
Last package publish
Jun 11, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.Fashad-Ahmed/universal-db-mcp
Version
1.1.2
Auth
API key
Packages
pypi universal-db-mcp
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

Universal Db MCP. Agent Mart. https://agentmart.dev/connectors/fashad-ahmed-universal-db-mcp (last updated 2026-10-24)