Geocodio MCP by usefulapi
Geocode and reverse-geocode addresses, measure distances, and manage lists in Geocodio.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (1)
- LOWen geocodio_distance_matrix
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"geocodio": {
"url": "https://geocodio.usefulapi.io/mcp"
}
}
}Puntos de conexión remotos
https://geocodio.usefulapi.io/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (11)
🟢geocodio_geocode_address(q, street, city, state_province, postal_code, ...)
Forward geocoding: turn one address into coordinates and standard address parts. Pass q, or the parts (street, city, state_province, postal_code). Geocodio REST: GET /geocode.
Esquema de entrada
{
"type": "object",
"properties": {
"q": {
"description": "The full address as one string, e.g. '1109 N Highland St, Arlington VA'.",
"type": "string"
},
"street": {
"description": "Street line, when not using q.",
"type": "string"
},
"city": {
"description": "City, when not using q.",
"type": "string"
},
"state_province": {
"description": "State or province, when not using q.",
"type": "string"
},
"postal_code": {
"description": "Postal code, when not using q.",
"type": "string"
},
"country": {
"description": "Country hint: 'USA', 'Canada', 'Mexico', 'UK', 'Australia' or 'New Zealand'.",
"type": "string"
},
"fields": {
"description": "Comma-separated data fields to append, e.g. 'cd,stateleg,timezone'. Each field adds one lookup.",
"type": "string"
},
"limit": {
"description": "Max candidate matches (default 1).",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢geocodio_geocode_batch(addresses, fields, country, limit)
Batch forward geocoding for up to 1000 addresses in one call. Geocodio REST: POST /geocode with a JSON array. Each address and each field is one lookup.
Esquema de entrada
{
"type": "object",
"properties": {
"addresses": {
"minItems": 1,
"maxItems": 1000,
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"description": "Addresses to geocode, one string each (up to 1000 per call)."
},
"fields": {
"description": "Comma-separated data fields to append, e.g. 'cd,stateleg,timezone'. Each field adds one lookup.",
"type": "string"
},
"country": {
"description": "Country hint: 'USA', 'Canada', 'Mexico', 'UK', 'Australia' or 'New Zealand'.",
"type": "string"
},
"limit": {
"description": "Max candidate matches per address.",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"required": [
"addresses"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢geocodio_reverse_coordinates(lat, lng, fields)
Reverse geocoding: turn one latitude and longitude into the nearest address. Geocodio REST: GET /reverse.
Esquema de entrada
{
"type": "object",
"properties": {
"lat": {
"type": "number",
"minimum": -90,
"maximum": 90,
"description": "Latitude, e.g. 38.886672."
},
"lng": {
"type": "number",
"minimum": -180,
"maximum": 180,
"description": "Longitude, e.g. -77.094735."
},
"fields": {
"description": "Comma-separated data fields to append, e.g. 'cd,stateleg,timezone'. Each field adds one lookup.",
"type": "string"
}
},
"required": [
"lat",
"lng"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢geocodio_reverse_batch(points, fields)
Batch reverse geocoding for up to 1000 'lat,lng' strings in one call. Geocodio REST: POST /reverse with a JSON array.
Esquema de entrada
{
"type": "object",
"properties": {
"points": {
"minItems": 1,
"maxItems": 1000,
"type": "array",
"items": {
"type": "string",
"pattern": "^-?\\d+(\\.\\d+)?,\\s*-?\\d+(\\.\\d+)?$"
},
"description": "Coordinates as 'lat,lng' strings."
},
"fields": {
"description": "Comma-separated data fields to append, e.g. 'cd,stateleg,timezone'. Each field adds one lookup.",
"type": "string"
}
},
"required": [
"points"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢geocodio_parse_address(q)
Split one free-form address into its components (street, city, state, zip). Geocodio REST: GET /parse.
Esquema de entrada
{
"type": "object",
"properties": {
"q": {
"type": "string",
"minLength": 1,
"description": "The address to parse."
}
},
"required": [
"q"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢geocodio_distance_from_origin(origin, destinations, mode, units, max_results, ...)
Distance and drive time from one origin to up to many destinations. Addresses or 'lat,lng' strings work. Geocodio REST: GET /distance.
Esquema de entrada
{
"type": "object",
"properties": {
"origin": {
"type": "string",
"minLength": 1,
"description": "Origin address or 'lat,lng'."
},
"destinations": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"description": "Destination addresses or 'lat,lng' strings."
},
"mode": {
"description": "Distance mode.",
"type": "string",
"enum": [
"driving",
"haversine",
"straightline"
]
},
"units": {
"description": "Distance units.",
"type": "string",
"enum": [
"miles",
"km"
]
},
"max_results": {
"description": "Max destinations to return.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"order_by": {
"description": "Sort key.",
"type": "string",
"enum": [
"distance",
"duration"
]
},
"sort_order": {
"description": "Sort direction.",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"country": {
"description": "Country hint: 'USA', 'Canada', 'Mexico', 'UK', 'Australia' or 'New Zealand'.",
"type": "string"
}
},
"required": [
"origin",
"destinations"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢geocodio_distance_matrix(origins, destinations, calculation_type, mode, units, ...)
Distances between many origins and many destinations, or one-to-one pairs. Geocodio REST: POST /distance-matrix. Each origin-destination pair is one lookup.
Esquema de entrada
{
"type": "object",
"properties": {
"origins": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"description": "Origin addresses or 'lat,lng' strings."
},
"destinations": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"description": "Destination addresses or 'lat,lng' strings."
},
"calculation_type": {
"description": "'matrix' = every pair; 'pairs' = one-to-one.",
"type": "string",
"enum": [
"matrix",
"pairs"
]
},
"mode": {
"description": "Distance mode.",
"type": "string",
"enum": [
"driving",
"haversine",
"straightline"
]
},
"units": {
"description": "Distance units.",
"type": "string",
"enum": [
"miles",
"km"
]
},
"max_results": {
"description": "Max results per origin.",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"origins",
"destinations"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢geocodio_list_spreadsheets(page)
Show the geocoding lists (uploaded spreadsheets) on the account, one page at a time. Geocodio REST: GET /lists. Needs a key with list access.
Esquema de entrada
{
"type": "object",
"properties": {
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢geocodio_get_list_status(id)
Show the processing status of one geocoding list (WAITING, PROCESSING, COMPLETED or FAILED). Geocodio REST: GET /lists/{id}.
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
],
"description": "The list id."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢geocodio_download_list_results(id)
Download the results of a COMPLETED geocoding list as CSV text. Geocodio REST: GET /lists/{id}/download. Large lists can exceed the result cap.
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
],
"description": "The list id."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴geocodio_delete_list(id)
Delete one geocoding list and its results from the account. This cannot be undone. Geocodio REST: DELETE /lists/{id}.
Esquema de entrada
{
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
],
"description": "The list id."
}
},
"required": [
"id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Comunidad
Evidencia