Forage MCP server
io.github.isaac-levine/forage·v0.1.1·18 starsSelf-improving tool discovery for AI agents. Find, install, and use new MCP servers automatically.
18 stars
Reviews
Write oneNobody has reviewed Forage yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Forage tools (6, 2 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
forage_evaluateGet detailed information about a specific package — version, downloads, README summary, install command. Use this before installing to verify quality.
forage_installInstall an MCP server and start it as a proxied subprocess. The server's tools become available immediately via Forage — no restart needed. IMPORTANT: Set confirm=true to proceed with installation (user will be prompted to approve the tool call).
forage_learnwrite actionWrite usage instructions for an installed tool to agent rule files (CLAUDE.md, AGENTS.md, .cursor/rules/). This persists knowledge across sessions so the agent remembers how to use the tool next time.
forage_searchSearch for MCP servers and tools across registries (Official MCP Registry, Smithery, npm). Describe what capability you need and get ranked results.
forage_statusList all tools that Forage has installed and is currently proxying. Shows which servers are running, what tools they provide, and their install status.
forage_uninstallwrite actionRemove a previously installed tool. Stops the server, removes from manifest, and cleans up agent rules. Set confirm=true to proceed.
Public scan report
scanner v0.1.10 · 2026-09-28 · same rubric, same numbers if you re-run it
- Code scan37 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 219 days ago4/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Forage compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 48,255 servers
- Tools
- 6
- the typical server has 7
- Tools that change things
- 33%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 18
- more than 90% of 28,688 servers
What its tools let an agent do: 4 read · 2 change
Install Forage in Claude Code, Cursor or VS Code
Runs npx -y forage-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add forage -- npx -y forage-mcp
What the publisher says
From the Forage repository's README, as published. We do not edit it. Read it on GitHub
🌿 Forage
Self-improving tool discovery for AI agents.
Install one MCP server. Your agent finds the rest.
npm · GitHub · Contributing
Forage is an MCP server that lets AI agents discover, install, and learn to use new tools — automatically. When an agent hits a wall, it forages for the right tool, installs it, and teaches itself how to use it. No restarts. No manual config. The agent gets permanently smarter.
<!-- TODO: Add demo GIF here --> <!-- -->
Why?
AI coding agents are limited to whatever tools they're configured with at session start. Need to query a database? Deploy to Vercel? Search Slack? The agent apologizes and you manually install the right MCP server.
Forage closes that loop:
Agent encounters a task it can't do
→ forage_search("query postgres database")
→ forage_install("@modelcontextprotocol/server-postgres")
→ Tools available IMMEDIATELY (no restart)
→ forage_learn() saves instructions to CLAUDE.md
→ Next session: auto-starts, agent already knows how to use itQuick Start
Claude Code
claude mcp add forage -- npx -y forage-mcpCursor
npx forage-mcp init --client cursorThat's it. Start a new session and Forage is ready.
Tools
How It Works
Forage is a gateway/proxy MCP server:
- You install Forage once — it's the only MCP server you configure manually
- Forage discovers tools — searches the Official MCP Registry, Smithery, and npm in parallel
- Forage installs tools — starts them as child processes, wraps their capabilities
- No restart needed — emits list_changed notifications so the agent picks up new tools instantly
- Knowledge persists — forage_learn writes to agent rule files, manifest auto-starts tools next session
Architecture
┌─────────────────────────────────────────────┐
│ Claude Code / Cursor / Codex │
│ │
│ "I need to query a Postgres database" │
└──────────────────┬──────────────────────────┘
│ MCP
▼
┌─────────────────────────────────────────────┐
│ Forage MCP Server │
│ │
│ forage_search ─── Official Registry │
│ forage_install Smithery │
│ forage_learn npm │
│ forage_status │
│ │
│ ┌─────────────┐ ┌─────────────┐ │
│ │ Postgres MCP│ │ GitHub MCP │ ... │
│ │ (subprocess)│ │ (subprocess)│ │
│ └─────────────┘ └─────────────┘ │
└─────────────────────────────────────────────┘When you install a tool through Forage:
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Forage: common questions
- Is Forage MCP server safe?
- Mostly: it is graded B (75/100). Read the Forage safety report
- How do I install Forage?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Forage need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Forage maintained?
- The last commit was 255 days ago (2026-02-21). The latest release is v0.1.1.
- How does Forage compare with other MCP servers?
- safety score 75/100 (higher than 45% of 48,255 servers); tools 6 (the typical server has 7); tools that change things 33% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.