Lintbase MCP server
io.github.Madia333/lintbase-mcp·v0.1.3·2 starsReal-time Firestore schema context for AI coding agents. Stop hallucinating field names.
2 stars
Reviews
Write oneNobody has reviewed Lintbase yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Lintbase tools (3, 2 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
lintbase_get_issueswrite actionRuns all LintBase analyzers and returns a filtered list of issues.
lintbase_get_schemaReturns the ground-truth schema of your Firestore collections by sampling real documents.
lintbase_scanwrite actionRuns a full LintBase scan against a Firestore database.
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan22 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 qualitylocal package, no credentials required12/15
- Maintenancelast push 70 days ago12/15
- Maintainer identitynamespace and repository owner differ4/10
How Lintbase compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 63% of 48,255 servers
- Tools
- 3
- the typical server has 7
- Tools that change things
- 67%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 2
- more than 75% of 28,688 servers
What its tools let an agent do: 1 read · 2 change
Install Lintbase in Claude Code, Cursor or VS Code
Runs npx -y lintbase-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add lintbase-mcp -- npx -y lintbase-mcp
What the publisher says
From the Lintbase repository's README, as published. We do not edit it. Read it on GitHub
LintBase
Ground Truth for AI Coding Agents.
LintBase gives AI agents real-time knowledge of your database schema, security rules, and architecture so they stop hallucinating your codebase.
npx lintbase export-context firestore --key ./service-account.jsonWhy LintBase?
Developers are constantly feeding context files to AI tools like Cursor, Windsurf, Copilot Workspace, and Claude Code. If your agent doesn't understand your real database schema, it writes code that fails in production.
LintBase acts as the bridge. It connects directly to your database, reads the ground truth of your live documents, and generates structured context optimized for AI.
- 🤖 Stops AI Hallucinations — Generates exact schema, field presence rates, and types.
- 📐 Catches Schema Drift — CI protection with lintbase check against schema snapshots.
- 🔒 Security Context — Highlights missing rules or exposed PII before your AI writes queries.
- 💸 Cost Awareness — Prevents AI from writing unbounded queries on 2M+ document collections.
- 🍃 Universal NoSQL — Works effortlessly with Firestore and MongoDB.
Why not just let the agent read the code?
Because in document databases, the code lies. The real schema is whatever your live documents actually contain, and that drifts away from the code with every half-finished migration, every renamed field, and every previous AI session that wrote in a hurry. An agent inferring the schema from TypeScript interfaces writes plausible queries against a database that no longer exists. The failure is silent: empty results, undefined values, a new field variant living alongside the old one. LintBase reads the documents, not the code.
Limitations (honest ones)
- Firestore and MongoDB only. Postgres is the obvious gap and it is next.
- Large collections are sampled, not fully scanned. Presence rates are estimates on multi-million-document collections.
- The MCP server is newer than the CLI. Expect rough edges there first.
🤖 AI Context Export (For Cursor, Claude, Windsurf)
The fastest way to give your AI agent perfect database knowledge.
npx lintbase export-context firestore --key ./service-account.jsonOutput:
/lintbase-context/
├── database-schema.md
├── collections.md
├── security-rules.md
├── architecture.md
└── risk-report.mdDrop the lintbase-context folder into your AI's context window, or mention it in .cursorrules. Your agent will now write perfect, drift-free database queries.
Quick Start
1. Get a service account key
Firebase Console → Project Settings → Service Accounts → Generate new private key
Save the JSON file. Never commit it to git.
2. CI Pipeline Protection (Schema Drift)
LintBase acts as "Version Control for your Schema". Run the snapshot command to create a baseline:
npx lintbase snapshot firestore --key ./service-account.jsonCommit .lintbase/schema.json to your repository. Then, add the check command to your CI/CD pipeline (GitHub Actions, GitLab CI):
npx lintbase check firestore --key ./service-account.json --fail-on errorIf a query or deployment accidentally deletes a critical field or changes a type (e.g., string to number), your CI build will fail instantly.
3. Run a general scan
npx lintbase scan firestore --key ./service-account.jsonYou'll see a full report in your terminal:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Lintbase: common questions
- Is Lintbase MCP server safe?
- Mostly: it is graded B (82/100). Read the Lintbase safety report
- How do I install Lintbase?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Lintbase need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Lintbase maintained?
- The last commit was 107 days ago (2026-07-20). The latest release is v0.1.3.
- How does Lintbase compare with other MCP servers?
- safety score 82/100 (higher than 63% of 48,255 servers); tools 3 (the typical server has 7); tools that change things 67% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.