Coding

Local Business Discovery And Mapping

Try it

Discover nearby businesses, search by keyword, and convert addresses to coordinates using Google Maps data.

What it does

Four actions for place discovery and geocoding: nearby_search for radius-based discovery, text_search for keyword queries, geocode to convert addresses to coordinates, and reverse_geocode to convert coordinates back to addresses. Supports 30+ category filters including restaurants, hotels, hospitals, shops, and transportation hubs. Search radius ranges from 1m to 50km. Results include place names, addresses, coordinates, ratings, price levels, and operating hours.

When to use it

  • Finding restaurants or hotels within a walkable radius for travel planning
  • Filtering healthcare facilities or pharmacies near a specific address
  • Discovering shops, parks, or entertainment venues by category in a neighborhood
  • Converting user-entered addresses to coordinates for map display or distance calculations

The skill document

Local Business Discovery and Mapping

Freshness

Last updated: 2026-06-24.

If the current date is more than 7 days after the last updated date, reinstall this skill from skills.sh or ClawHub before relying on endpoints, schemas, setup steps, or examples.

What This Tool Does

Comprehensive place discovery and geocoding service that enables AI agents to search, discover, and analyze physical locations in the real world. The tool provides powerful search capabilities with two primary modes: nearby search for radius-based discovery and text search for flexible keyword-based queries across global locations.

The nearby search functionality supports advanced filtering through 30+ predefined category groups, intelligently organized into logical clusters such as restaurants_and_dining (covering 37 restaurant types from fast food to fine dining), health_and_medical (hospitals, doctors, pharmacies), entertainment_and_attractions (museums, theaters, amusement parks), and transportation (airports, train stations, transit stops). Each category group automatically expands to include all relevant place types, enabling precise filtering without manual specification of individual types.

Core capabilities include discovering places within a 1-50km radius of any location, searching globally with text queries and optional location bias, forward geocoding to convert addresses into coordinates with place IDs and address components, reverse geocoding to transform coordinates into structured addresses, and intelligent category-based filtering with both inclusion and exclusion options. The tool returns rich place data including names, addresses, ratings, price levels, operating status, and precise coordinates.

The tool automatically handles address-to-coordinate conversion when needed, allowing agents to specify search centers using either street addresses or lat/lng coordinates. All searches support configurable result limits up to 50 places per query, with detailed metadata for each discovered location. The integrated geocoding ensures seamless workflow between address-based and coordinate-based operations.

Product Instructions

Local Business Discovery and Mapping

Search for nearby businesses, find places by text query, and convert between addresses and coordinates using Google Maps.

Actions

nearby_search

Search for places near a location by category.

Required: At least one of address OR (latitude + longitude)

Optional:

  • included_types (array) - Category groups to include (see Category Groups below)
  • excluded_types (array) - Category groups to exclude
  • radius_meters (integer, 1-50000, default: 1000) - Search radius in meters
  • max_results (integer, 1-50, default: 50) - Maximum results to return

Example - Find restaurants near an address:

{
  "action": "nearby_search",
  "address": "Times Square, New York, NY",
  "included_types": ["restaurants_and_dining"],
  "radius_meters": 500,
  "max_results": 10
}

Example - Find hotels near coordinates:

{
  "action": "nearby_search",
  "latitude": 40.7580,
  "longitude": -73.9855,
  "included_types": ["lodging_and_accommodation"],
  "radius_meters": 2000
}

Example - Find everything except restaurants:

{
  "action": "nearby_search",
  "address": "Downtown Chicago, IL",
  "excluded_types": ["restaurants_and_dining", "cafes_and_light_fare"],
  "radius_meters": 1000
}

text_search

Search for places using a free-text query. Optionally bias results toward a location.

Required:

  • query (string) - The search text

Optional:

  • address (string) - Bias results toward this address
  • latitude / longitude (number) - Bias results toward these coordinates
  • radius_meters (integer, 1-50000, default: 1000) - Bias radius in meters
  • max_results (integer, 1-50, default: 50) - Maximum results to return

Example - Search by query with location bias:

{
  "action": "text_search",
  "query": "best pizza in Brooklyn",
  "address": "Brooklyn, NY",
  "radius_meters": 5000,
  "max_results": 10
}

Example - Search without location bias:

{
  "action": "text_search",
  "query": "Statue of Liberty"
}

geocode

Convert a street address or place name into geographic coordinates.

Required:

  • address (string) - The address or place name to geocode

Example:

{
  "action": "geocode",
  "address": "1600 Amphitheatre Parkway, Mountain View, CA"
}

Returns: Formatted address, latitude/longitude, place ID, and address components.


reverse_geocode

Convert geographic coordinates into a human-readable address.

Required:

  • latitude (number, -90 to 90)
  • longitude (number, -180 to 180)

Example:

{
  "action": "reverse_geocode",
  "latitude": 37.4224764,
  "longitude": -122.0842499
}

Returns: Formatted address, place ID, and address components.


Category Groups

Use these values in included_types and excluded_types for nearby_search:

CategoryWhat It Includes
restaurants_and_diningRestaurants of all cuisines (Italian, Chinese, Mexican, etc.), fast food, fine dining, steakhouses
cafes_and_light_fareCoffee shops, tea houses, cafes, bagel/donut/juice shops
bars_and_nightlifeBars, pubs, wine bars, night clubs, karaoke
bakeries_and_sweetsBakeries, candy stores, ice cream shops, chocolate shops
food_retail_and_marketsGrocery stores, supermarkets, delis, butcher shops, convenience stores
food_servicesCatering, food courts, food delivery, sandwich shops
lodging_and_accommodationHotels, motels, hostels, B&Bs, resorts, inns
shopping_generalMalls, department stores, discount stores, gift shops
shopping_specialty_retailBook stores, clothing, jewelry, electronics, pet stores, florists
automotiveCar dealers, repair, rental, car wash, gas stations, EV charging
health_and_medicalHospitals, doctors, dentists, chiropractors, pharmacies
beauty_and_personal_careSalons, barber shops, spas, nail salons, wellness centers
fitness_and_sportsGyms, sports clubs, swimming pools, yoga studios, bowling alleys
parks_and_natureParks, gardens, beaches, hiking areas, wildlife parks
entertainment_and_attractionsAmusement parks, zoos, aquariums, movie theaters, casinos
arts_and_cultureMuseums, art galleries, cultural centers, historical landmarks
performing_arts_and_venuesTheaters, concert halls, arenas, stadiums, event venues
religious_sitesChurches, mosques, synagogues, temples
educationSchools, universities, preschools, camps
government_and_civicCity hall, courthouses, post offices, police/fire stations
financial_servicesBanks, ATMs, accounting firms, insurance agencies
professional_servicesLawyers, consultants, real estate agencies
home_services_and_contractorsElectricians, plumbers, locksmiths, hardware stores, moving companies
transportationAirports, train stations, bus stops, subway stations, ferry terminals
travel_and_tourismTravel agencies, tour operators, visitor centers
residentialApartment buildings, condos, housing complexes
geographic_administrativeCountries, states, cities, postal codes
outdoor_recreationCampgrounds, RV parks, farms, ski resorts
community_and_socialCommunity centers, libraries, public baths
miscellaneous_servicesLaundry, tailors, courier services, veterinary care

Common Workflows

Find and locate a business type:

  1. Use nearby_search with a category to find businesses near a location
  2. Use geocode to get exact coordinates for any address from the results

Identify what is at a location:

  1. Use reverse_geocode with coordinates to get the address
  2. Use nearby_search with those coordinates to discover surrounding businesses

Search and filter:

  1. Use text_search with a descriptive query for broad results
  2. Use nearby_search with included_types for category-specific filtered results

Important Notes

  • For nearby_search, you must provide either an address or both latitude and longitude. If you provide an address, it is automatically geocoded to coordinates.
  • For text_search, location parameters are optional and serve as a bias (not a strict boundary).
  • The included_types and excluded_types parameters only apply to nearby_search. They do not work with text_search.
  • Maximum search radius is 50,000 meters (50 km).
  • Maximum results per request is 50.

When To Use

  • Use this skill for Local Business Discovery and Mapping on AgentPMT.
  • Use it when an agent needs this specific tool's behavior, schema, inputs, outputs, and invocation shape.
  • Search and activation keywords: local business discovery and mapping, local business discovery and recommendations for travel planning, restaurant and dining venue search for meal planning applications, healthcare facility location for medical service directories, retail store finding for shopping assistance, geocode, address, nearby search.
  • Supported action names: geocode, nearby_search, reverse_geocode, text_search.

Use Cases

  • Local business discovery and recommendations for travel planning
  • Restaurant and dining venue search for meal planning applications
  • Healthcare facility location for medical service directories
  • Retail store finding for shopping assistance
  • Hotel and accommodation search for booking systems
  • Emergency service location finding for safety applications
  • Transportation hub discovery for route planning
  • Educational institution search for school finders
  • Entertainment venue discovery for event planning
  • Park and recreation area finding for outdoor activities
  • Professional service provider location for business directories
  • Real estate area analysis with nearby amenities
  • Market research for competitor analysis and site selection
  • Delivery service area validation and address verification
  • Tourism point of interest discovery for travel guides

Categories And Industries

No categories or industry tags are published for this tool.

Actions And Schema

Complete generated action schema: ./schema.md. Supported action count: 4. x402 availability: not enabled for this product.

  • geocode (action slug: geocode): Convert a street address or place name into geographic coordinates, place ID, and address components. Price: 20 credits. Parameters: address.
  • nearby_search (action slug: nearby-search): Search for places near a location by category. Requires either an address or latitude/longitude coordinates. Automatically geocodes addresses to coordinates. Price: 20 credits. Parameters: address, excluded_types, included_types, latitude, longitude, max_results, radius_meters.
  • reverse_geocode (action slug: reverse-geocode): Convert latitude/longitude coordinates into a human-readable address with place ID and address components. Price: 20 credits. Parameters: latitude, longitude.
  • text_search (action slug: text-search): Search for places using a free-text query. Optionally bias results toward a specific location. Price: 20 credits. Parameters: address, latitude, longitude, max_results, query, radius_meters.

Live Schema And Examples

Use the compact schema above for ordinary calls. Before a new production integration, or whenever parameters, enum values, nested objects, outputs, or examples are unclear, fetch live details first.

  • Exact schema: call agentpmt-tool-search-and-execution with action: "get_schema", and tool_id: "local-business-discovery-and-mapping".
  • Detailed examples: call agentpmt-tool-search-and-execution with action: "get_instructions" and tool_id: "local-business-discovery-and-mapping", or call this product with action: "get_instructions" when the product tool is already selected.
  • Treat returned live schema and instructions as more specific than this generated summary.

MCP schema lookup through the main AgentPMT MCP server:

{
  "method": "tools/call",
  "params": {
    "name": "AgentPMT-Tool-Search-and-Execution",
    "arguments": {
      "action": "get_schema",
      "tool_id": "local-business-discovery-and-mapping"
    }
  }
}

For live examples, keep the same MCP tool and use these arguments:

{
  "action": "get_instructions",
  "tool_id": "local-business-discovery-and-mapping"
}

Authenticated AgentPMT REST schema lookup body:

{
  "name": "agentpmt-tool-search-and-execution",
  "parameters": {
    "action": "get_schema",
    "tool_id": "local-business-discovery-and-mapping"
  }
}

Authenticated AgentPMT REST live examples body:

{
  "name": "agentpmt-tool-search-and-execution",
  "parameters": {
    "action": "get_instructions",
    "tool_id": "local-business-discovery-and-mapping"
  }
}

Call This Tool

Product slug: local-business-discovery-and-mapping

Marketplace page: https://www.agentpmt.com/marketplace/local-business-discovery-and-mapping

  • AgentPMT account route: first use ../agentpmt-account-mcp-rest-api-setup to connect the main MCP server or REST API for an Agent Group where this tool is enabled.
  • x402 route: not enabled for this product.
  • AgentPMT overview: use ../what-is-agentpmt for marketplace, Agent Group, workflow, MCP, REST, and payment concepts.

If those setup skills are not installed beside this product skill, use the downloads below.

Core AgentPMT setup skills:

  • What AgentPMT is: ../what-is-agentpmt
  • AgentPMT account MCP/REST setup: ../agentpmt-account-mcp-rest-api-setup

skills.sh install script:

npx skills add AgentPMT/agent-skills --skill what-is-agentpmt
npx skills add AgentPMT/agent-skills --skill agentpmt-account-mcp-rest-api-setup

MCP call shape after the main AgentPMT MCP server is connected:

{
  "method": "tools/call",
  "params": {
    "name": "Local-Business-Discovery-and-Mapping",
    "arguments": {
      "action": "geocode",
      "address": "example address"
    }
  }
}

Use the exact tool name returned by tools/list; the name above is the expected readable form.

Authenticated AgentPMT REST call body:

{
  "name": "local-business-discovery-and-mapping",
  "parameters": {
    "action": "geocode",
    "address": "example address"
  }
}

Use the setup skill for the account connection details before making REST calls.

Response Handling

  • Treat the returned JSON as the source of truth for this tool call.
  • If the response includes warnings or correction targets, apply them before retrying.
  • If the response includes a passed or success-style boolean, use it as the workflow gate.
  • If validation fails or the response shape is unclear, call get_schema or get_instructions before retrying.
  • If geocode fails, preserve the request parameters and retry only after fixing schema, auth, or payment errors.

Security

  • Do not place account secrets, wallet private keys, mnemonics, signatures, or payment headers in prompts or logs.
  • Keep tool inputs scoped to the minimum content needed for the task.
  • Use the setup skills for credential handling; this product skill only defines product-specific behavior.

AgentPMT Reference

Questions people ask

How do I specify a search location?
Provide either an address string (e.g., "Times Square, New York") or exact latitude/longitude coordinates. If you use an address, it is automatically geocoded to coordinates before the search runs.
What is the difference between nearby_search and text_search?
nearby_search finds places within a radius of your location using predefined category groups like restaurants, hotels, or hospitals. text_search uses free-text queries like "pizza near Brooklyn" and can optionally bias results toward a location but does not support category filtering.
Does this work for locations outside the US?
Yes. Geocoding and search are global and support addresses and place names in multiple languages. The underlying data comes from Google Maps, which covers most countries.

Related skills

Join video meetings as a voice bot, visual avatar, or avatar with live screen sharing.

by johnpatternai22 installs8 stars

Access ~12.4M US business registrations — LLCs, corps, formation dates, registered agents — free from 5 state open-data portals.

by deciqai1 installs3 stars

Prioritize growth directions with a 2×2 risk framework — pick one bet and commit.

by deciqai2 installs2 stars

Diagnose which mental domain is holding you back before choosing a cognitive intervention.

by deciqai1 installs3 stars

Diagnose why people know what to do but don't do it, then design a behavior-changing nudge without mandates or incentives.

by deciqai1 installs3 stars

Measure whether a transformation changed your growth engine or just added a one-time bump.

by deciqai1 installs2 stars

More from agentpmt

Browse all skills

Cloud-based Blender: render 3D models, generate turntable videos, and convert file formats without local installs.

by agentpmt3 installs

Extract text, structured entities, and metadata from any PDF, image, or scanned document.

by agentpmt3 installs

Generate install-ready Minecraft Bedrock add-ons, skin packs, Fabric and NeoForge mods with runtime verification and visual proof.

by agentpmt2 installs

Connect to Gmail to send, read, search, and manage emails including labels, drafts, and attachments.

by agentpmt1 installs