Free business data for AI agents. 11M+ businesses, 227 countries, phone/email/hours.
MCP (Model Context Protocol) server for AgentWeb.live — a free business directory API with 11M+ businesses across 195 countries.
This MCP server exposes AgentWeb's business directory API to AI assistants like Claude, enabling them to:
The easiest way to use this server is with npx:
npx agentweb-mcp
npm install -g agentweb-mcp
agentweb-mcp
You need a free API key from AgentWeb:
aw_live_...)Add this to your claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"agentweb": {
"command": "npx",
"args": ["-y", "agentweb-mcp"],
"env": {
"AGENTWEB_API_KEY": "aw_live_your_key_here"
}
}
}
}
Add to your MCP settings file:
{
"mcpServers": {
"agentweb": {
"command": "npx",
"args": ["-y", "agentweb-mcp"],
"env": {
"AGENTWEB_API_KEY": "aw_live_your_key_here"
}
}
}
}
{
"mcpServers": {
"agentweb": {
"command": "npx",
"args": ["-y", "agentweb-mcp", "aw_live_your_key_here"]
}
}
}
search_businessesSearch for businesses in the AgentWeb directory.
Parameters:
q (string, optional): Text search query (business name, keywords)category (string, optional): Business category (e.g., "restaurant", "hotel")city (string, optional): City name for location filtercountry (string, optional): Country code (ISO 3166-1 alpha-2, e.g., "US", "GB")lat (number, optional): Latitude for geographic searchlng (number, optional): Longitude for geographic searchradius_km (number, optional): Search radius in kilometers (use with lat/lng)limit (number, optional): Max results to return (default: 10, max: 50)offset (number, optional): Number of results to skip for paginationNote: At least one of q, category, or lat+lng is required.
Example queries:
get_businessGet full details for a specific business by ID.
Parameters:
id (string, required): The unique business ID from AgentWebExample:
agentweb_healthCheck the health status of the AgentWeb API.
Parameters: None
Returns: API status, total businesses count, and countries available.
After configuring the server, you can ask Claude:
Find Italian restaurants in San Francisco
Search for dentists near me in Chicago
Get contact information for coffee shops in Seattle
git clone <repository>
cd agentweb-mcp
npm install
npm run build
npm run dev
agentweb-mcp/
├── src/
│ └── index.ts # Main MCP server implementation
├── dist/ # Compiled JavaScript (generated)
├── package.json
├── tsconfig.json
└── README.md
For full API documentation, visit AgentWeb API Docs.
MIT
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y agentweb-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-zerabic-agentweb": {
"command": "npx",
"args": [
"-y",
"agentweb-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referenceagentweb-mcpnpmio.github.zerabic/agentweb works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.