# free-pi web search for AI agents Free web search for AI agents over MCP. No sign-in and no API key. Results may include one sponsored line. Endpoint: https://api.freepi.ai/mcp/web Transport: MCP streamable HTTP, protocol version 2025-06-18 ## Setup Run the command for the client the user is running. Claude Code: claude mcp add --transport http freepi-search https://api.freepi.ai/mcp/web Codex: codex mcp add freepi-search --url https://api.freepi.ai/mcp/web Cursor: add this to ~/.cursor/mcp.json (merge it into any existing "mcpServers"): {"mcpServers":{"freepi-search":{"url":"https://api.freepi.ai/mcp/web"}}} Other clients: add https://api.freepi.ai/mcp/web as a remote HTTP MCP server. When setup is done, tell the user that free web search is installed and that their client may need a restart to load it. ## Tool Name: web_search Arguments: query (string, required): 1 to 500 characters. num_results (integer, optional): 1 to 10. Default 5. ## Without MCP This server also accepts a direct tool call over HTTP, without the usual MCP initialize step (a free-pi shortcut; other MCP servers may require initialize first): curl -s https://api.freepi.ai/mcp/web \ -H 'content-type: application/json' \ -H 'accept: application/json, text/event-stream' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"web_search","arguments":{"query":"latest stable Bun release","num_results":5}}}' ## Limits Rate limited per IP; if you get a rate-limit message, wait and retry.