need
AI agents hallucinate package names. need gives them a verified index of 10,000+ CLI tools — and a closed feedback loop that gets smarter with every install.
README
<p align="center"> <img src="assets/logo.svg" alt="need" width="400" /> </p>
<p align="center"><strong>Tool discovery for AI agents.</strong></p>
<p align="center"> <a href="https://github.com/tuckerschreiber/need/actions/workflows/ci.yml"><img src="https://github.com/tuckerschreiber/need/actions/workflows/ci.yml/badge.svg" alt="CI" /></a> <a href="https://www.npmjs.com/package/@agentneeds/need"><img src="https://img.shields.io/npm/v/%40agentneeds/need?color=c8e64a&label=npm" alt="npm version" /></a> <a href="https://github.com/tuckerschreiber/need/blob/main/LICENSE"><img src="https://img.shields.io/github/license/tuckerschreiber/need?color=c8e64a" alt="license" /></a> <a href="https://www.npmjs.com/package/@agentneeds/need"><img src="https://img.shields.io/npm/dm/%40agentneeds/need?color=c8e64a&label=downloads" alt="downloads" /></a> </p>
AI agents hallucinate package names. need gives them a verified index of 10,000+ CLI tools — and a closed feedback loop that gets smarter with every install.
<p align="center"> <img src="assets/demo.gif" alt="need in action inside Claude Code" width="640" /> </p>
What happens
You ask Claude to "compress these PNGs". Claude doesn't have pngquant installed and doesn't know what the best tool is. But need is running as an MCP server in the background, so Claude automatically:
- Searches need for "compress png images"
- Installs the top result (
brew install pngquant) - Runs it on your files
- Reports that it worked — so the next agent's search ranks
pngquanthigher
You never interact with need directly. You just see the result.
search → install → use → report
↑ |
└────── rankings ────────┘
Install
npm install -g @agentneeds/need
That's it. MCP servers are automatically configured for Claude Code, Cursor, and Claude Desktop on install. Your AI agent can immediately discover and install CLI tools without you doing anything.
Or try it now without installing: npx @agentneeds/need "compress png images"
How agents use it
Under the hood, need exposes three MCP tools that agents call autonomously:
search_tools— semantic search across 10,000+ CLI toolsinstall_tool— install the best match (security allowlist: brew, apt, npm, pip, cargo only)report_tool_usage— report success or failure, improving rankings for every future agent
No API keys. No accounts. No configuration. The agent handles the entire loop without leaving your editor.
Works for humans too
need also works as a standalone CLI — semantic search that understands intent, not just keywords.
need convert pdf to png
need find duplicate files
need compress video without losing quality
How it works
Queries are embedded with OpenAI's text-embedding-3-small and matched against a pgvector database of CLI tools. Results are ranked by semantic similarity combined with community success/failure signals from report_tool_usage.
Browse tools
Explore all 10,000+ indexed tools at agentneeds.dev.
Architecture
| Package | Description |
|---|---|
cli/ |
The need CLI and MCP server (npm) |
api/ |
Search API — Cloudflare Workers + Neon Postgres + pgvector |
site/ |
Marketing site and tool directory (agentneeds.dev) |
Contributing
git clone https://github.com/tuckerschreiber/need.git
cd need
npm install
cd cli && npm run build && npm test
License
MIT
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.