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.
A Model Context Protocol (MCP) server implementation that provides database capabilities for Chroma
MCP server for interacting with Neon Management API and databases

Mdexa is the biomedical database agents call directly. It hosts cleaned copies of public biomedical datasets, starting with public health surveys, each checked cell by cell against the official files. Over one MCP URL yo
A Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.
Comments