
Pocketlantern
io.github.pocketlanternPublished by GitHub account pocketlanternv0.2.0Updated Oct 24, 2026
Blocker-aware decision layer for AI coding agents, grounded in source-linked, time-sensitive facts.
Overview
Gives coding agents source-linked decision cards and blocker warnings for technology choices, upgrades, migrations, and licensing questions.
- What you can do
- PocketLantern is a local MCP server that exposes a search_cards tool, plus get_card and get_related_cards, over a bundled cardset of decision cards covering 27 categories such as auth, frontend, database, ai, serverless, infra, and backend. Each card holds structured facts, tradeoffs, cautions, and reference links, and search results can include blocker warnings drawn from a bundled graph index. Retrieval is keyword-based, with no vector database or embeddings, and the cards ship inside the npm package.
- When to use it
- Worth adding when an assistant is asked to recommend a vendor, plan a framework or runtime upgrade, choose a database or auth provider, or answer licensing and pricing questions where training data may be stale. It is aimed at coding agents in editors such as Claude Code, Cursor, and Windsurf.
- Requirements
- Node.js 22 or newer and an MCP client. Installed as the npm package @pocketlantern/mcp-server over stdio, or globally as pocketlantern; the init command registers the server in the client config and adds a project rule line. No account, API key, or network access is needed.
Installation
In SourceWeft
- Open Pocketlantern in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
PocketLantern
[npm version] [npm downloads] [CI] [License: MIT]
Your AI agent sounds confident. It missed the blockers.
Prices shift, versions break, licenses change. PocketLantern is a blocker-aware decision layer for AI coding agents, grounded in source-linked, time-sensitive facts.
Try these queries
Ask your AI agent after installing PocketLantern:
"Which auth provider — Clerk, Auth0, or Cognito?"
"Should I upgrade to Next.js 16?"
"Can I use the OpenAI Realtime API?"
Three questions. Three blocker types. Same AI, different facts.
[PocketLantern demo — Node.js 20→24 upgrade blockers surfaced in seconds]
Quick start
Prerequisites: Node.js >= 22, an MCP client (Claude Code, Cursor, etc.)
Claude Code
In your project directory:
init registers the MCP server in ~/.claude.json and adds a one-line rule to your project's CLAUDE.md. Restart Claude Code (Ctrl+C, then run claude again), then ask your first query.
Cursor / Windsurf / other MCP clients
Add to your MCP config (Cursor: ~/.cursor/mcp.json):
Then add this line to your project rules (.cursorrules, Kiro steering file, etc.):
Reload MCP servers: Cursor — Cmd+Shift+P -> "MCP: Restart Servers". Windsurf — restart the editor.
More queries to try
-
"How did Vercel pricing change with Fluid Compute?" Billing split to Active CPU + Memory, shared-process concurrency breaks isolation
-
"Prisma or Drizzle for Edge/serverless?" Prisma v7 ESM + driver adapter breaking, Edge preview-only; Drizzle 0.30-1.0 also breaking
Verify installation
How it works
PocketLantern is an MCP server. Your AI agent calls search_cards — and gets source-linked decision cards plus source-linked blocker warnings where available.
Local cardset. Instant lookup. No vector database. No embeddings. Keyword search, card links, and source-linked blocker warnings where available. The value is in source-linked decision cards, not clever retrieval alone.
What's included
Blocker-aware decision cards across 27 categories — plus source-linked blocker warnings from the bundled graph index. Ships with the npm package, works immediately, no network, no account:
What a card looks like
Each card is a structured YAML file with source-linked facts and official reference links:
See packages/schema/src/card.ts for the full schema definition.
Project structure
Monorepo: pnpm workspace. Build order: schema -> knowledge (no build) -> mcp-server -> cli.
Development
Missing a topic? Request coverage in Card Requests.
Contributing
Contributions to the tool (schema, MCP server, CLI, search) are welcome. See CONTRIBUTING.md for guidelines.
License
Source: README.md at commit e81973e
Tools
0Version history
1- v0.2.0LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts