
Forage
io.github.isaac-levinePublished by GitHub account isaac-levinev0.1.1Updated Oct 24, 2026
Self-improving tool discovery for AI agents. Find, install, and use new MCP servers automatically.
The publisher's own server: Forage
Overview
Lets an AI agent search for, install, and learn to use other MCP servers on demand, without restarting the session.
- What you can do
- Forage is a gateway MCP server that discovers other MCP servers and proxies their tools. Its tools include forage_search (searches the Official MCP Registry, Smithery, and npm), forage_evaluate (package details, downloads, README, install command), forage_install (installs and starts a server as a child process, requiring user approval), forage_learn (writes usage instructions to agent rule files), forage_status, and forage_uninstall. Installed tools are re-registered under namespaced names and announced with a tools/list_changed notification, so the agent can use them immediately. State is kept in a local directory, and previously installed servers auto-start on the next session.
- When to use it
- Useful when an agent repeatedly hits tasks it lacks tools for and you would rather it find and add the right MCP server itself than configure each one by hand. Best suited to desktop coding agents such as Claude Code or Cursor that can run local child processes.
- Requirements
- Runs locally over stdio, installed from the npm package forage-mcp (typically via npx). Requires Node.js and network access for registry and npm searches and for downloading installed packages. No accounts, API keys, or environment variables are declared.
Installation
In SourceWeft
- Open Forage 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
🌿 Forage
Self-improving tool discovery for AI agents.
Install one MCP server. Your agent finds the rest.
[npm version] [npm downloads] [License: MIT]
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.
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:
Quick Start
Claude Code
Cursor
That'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_changednotifications so the agent picks up new tools instantly - Knowledge persists —
forage_learnwrites to agent rule files, manifest auto-starts tools next session
Architecture
When you install a tool through Forage:
- Forage runs
npx -y <package>as a child process - Connects to it via
StdioClientTransport(MCP client) - Discovers the child server's tools via
listTools - Re-registers each tool on the Forage server with a namespaced name (
foraged__<server>__<tool>) - Sends
tools/list_changednotification — the agent sees new tools immediately - When the agent calls a proxied tool, Forage forwards the call to the child server
Persistence
Forage stores its state in ~/.forage/:
On startup, Forage reads the manifest and auto-starts all previously installed servers. Your agent picks up right where it left off.
CLI
Forage also includes a CLI for humans:
Security
[!IMPORTANT] Forage cannot install tools without explicit user approval. Every
forage_installcall requiresconfirm: true.
- Audit trail — every install/uninstall is logged with timestamps to
~/.forage/install-log.json - No remote backend — everything runs locally. Registry searches are read-only GET requests to public APIs.
- No secrets stored — environment variables for child servers are passed at install time, not persisted.
Development
Test locally with Claude Code:
See CONTRIBUTING.md for more details.
Roadmap
Features
-
forage update— check for newer versions of installed tools - Support for pip/cargo/brew packages (not just npm)
- Smarter search ranking (weight by downloads, stars, description relevance)
- Auto-configure environment variables from
.envfiles -
forage doctor— diagnose common setup issues
Distribution
- Publish to npm
- Submit to the Official MCP Registry
- Submit to Smithery
- Submit to mcp.so and glama.ai
- Landing page at forage.dev
Community
- Demo GIF / video in README
- Write launch blog post
- Post to r/ClaudeAI, r/LocalLLaMA, Hacker News (Show HN)
- Share in MCP Discord / community channels
- Write use-case guides (e.g. "Add Postgres to Claude Code in 30 seconds")
- Add GitHub Discussions for Q&A and feature requests
License
Source: README.md at commit 47caf33
Tools
0Version history
1- v0.1.1LatestSep 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
Other Forage integrations
Forage
cash.forageOfficial publisher
Lets an assistant run web searches and convert URLs to markdown, paying per call in USDC on Base without signing up.

Forage Shopping
Published by GitHub account jalexspringer
Remote MCP server for AI shopping: search 50M+ Shopify and affiliate-network products, compare prices, find deals, and run merchant checkouts.

Forage - MCP Server for AI Agents
Published by GitHub account ErnestaLabs
Remote MCP server giving agents web search, scraping, B2B lead and company data, plus a shared persistent knowledge graph, on a pay-per-call basis.