SchemaBrain MCP server
io.github.Arun-kc/schemabrain·v0.6.0·9 starsThe trust and intelligence layer between AI agents and your database.
9 stars
Reviews
Write oneNobody has reviewed SchemaBrain yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
SchemaBrain tools (12)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
for 2+ joins on the pair). Use " "describe_columndescribe_entitydescribe_tablefind_relevant_entitiesfind_relevant_tablesget_example_queriesget_metriclist_entitieslist_metricsresolve_joinsuggest_joins
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan183 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 34 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How SchemaBrain compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 78/100
- higher than 47% of 802 Databases servers
- Tools
- 12
- the typical Databases server has 8
- Tools that change things
- 0%
- typical: 10%. Fewer write tools means less an agent can break
- GitHub stars
- 9
- more than 79% of 602 Databases servers
What its tools let an agent do: 12 read
Install SchemaBrain in Claude Code, Cursor or VS Code
claude mcp add schemabrain -- uvx schemabrain
What the publisher says
From the SchemaBrain repository's README, as published. We do not edit it. Read it on GitHub
<!-- mcp-name: io.github.Arun-kc/schemabrain -->
Stop giving AI agents raw database connection strings.
Give them SchemaBrain instead — a read-only trust and intelligence layer where the agent never writes SQL, PII is refused before the query runs, and every call lands in a tamper-evident audit log.
Works with Claude Desktop · Claude Code · Cursor · Windsurf · any MCP host
SchemaBrain compiles every query from definitions you control — no path from a prompt to raw SQL at your database.
Three guarantees that close the trust gap between AI agents and your database:
- Read-only by architecture — twelve MCP tools, none of which can write. No execute() tool, no query() tool, no path from agent prompt to a write at your database.
- PII-aware refusal at retrieval — PII tags propagate from the physical schema through joins and metrics. If a query touches a blocked category, SchemaBrain refuses before the database is queried.
- Cryptographic audit chain — every call, refusal, and recovery is recorded in a SHA256-hashed append-only log (best-effort: a disk-full or no-writer configuration logs a warning and continues rather than failing the query). audit verify exits non-zero if any past row was rewritten.
See it in action — ask for something the schema can't answer, and it refuses instead of fabricating a join:
You: compute usage volume by plan tier
SchemaBrain → agent: { "kind": "unreachableentity", "recovery": { "suggestedtool": "resolvejoin" } } — there's no planid on usage events, so it won't invent one.
Claude: I can't fake that join — here's contracted revenue by plan tier instead, which actually resolves. ✓
→ Full session, with the SQL and results
Watch it run — a live Postgres schema becomes a governed knowledge graph, the firewall computes the safe metric and refuses the leaks, and every call lands in a tamper-evident audit log. No agent, no API key:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
SchemaBrain: common questions
- Is SchemaBrain MCP server safe?
- Mostly: it is graded B (78/100). Read the SchemaBrain safety report
- How do I install SchemaBrain?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does SchemaBrain need an API key?
- Yes. The registry entry asks for
DATABASE_URL. - Is SchemaBrain maintained?
- The last commit was 72 days ago (2026-08-24). The latest release is v0.6.0.
- What can I use instead of SchemaBrain?
- Servers from other publishers that do the same job: Exploit Intelligence Platform — CVE, Vulnerability and Exploit Database MCP server, CogniCore MCP server and DBHub MCP server.
- How does SchemaBrain compare with other Databases MCP servers?
- safety score 78/100 (higher than 47% of 802 Databases servers); tools 12 (the typical Databases server has 8); tools that change things 0% (typical: 10%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to SchemaBrain
Same job from other publishers: the closest match first, then the best rated.
Exploit Intelligence Platform — CVE, Vulnerability and Exploit DatabaseReal-time CVE, exploit, and vulnerability intelligence for AI assistants (350K+ CVEs, 115K+ PoCs)not reviewedGrowingC- CogniCoreMemory, reflection and safety for AI agents. Hosted or local, no vector database.5.0(1)GrowingA
- DBHubToken-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLitenot reviewedWidely usedA
- Neo4j CypherA simple Neo4j MCP server that allows you to run Cypher queries against a Neo4j database.not reviewedEstablishedA
- AppwriteBuild and deploy backends: auth, Postgres/MySQL/vector databases, storage, functions, hosting, CDNnot reviewedEstablishedA