SearchAPI Agent
About
An MCP agent that integrates various search tools using the SearchAPI service. Requires SearchAPI and Google API keys.
Details
- Author
- rmmargt
- Categories
- Search, Other, API
Jump to
配置环境变量 Configure Environment Variables
创建.env文件并设置以下环境变量: Create a.envfile and set the following environment variables:
SEARCHAPI_API_KEY=your_searchapi_key_here GOOGLE_API_KEY=your_google_api_key_here
Claude For Desktop 配置示例 Claude For Desktop Configuration Example
在 Claude for Desktop 的配置文件中添加以下内容: Add the following to your Claude for Desktop configuration file:
{ "mcpServers": { "searchapi": { "command": "uv", "args": [ "run", "--with", "mcp[cli]", "/path/to/searchapi-mcp-agent/mcp_server.py" ], "env": { "SEARCHAPI_API_KEY": "your_api_key_here", "GOOGLE_API_KEY": "your_google_api_key_here" } } } }
- macOS:~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:%APPDATA%\Claude\claude_desktop_config.json
本项目采用 MIT 许可证 - 详见 LICENSE 文件 This project is licensed under the MIT License - see the LICENSE file for details
- Model Context Protocol - 协议规范 | Protocol specification
- A2A Protocol - Agent-to-Agent 协议规范 | Agent-to-Agent protocol specification
- FastMCP - Python MCP 实现 | Python MCP implementation
- SearchAPI.io - 搜索服务提供商 | Search service provider
- Google A2A - Agent-to-Agent 协议参考实现 | A2A protocol reference implementation
注意:本服务器会与外部 API 进行交互。在使用 MCP 客户端确认操作之前,请始终验证请求的操作是否合适。Note: This server interacts with external APIs. Always verify that requested operations are appropriate before confirming them in MCP clients.
Search global news using natural language. Webz.io News Search API returns the most relevant articles and content, with filters for source, country, language, date, sentiment, and category.
Search the web using Kagi's search API
Multi-provider search broker for AI agents. Routes across SearXNG, Brave, Serper, Tavily, and Exa with automatic fallback, RRF ranking, content extraction, and budget enforcement.
A search server for the Model Context Protocol (MCP) that uses the Baidu Wenxin API.
Perform web, news, and image searches using the Microsoft Bing Search API.
An MCP server for web and local search using the Brave Search API.
Integrates the Brave Search API for both web and local search capabilities. Requires a BRAVE_API_KEY.
An MCP server for the Brave Search API, providing web and local search capabilities via a streaming SSE interface.
An MCP server for the Brave Search API, providing both web and local search capabilities.
Search for cocktail recipes using the cezzis.com API.
Free search API for AI agents — 105 engines, 22 profiles, 94.3% SimpleQA accuracy, MCP server with 5 tools
启动 Google A2A 项目的 Host Agent 和 SearchAPI Agent
按照以下步骤启动完整的 A2A 环境,包括 Host Agent 和 SearchAPI Agent:
# 在searchapi-mcp-agent目录下 python -m searchapi_mcp_agent --host localhost --port 10001
# 切换到 Google A2A 样例目录 cd path/to/A2A/samples/python # 运行 Host Agent (选择一种) uv run hosts/cli # 命令行界面 # 或 uv run hosts/multiagent # 多代理环境
在 UI 中,点击机器人图标添加 SearchAPI Agent,使用以下地址:
可以通过以下方式发送请求: You can send requests in the following ways:
{ "query": "查找从纽约到洛杉矶的航班" }
Agent会使用LLM自动将查询路由到合适的工具。 The agent will use LLM to automatically route the query to the appropriate tool.
{ "tool_name": "search_google_flights", "parameters": { "departure_id": "NYC", "arrival_id": "LAX", "outbound_date": "2024-12-01" } }
本项目已完全实现 A2A 协议,可以作为 AI 助手的服务端点。API 符合 A2A 规范,支持任务创建、状态查询和流式响应。
This project fully implements the A2A protocol and can serve as a service endpoint for AI assistants. The API complies with the A2A specification, supporting task creation, status queries, and streaming responses.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




