Lintbase MCP
概要
作者による説明(英語の原文)
Real-time Firestore schema context for AI coding agents. Stop hallucinating field names.
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンで動く
- トランスポート: stdio
- カテゴリ: 開発者ツール
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 2/3 合格 · あなたのパソコンで動きます
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "lintbase": { "command": "npx", "args": [ "-y", "lintbase-mcp" ] } } }Claude を終了してもう一度開く
試してみる
Lintbase MCP を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Lintbase MCP を使っていると言うか、回答に Lintbase MCP のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Lintbase MCP につなげません
Lintbase MCP はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · Lintbase MCP につなげるアプリを使う
- 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- 先にパソコンへ Node.js を入れてください(1 回だけ)
- 先にパソコンへ Node.js を入れてください(1 回だけ)
- 先にパソコンへ Node.js を入れてください(1 回だけ)
B · 開発者ツール の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Sentry✓ ChatGPT
- Front-End Checklist✓ ChatGPT
- Compiler Explorer✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add lintbase -- npx -y lintbase-mcpClaude Code で /mcp と入力
Lintbase MCP が一覧にあり、接続済みと表示されれば OK です
試してみる
Lintbase MCP を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Lintbase MCP を使っていると言うか、回答に Lintbase MCP のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
Cursor の AI チャットを Agent モードで開く
試してみる
Lintbase MCP を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Lintbase MCP を使っていると言うか、回答に Lintbase MCP のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
先にパソコンへ Node.js を入れてください(1 回だけ)
VS Code の AI チャットを Agent モードで開く
試してみる
Lintbase MCP を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Lintbase MCP を使っていると言うか、回答に Lintbase MCP のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
JSON 設定は下の「開発者向け」にあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add lintbase -- npx -y lintbase-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"lintbase": {
"command": "npx",
"args": [
"-y",
"lintbase-mcp"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"lintbase": {
"command": "npx",
"args": [
"-y",
"lintbase-mcp"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"lintbase": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"lintbase-mcp"
]
}
}
}この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月11日にチェック
- ! 注意
作者とリポジトリが一致
公開者(Madia333)がリポジトリの所有者(lintbase)ではありません。別の人が登録した可能性があります
- ✓ 合格
今もメンテナンスされている
コードの最終更新:4 か月前
- ✓ 合格
ライセンスがある
MITを使用
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの5759件のうち0%よりスターが多い
- このカテゴリのほかの5759件のうち5%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5759件のうち28%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Lintbase MCPは安全ですか?
当てはまる基本チェック3項目のうち2項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は4 か月前、最新バージョン(0.1.3)がレジストリに届いたのは8 か月前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
代わりに使えるものは?
同じカテゴリには:REA, Netdata, Front-End Checklist
代わりの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Netdata
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Front-End Checklist
Review frontend code and live pages against 386 quality-gated web development rules.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
lintbase-mcp
Give your AI coding agent real-time Firestore schema context — so it stops hallucinating field names.
The Problem
When you ask Cursor, Claude, or Windsurf to write Firestore code, it guesses your schema.
// What your AI writes:
await db.collection('users').doc(id).update({ name: value });
// What's actually in your DB: { displayName, uid, email, createdAt, plan } ← no "name" field
The result: silent bugs, runtime crashes, and schema drift baked in by your AI assistant.
The Fix
lintbase-mcp is a Model Context Protocol server that connects your AI agent directly to your Firestore database. Before writing any code, the agent checks what's actually there.
You: "Add a subscription status field to users"
Agent → lintbase_get_schema({ collection: "users" }) ← { uid, email, createdAt, plan, displayName }
Agent: "I can see users has uid, email, createdAt, plan, displayName. I'll add subscriptionStatus as a string field alongside plan..."
No hallucinations. No drift. Ground-truth schema, every time.
Tools
| Tool | What it does |
|---|---|
lintbase_scan | Full database audit — schema drift, security issues, performance problems, cost leaks. Returns a structured report with a 0–100 risk score. |
lintbase_get_schema | Returns real field names, types, and presence rates for one or all collections. Use before writing any DB code. |
lintbase_get_issues | Returns filtered issues. Ask targeted questions: *"any errors in users?"*, *"all security issues?"*, *"schema drift only?"* |
🤖 Agent Skill
Install the LintBase Agent Skill into any project so your AI agent automatically uses LintBase before writing Firestore code — no prompting required:
npx -p lintbase-mcp lintbase-mcp-install-skill
This copies a SKILL.md file into .agent/skills/lintbase/ in your project. Cursor, Claude Code, Gemini CLI, and other MCP-compatible agents read this file on startup and follow its instructions automatically.
Same format as the Firebase official Agent Skills. ✅
Setup
You'll need a Firebase service account JSON key for your project.
Cursor
Add to .cursor/mcp.json in your project root:
{
"mcpServers": { "lintbase": { "command": "npx", "args": ["-y", "lintbase-mcp"] } } }
Then in your conversation:
"Check my Firestore schema before writing this code. Key is at ./service-account.json"
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": { "lintbase": { "command": "npx", "args": ["-y", "lintbase-mcp"] } } }
Restart Claude Desktop and start a new conversation.
Windsurf
Add to your Windsurf MCP config:
{
"mcpServers": { "lintbase": { "command": "npx", "args": ["-y", "lintbase-mcp"] } } }
Usage Examples
Once connected, your AI agent has three tools available. You can trigger them naturally in conversation or the agent will use them automatically when relevant.
Get the schema of a collection
"What fields are in the users collection?"
→ lintbase_get_schema({ keyPath: "./sa.json", collection: "users" })
Returns:
## users (50 docs sampled)
| Field | Type | Presence | Stable |
|---|---|---|---|
| uid | string | 100% | ✅ |
| string | 100% | ✅ | |
| createdAt | timestamp | 100% | ✅ |
| plan | string | 95% | ✅ |
| displayName | string | 62% | ⚠️ ← mark as optional |
Run a full audit
"Run a full LintBase scan before I start this refactor"
→ lintbase_scan({ keyPath: "./sa.json", sampleSize: 100 })
Returns: Complete report with risk score, all issues across 4 analyzers (schema drift, security, performance, cost).
Check for errors before deploying
"Any blocking errors I should know about?"
→ lintbase_get_issues({ keyPath: "./sa.json", severity: "error" })
Check security issues only
"Are there any security problems with my database?"
→ lintbase_get_issues({ keyPath: "./sa.json", rule: "security/" })
Security
- Runs 100% locally — your service account key and Firestore data never leave your machine
- The MCP server runs as a local
stdioprocess spawned by your IDE - No data is sent to any LintBase servers during schema inspection
- The server only performs read operations on your Firestore database
Available Filters for lintbase_get_issues
| Filter | Values | Example |
|---|---|---|
severity | error, warning, info | Only blocking errors |
collection | any collection name | Only issues in users |
rule | rule prefix | schema/, security/, perf/, cost/ |
Rule Reference
| Rule | Analyzer | What it catches |
|---|---|---|
schema/field-type-mismatch | Schema | Same field holds multiple types across documents |
schema/sparse-field | Schema | Field missing from >40% of documents |
schema/high-field-variance | Schema | Wildly different field counts between documents |
security/sensitive-collection | Security | Collection name suggests unprotected PII |
security/field-contains-secret | Security | Field name suggests stored secrets/tokens |
security/debug-data-in-production | Security | Debug/test collections left in production |
perf/excessive-nesting | Performance | Documents nested >5 levels deep |
perf/document-too-large | Performance | Documents approaching Firestore's 1MB limit |
cost/large-avg-document | Cost | Average document size driving up bandwidth costs |
cost/logging-sink | Cost | Collection used as an unbounded write sink |
Related
- [lintbase](https://www.npmjs.com/package/lintbase) — The CLI tool. Run
npx lintbase scan firestore --key ./sa.jsonfor a full terminal report. - [lintbase.com](https://lintbase.com) — Dashboard for teams: save scan history, track risk score over time, share reports.
License
MIT © Mamadou Dia