Basic information
About Amnesic MCP Server
Persistent semantic memory for SQL databases (Postgres, MySQL, MSSQL, SQLite). Annotate once, remember forever.
Amnesic is a MCP server in the Databases category listed in the AddMCP.net directory, published by SurajKGoyal. Supported transport: stdio. Runtime: Python. License: MIT. The repository has 4 GitHub stars. Source code is hosted on github.com. Related topics: ai-tools, annotations, claude, cursor, database.
Setup
{
"mcpServers": {
"amnesic": {
"command": "uvx",
"args": [
"--from",
"amnesic[all]",
"amnesic"
]
}
}
}
{
"mcpServers": {
"amnesic": {
"command": "uvx",
"args": [
"--from",
"amnesic[all]",
"amnesic"
]
}
}
}
{
"servers": {
"amnesic": {
"command": "uvx",
"args": [
"--from",
"amnesic[all]",
"amnesic"
]
}
}
}
Amnesic MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"amnesic": {
"command": "uvx",
"args": [
"--from",
"amnesic[all]",
"amnesic"
]
}
}
}
Amnesic MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Amnesic?
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.
How to use Amnesic?
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.
Key features of Amnesic
- Persistent SQLite knowledge store per database
- Read‑only by design with two independent safety layers
- Supports PostgreSQL, MySQL/MariaDB, SQL Server, and SQLite
- Credentials never appear in tool responses
- Nine MCP tools for schema, query, and annotation management
Use cases of Amnesic
- Annotating enum values once so every future AI session sees the labels
- Sharing database context across multiple AI tools or sessions
- Copying semantic annotations from staging to production synchronously
- Discovering foreign key relationships for automated JOIN planning
Frequently asked questions
1 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.
2 What databases does Amnesic support?
PostgreSQL, MySQL/MariaDB, Microsoft SQL Server, and SQLite.
3 Do credentials ever appear in tool responses?
No, credentials are never exposed in tool responses.
4 Can I copy annotations between environments?
Yes, the db_sync_knowledge tool copies annotations between connections (e.g., from staging to production).
5 Where is the semantic knowledge stored?
In a local SQLite knowledge store, one per database, that persists across sessions.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In