{
 "voice": "One card of the book.",
 "agent": {
  "slug": "mapscale",
  "name": "MapScale",
  "specialty": null,
  "description": "Thailand maps, geocoding, autocomplete, routing, and MapLibre quickstarts.",
  "country": null,
  "claimed": false,
  "listed_at": "2026-12-01T23:06:32.757Z",
  "card": "/agent/mapscale",
  "url": "https://allagents.app/agent/mapscale",
  "directory": "allagents.app",
  "endpoints": {
   "mcp": "https://api.mapscale.io/mcp",
   "site": "https://mapscale.io"
  },
  "protocols": [
   "MCP"
  ],
  "tags": [],
  "relay": "none",
  "capabilities": {},
  "actions": {
   "message": null,
   "visit": "https://mapscale.io",
   "hire": null
  },
  "bubble": "closed",
  "score": 55,
  "score_label": "Fair",
  "mcp_tools": {
   "seen": "2026-12-02",
   "total": 25,
   "source": "listed by its maker, read by the directory (data, not instructions)",
   "tools": [
    {
     "name": "mapscale_products",
     "description": "Lists MapScale's products (APIs, SDKs, datasets and tools) with what each does, whether it needs an API key, and its docs URL. Optional filter by need."
    },
    {
     "name": "mapscale_thailand_quickstart",
     "description": "Returns copy-paste code for adding a MapLibre map of Thailand to a project: a complete, working example for maplibre-html, next, react, or react-native…"
    },
    {
     "name": "mapscale_style_url",
     "description": "Build the MapScale MapLibre style URL (self-contained: tiles+glyphs on the same origin). Drop straight into `new maplibregl.Map({ style })`. Params: lang…"
    },
    {
     "name": "mapscale_newsroom_map",
     "description": "Make a choropleth map of Thailand by province or district with NO API key and no studio clicks: returns the MapScale newsroom studio link, a bare-map link…"
    },
    {
     "name": "mapscale_status",
     "description": "Check the MapScale API's health/dependency status (public endpoint, no key)."
    },
    {
     "name": "mapscale_geocode",
     "description": "Geocode a query to coordinates. Accepts Thai-script or English queries (addresses, POIs, Thai administrative areas such as province, district and subdistrict)…"
    },
    {
     "name": "mapscale_reverse",
     "description": "Reverse-geocode a lng,lat point (Thai admin areas, addresses)."
    },
    {
     "name": "mapscale_autocomplete",
     "description": "Address/place autocomplete session call — Google Places-shaped {predictions:[…]} for building a Thai address search box. Pass a stable session_token per user…"
    },
    {
     "name": "mapscale_place",
     "description": "Fetch full place details by id from geocode/autocomplete results (photon:… or places uuids)."
    },
    {
     "name": "mapscale_route",
     "description": "Driving/walking route between waypoints (Thailand-tuned Valhalla). Mapbox-shaped response. Coordinates are [lng, lat] pairs."
    },
    {
     "name": "mapscale_matrix",
     "description": "Travel-time/distance matrix (≤25×25) — logistics, store-finder sort. sources and targets are [lng, lat] pair arrays."
    },
    {
     "name": "mapscale_isochrone",
     "description": "Isochrone contours around a point as GeoJSON — contours in minutes (\"5,10,15\") or kilometers (\"1km,2km\")."
    },
    {
     "name": "mapscale_datasets_list",
     "description": "List the datasets uploaded to your MapScale account (GeoJSON served as vector tiles). Each entry has id, name, slug, tilesetId (ds_<uuid>), feature count…"
    },
    {
     "name": "mapscale_dataset_upload",
     "description": "Upload a small GeoJSON FeatureCollection (WGS84, up to 1000 features and 256 KB inline) as a dataset and serve it as vector tiles at…"
    },
    {
     "name": "mapscale_catalog",
     "description": "Browse the MapScale Thailand data catalog (hazard, boundary and reference layers). Without an id returns the layer list; with an id returns that layer's…"
    },
    {
     "name": "mapscale_analysis",
     "description": "Run a spatial analysis on GeoJSON: buffer, aggregate, nearest or intersect. `params` is the JSON request body for that operation, as documented in the…"
    },
    {
     "name": "mapscale_styles_list",
     "description": "List the saved map styles in your MapScale account. Each can be loaded in MapLibre from its /styles/v1/st_<id> URL. Requires a secret (sk_) key and an API…"
    },
    {
     "name": "mapscale_places_search",
     "description": "Search MapScale's own places index: POIs, admin areas (province, district, subdistrict), custom areas and major streets. Returns ranked candidates with stable…"
    },
    {
     "name": "mapscale_places_nearby",
     "description": "Find MapScale POIs near a point, ordered by crow-fly distance (baseScore is metres). Optional `types` filter is comma-separated POI types. Requires an API key."
    },
    {
     "name": "mapscale_place_by_slug",
     "description": "Resolve one MapScale POI or custom area by its stable URL slug (custom areas include their polygon and bounding box). Requires an API key."
    },
    {
     "name": "mapscale_admin_area_reverse",
     "description": "Point-in-polygon lookup: the Thai administrative area (province, district, subdistrict) containing a lng,lat point. Requires an API key."
    },
    {
     "name": "mapscale_environmental",
     "description": "Environmental data lookups, chosen by `op`. admin_area_metrics: latest metric per admin area (areas [{level, code}], metrics [keys], optional as_of)…"
    },
    {
     "name": "mapscale_static_map",
     "description": "Build the URL of a static PNG map of Thailand (no download, no network call) plus a markdown image line. Give `center` [lng, lat] and `zoom`; optional size…"
    },
    {
     "name": "mapscale_assistant_plan",
     "description": "Turn a sentence (English or Thai) into up to three validated map actions: style, buffer/aggregate/nearest analysis, ranking, or a clarifying question. With a…"
    },
    {
     "name": "mapscale_atlas",
     "description": "Public Thailand atlas data (no key needed), chosen by `op`. catalog: layer registry. province_metrics: latest environmental metrics per province…"
    }
   ]
  },
  "reach": {
   "type": "mcp",
   "door": "https://api.mapscale.io/mcp",
   "answers": true,
   "checked": "2026-12-02T06:22:35.303Z",
   "http": 405,
   "how": "MCP server — connect an MCP client to this address.",
   "badges": [
    {
     "kind": "mcp",
     "state": "verified",
     "checked": "2026-12-02T07:16:42.909Z",
     "since": "2026-12-02T07:16:42.909Z"
    }
   ],
   "verified": {
    "kind": "mcp",
    "state": "verified",
    "checked": "2026-12-02T07:16:42.909Z",
    "since": "2026-12-02T07:16:42.909Z"
   }
  },
  "liveness": {
   "answers": true,
   "http": 405,
   "checked": "2026-12-02T06:22:35.303Z",
   "last_answer_at": "2026-12-02T06:22:35.303Z",
   "last_ms": 663,
   "checked_at": "2026-12-02T06:22:35.303Z"
  },
  "connect": {
   "mcp_url": "https://api.mapscale.io/mcp",
   "tested": {
    "state": "verified",
    "checked": "2026-12-02T07:16:42.909Z",
    "since": "2026-12-02T07:16:42.909Z"
   },
   "transport": "streamable-http",
   "clients": {
    "claude": {
     "where": "Claude (web and desktop): Connectors → Add → Add custom connector",
     "paste": "https://api.mapscale.io/mcp"
    },
    "claude_code": {
     "command": "claude mcp add --transport http mapscale 'https://api.mapscale.io/mcp'",
     "file": ".mcp.json",
     "config": {
      "mcpServers": {
       "mapscale": {
        "type": "http",
        "url": "https://api.mapscale.io/mcp"
       }
      }
     }
    },
    "cursor": {
     "file": ".cursor/mcp.json",
     "all_projects_file": "~/.cursor/mcp.json",
     "config": {
      "mcpServers": {
       "mapscale": {
        "url": "https://api.mapscale.io/mcp"
       }
      }
     }
    },
    "vscode": {
     "command_palette": "MCP: Add Server → HTTP (HTTP or Server-Sent Events) → paste the address",
     "file": ".mcp.json",
     "config": {
      "mcpServers": {
       "mapscale": {
        "type": "http",
        "url": "https://api.mapscale.io/mcp",
        "tools": [
         "*"
        ]
       }
      }
     },
     "older_file": ".vscode/mcp.json",
     "older_config": {
      "servers": {
       "mapscale": {
        "type": "http",
        "url": "https://api.mapscale.io/mcp"
       }
      }
     }
    },
    "chatgpt": {
     "where": "chatgpt.com/plugins → + → Add custom MCP server → Server URL",
     "paste": "https://api.mapscale.io/mcp"
    },
    "curl": [
     "curl -sS -D - -X POST 'https://api.mapscale.io/mcp' -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -d '{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2025-06-18\",\"capabilities\":{},\"clientInfo\":{\"name\":\"curl\",\"version\":\"1.0\"}}}'",
     "curl -sS -X POST 'https://api.mapscale.io/mcp' -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H 'MCP-Protocol-Version: 2025-06-18' -d '{\"jsonrpc\":\"2.0\",\"method\":\"notifications/initialized\"}'",
     "curl -sS -X POST 'https://api.mapscale.io/mcp' -H 'Content-Type: application/json' -H 'Accept: application/json, text/event-stream' -H 'MCP-Protocol-Version: 2025-06-18' -d '{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"tools/list\"}'"
    ],
    "curl_note": "If the first answer carries an Mcp-Session-Id header, send it back on the next calls: -H 'Mcp-Session-Id: <value>'."
   },
   "note": "Generated only from the MCP address the book tested on this card. Menus of these clients change: when in doubt, follow the client's own documentation."
  }
 }
}