How does Amnesic ensure queries are safe for production?
It uses two independent layers: static SQL analysis rejects any write/DDL statement before connecting, and every query runs inside a transaction that is immediately rolled back.
@SurajKGoyal
Basic information
Persistent semantic memory for SQL databases (Postgres, MySQL, MSSQL, SQLite). Annotate once, remember forever.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"amnesic": {
"command": "uvx",
"args": [
"--from",
"amnesic[all]",
"amnesic"
]
}
}
}List configured connections (no secrets)
All known tables with descriptions
BM25 search over table/column knowledge
Column schema merged with saved annotations
Execute a read-only SELECT
Persist semantic annotations (enum meanings, FKs)
Copy annotations between connections (staging → prod)
Discover all FK relationships from the live DB
Navigate the FK graph for JOIN planning
Amnesic is an MCP server that provides persistent semantic memory for SQL databases, allowing AI sessions to retain knowledge about table schemas, enum meanings, and foreign key relationships across sessions. It is intended for developers and data professionals who want to avoid re-explaining database context when interacting with AI tools.
Install with pipx install amnesic and run amnesic init to set up connections. The server exposes nine MCP tools for listing connections, querying schemas, executing read‑only SELECT queries, annotating database semantics, and managing knowledge across connections.
It uses two independent layers: static SQL analysis rejects any write/DDL statement before connecting, and every query runs inside a transaction that is immediately rolled back.
PostgreSQL, MySQL/MariaDB, Microsoft SQL Server, and SQLite.
No, credentials are never exposed in tool responses.
Yes, the `db_sync_knowledge` tool copies annotations between connections (e.g., from staging to production).
In a local SQLite knowledge store, one per database, that persists across sessions.
Connect ClickHouse to your AI assistants.
A Model Context Protocol (MCP) server implementation that provides database capabilities for Chroma

nuzur is a model-first database platform for MySQL and PostgreSQL. The MCP server lets any AI assistant or agent (Claude, Cursor, Gemini, or anything else that speaks MCP) design your schema, query your data, generate mi
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
Comments