ToolPlan MCP

ToolPlan MCP

Turns raw project ideas into polished, cost-aware first prompts for AI coding agents by recommending high-leverage open-source tools and cost-saving techniques.

Category
Visit Server

README

ToolPlan MCP

Turn a raw project idea into a polished, cost-aware first prompt for any AI coding agent.

Why

Models pick tech stacks decently — but they:

  1. Under-recommend high-leverage open-source tools. Niche skills, scrapers, and community tools from GitHub/Reddit (Agent-Reach, caveman, karpathy-guidelines, ...) save hours, and models rarely surface them unprompted. Programmers who don't track this ecosystem lose that time.
  2. Never apply cost-saving techniques on their own. Subagent delegation, plan-first execution, task-by-task verification — models don't do these unless told, and casual users don't know to ask. Result: millions of wasted tokens.
  3. Do better with a structured first prompt. A polished brief with stack, constraints, and done-criteria makes a project far more one-shotable — even on non-frontier models.

ToolPlan packages all three into one MCP tool call.

How it works

your raw idea ──▶ plan_project(idea, grade) ──▶ enriched prompt
                        │
                  reads curated KB (kb/*.yaml):
                  stacks · tools · MCPs · skills · directives
                  each with why_models_miss_it + cost_profile

No live scraping at runtime — a weekly offline pipeline proposes KB updates as human-reviewed diffs, so advice stays current without hype pollution.

Quick start (Claude Code)

claude mcp add toolplan -- npx -y toolplan-mcp

Then either:

  • /toolplan <your idea> — copy commands/toolplan.md (shipped in the npm package) to ~/.claude/commands/ first. The agent calls the tool, shows you the refined prompt verbatim, and waits for you to proceed, edit, or regenerate — it never starts building on its own.
  • /mcp__toolplan__plan — zero-install; Claude Code auto-exposes the server's built-in plan prompt as a slash command.
  • Or just ask in chat: "Use plan_project with my idea: an app that tracks freelance invoices, grade personal."

Other hosts (Cursor, Codex CLI, any stdio MCP host): see docs/HOST_SETUP.md.

Tool API

plan_project(idea: string, grade: "industry" | "personal", tags?: string[]) → markdown enriched prompt: project brief, recommended stack, tools you'd likely miss, execution directives, quality bar, sources.

Knowledge base

One YAML file per entry under kb/<category>/. Format: docs/KB_SCHEMA.md. Contributions welcome — PRs must pass the eval regression suite.

Privacy note: running the tool never phones home. The KB is read-only at runtime and bundled with the package; nobody's usage updates it. Optional TOOLPLAN_LOG writes usage lines to a local file you control.

Improving the KB

Three ways, smallest first:

  1. Add one entry by hand. Copy an existing YAML in kb/<category>/, fill the fields honestly (especially why_models_miss_it), run npm test && npm run eval, open a PR.
  2. Mine your own usage. Set TOOLPLAN_LOG=toolplan.jsonl in the server env, use the tool for a while, then npm run log-to-case toolplan.jsonl — real ideas become eval-case skeletons; weak matches show you exactly which keywords the KB is missing.
  3. Run the weekly refresh. Point a Claude agent at pipeline/REFRESH.md; it researches new tools and writes proposals to pipeline/proposals/<date>/ with evidence. You review PROPOSAL.md, move accepted files into kb/, run npm test && npm run eval, commit.

Staleness check anytime: npm run stale.

Development

npm install
npm run build
npm test
npm run smoke   # end-to-end stdio call against the built server

Status

v1: web-application scope only. See PLAN.md for roadmap (eval harness, refresh pipeline, host adapters).

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured