Local-first, contract-governed data explorer with read-only, PII-masked query tools for AI agents.
DataCharter MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Local-first, contract-governed data explorer with read-only, PII-masked query tools for AI agents.
Beyond local federation and governed agent access, you also get:
Once DataCharter is connected, these are the calls the assistant has available:
Clean — room math, one YAML line.** Policies like aggregates only and groups of at least 10 are enforced by queryLocal — first.** One process, your machine, no cloud dependency. The optionalYou will need 2 environment variables: OPENAI_BASE_URL, OPENAI_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
datacharter on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.
Among the database access options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. DataCharter's toolset — Clean, Local — is a fair guide to whether it matches your workflow. It is maintained by datacharter; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| Clean | room math, one YAML line.** [Policies](https://datacharter.dev/policies.html) like aggregates only and groups of at least 10 are enforced by query analysis — k-anonymity suppression and join limits, written in plain Engl |
| Local | first.** One process, your machine, no cloud dependency. The optional |
{
"mcpServers": {
"datacharter": {
"command": "uvx",
"args": ["datacharter"],
"env": {
"OPENAI_BASE_URL": "your-value",
"OPENAI_API_KEY": "your-value"
}
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
| Variable | Description | Required |
|---|---|---|
| OPENAI_BASE_URL | Endpoint or connection string the server talks to. | Yes |
| OPENAI_API_KEY | Credential the server authenticates with. | Yes |
Read-only SQL access to Postgres — let your assistant inspect schemas and answer questions from real data.
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.
Serverless Postgres with database branching — point your assistant at Neon and let it work on disposable copies.