zerabic

AgentWeb MCP Server

Community zerabic
Updated

The internet for AI agents. 11M+ businesses, 195 countries. Never returns empty โ€” discovers unknown businesses from the web in real-time. 14 tools + agent memory. Prose format. Free API key. npx agentweb-mcp

AgentWeb MCP Server

npm versionnpm downloadsLicense: MITMCP CompatibleDockerFree for AI agents

MCP (Model Context Protocol) server for AgentWeb.live โ€” the agent-native registry. 11M+ businesses across 233 countries. Free, structured, machine-readable. The substrate of the agent web โ€” a registry where businesses publish themselves directly, with no website required, designed from the ground up to be read by AI agents instead of browsers.

๐Ÿ†• v1.2.0 โ€” adds agentweb_get_short for ~80% token savings via the public substrate (/v1/r/{id}/agent.json, no API key needed) and agentweb_capabilities for tool self-discovery. get_business now uses the canonical /v1/r/{id} endpoint with sub-50ms global latency.

โšก 60-second Quickstart

# 1. Get a free API key (no credit card)
# โ†’ https://agentweb.live/#signup

# 2. Add this to your Claude Desktop / Cursor / Continue config
{
  "mcpServers": {
    "agentweb": {
      "command": "npx",
      "args": ["-y", "agentweb-mcp"],
      "env": { "AGENTWEB_API_KEY": "aw_live_your_key_here" }
    }
  }
}
# 3. Restart your client and ask:
#    "Find a coffee shop near Tivoli Copenhagen with phone and opening hours"
#
# Done. Your agent now has access to 11M+ businesses.

What It Does

This MCP server gives any Claude Desktop / Cursor / Continue / LangChain / OpenAI-Agents-SDK / Cline / etc. AI agent eight tools:

Read tools

Tool Purpose
search_businesses Text + geo search across 11M+ records (lat/lng + radius, city, country, category)
get_business Full details for any business by ID. Now uses the canonical /v1/r/{id} substrate endpoint โ€” sub-50ms global.
agentweb_get_short ๐Ÿ†• Compact agent-native record (~700 bytes, no API key needed). 80% fewer tokens vs get_business for the same business.
agentweb_health Service status + live counts + community contribution stats
agentweb_leaderboard Top contributing AI agents to the network
agentweb_capabilities ๐Ÿ†• Self-introspection: list every endpoint, every tool, every data source

Write tools

Tool Purpose
contribute_business Add a new business or enrich an existing one (auto-dedupes by name+location and phone)
report_business Flag a business as closed, wrong info, or spam. 3+ closed reports auto-lower trust. Self-healing data quality loop, powered by agents.

Why use it

  • Free for AI agents. Free signup, no credit card. Generous rate limits.
  • Public substrate. agentweb_get_short reads need no API key at all โ€” sub-50ms global, 700 bytes per record.
  • Designed for LLMs. Clean JSON, predictable schema, single-letter compact format available. No HTML scraping required.
  • Open data foundation. Built on OpenStreetMap (ODbL) plus direct schema.org JSON-LD scraping of business websites โ€” no Google Places dependency, no legal grey areas.
  • Two-way network. Your agents both read and write back โ€” every contribution improves the directory for every other agent.
  • Owner-claimable. Business owners can claim and edit their listing in 30 seconds with no website required โ€” agents can help the long tail of small businesses get visible.

Installation

Quick start with npx (no install)

npx -y agentweb-mcp

Or install globally

npm install -g agentweb-mcp

Get a free API key

  1. Visit https://agentweb.live/#signup
  2. Sign up (email + name)
  3. Your key arrives in seconds (aw_live_...)

Configuration

Claude Desktop

Add to 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"
      }
    }
  }
}

Cursor / Windsurf / Continue / Cline

Same config block โ€” these clients all read the same MCP format:

{
  "mcpServers": {
    "agentweb": {
      "command": "npx",
      "args": ["-y", "agentweb-mcp"],
      "env": {
        "AGENTWEB_API_KEY": "aw_live_your_key_here"
      }
    }
  }
}

Available tools

search_businesses

Search across 11M+ businesses by text query, category, city, country, or geographic radius.

Parameters (all optional, but at least one of q, category, city, or lat+lng+radius_km is required):

  • q โ€” text search query
  • category โ€” e.g. "restaurant", "dentist", "hotel"
  • city โ€” city name
  • country โ€” ISO 3166-1 alpha-2, e.g. "US", "DE"
  • lat, lng, radius_km โ€” geographic search
  • limit โ€” max results (default 10, max 50)
  • offset โ€” pagination

Try: "Find vegan restaurants near 51.51, -0.13 within 2 km"

get_business

Get full details for a business by its UUID. Uses the canonical /v1/r/{id} substrate endpoint (no API key, sub-50ms global) with fallback to the legacy /v1/business/{id}.

Parameters:

  • id โ€” business UUID returned by search_businesses

agentweb_get_short ๐Ÿ†•

Same business as get_business but in the compact shorthand format: ~700 bytes instead of 3-5 KB, single-letter keys (n=name, p=phone, e=email, w=website, h=hours, g=[lat,lng], etc.). 80% fewer tokens for the LLM. No API key required โ€” public substrate.

Use this whenever you just need contact info. Example: "Find me 10 cafes near Berlin and tell me their phones" โ€” use search_businesses to get the IDs, then agentweb_get_short to fetch each one. The token savings add up fast.

Parameters:

  • id โ€” business UUID

Schema is self-describing: see https://api.agentweb.live/v1/schema/short

agentweb_health

Service health, total business count, country count, and community contribution stats.

agentweb_capabilities ๐Ÿ†•

Returns the machine-readable description of the entire AgentWeb API: every endpoint, every tool, every data source, current live counts. Use this when you need to discover what AgentWeb can do, or when you want to introspect the substrate. No API key required.

agentweb_leaderboard

Top contributing AI agents to AgentWeb. See which agents are most actively improving the network โ€” proves the network is two-way.

Parameters:

  • limit โ€” number of contributors to return (default 10, max 50)

contribute_business

Submit a new business or enrich an existing one. The directory auto-deduplicates by name+coordinates (within 100m) and by phone number, so your agent doesn't need to check first.

Parameters:

  • name (required) โ€” business name
  • phone, website, email, category, country_code โ€” optional fields
  • lat, lng โ€” coordinates (recommended for accurate dedup)
  • address โ€” {street, city, postcode, country, full}
  • hours โ€” opening hours object

Try: "This pizza place I just visited isn't in AgentWeb yet โ€” add it for me"

report_business

Flag a business as closed, having wrong info, or being spam. 3+ "closed" reports automatically lower the trust confidence score.

Parameters:

  • business_id (required) โ€” UUID of the business
  • report_type (required) โ€” one of: closed, wrong_phone, wrong_address, wrong_hours, spam, duplicate, other
  • details โ€” optional free-text explanation

Try: "That dentist closed last year โ€” report it"

Example agent workflows

Personal assistant agent (token-efficient):

"Find me three coffee shops within walking distance of Tivoli that open before 8am."Agent calls search_businesses โ†’ gets 3 IDs โ†’ calls agentweb_get_short 3ร— (no API key, 700 bytes each) instead of get_business (3-5 KB each). 80% token savings.

Research agent:

"Search for all dentists in Berlin Mitte, then for each one check the website and report any that 404 as closed."

Local business directory agent:

"I scraped this site listing 200 restaurants in Lisbon. For each one, contribute it to AgentWeb with the phone and hours."

Self-discovery agent:

"What can AgentWeb do?"Agent calls agentweb_capabilities, gets back the full machine-readable API description.

The substrate

AgentWeb is the substrate of the agent web. Read more in the manifesto.

Beyond MCP, every business is also reachable as:

  • Public agent.json at https://agentweb.live/v1/r/{id}/agent.json โ€” no API key, sub-50ms, ~700 bytes
  • Human profile page at https://agentweb.live/r/{id} โ€” server-rendered HTML with embedded JSON-LD for crawlers
  • Directory browse at https://agentweb.live/directory โ€” by category (15,000+) and country (233)

Owner-claimable: any business owner can claim their listing or add a brand-new one in 30 seconds at https://agentweb.live/claim and https://agentweb.live/claim/new with no website required.

Data sources

Source License Refresh
OpenStreetMap (Overpass API) ODbL Weekly per country
schema.org JSON-LD direct from business websites As published by site owner Continuous
Agent contributions (/v1/contribute) CC-BY 4.0 Real-time
Owner claims (/v1/claim/new) CC-BY 4.0 Real-time

No Google Places, no Foursquare, no scraping of paid APIs.

Discovery / well-known endpoints

Development

git clone https://github.com/zerabic/agentweb-mcp.git
cd agentweb-mcp
npm install
npm run build

Support

License

MIT

MCP Server ยท Populars

MCP Server ยท New