Koskamo

MapScale MCP

An MCP server providing tools for Thailand mapping, geocoding, routing, and travel-time analysis. It supports keyless map quickstarts and authenticated API calls for geocoding, autocomplete, and static maps, enabling agents to build interactive maps and perform location-based queries.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

MapScale MCP logo, by MapScaleCommunity listingStreamable HTTPNo sign-inEndpoint checked 2026-12-02Published by MapScale
You need:Maps work without a key, while geocoding and routing use an API key.Publishable keys cover autocomplete and place details only; the other API tools need a secret key.
MCP endpoint (Streamable HTTP)
https://api.mapscale.io/mcp
Vendor documentation

What its tools do

27 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

27 of 27 have a description · 27 of 27 declare behavior hints · 16 of 24 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Availability 1 of 1 checks passed in 30 days

What you can do with it

  • Build Thailand maps from spreadsheets
  • Geocode Thai and English addresses
  • Calculate travel-time matrices and isochrones
  • Generate static map images for reports

Source and maintenance

Community listingRegistry 0.1.0
Maintenance checked

Protocol and capabilities

Server
mapscale-mcp 0.1.0
MCP protocol negotiated in check
2025-06-18
Tools
27 advertised
Resources
1 advertised
Resource templates
0 advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  },
  "resources": {
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

MapScale — maps for Thailand (mapscale.io). `mapscale_thailand_quickstart` returns copy-paste code (a keyless demo path included), `mapscale_style_url` builds the one-URL MapLibre style, and `mapscale_status` reports API health; these need no key, and neither does `mapscale_newsroom_map`, which builds links to a finished Thailand choropleth (studio, embed, SVG, PNG) from a dataset or the user's own numbers. The geocode, reverse, autocomplete, place, route, matrix and isochrone tools use the key sent on this connection as an X-API-Key or Authorization: Bearer header.

Tools

27 advertised

mapscale_products — MapScale products and key requirements
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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.

mapscale_products input schema
{
  "type": "object",
  "properties": {
    "need": {
      "type": "string",
      "maxLength": 512,
      "description": "Optional keyword filter, e.g. \"autocomplete\", \"routing\", \"wordpress\", \"react native\". MCP client UTF-8 budget: 512 bytes."
    }
  }
}
mapscale_products annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_thailand_quickstart — Thailand map quickstart
Advertised by the server during the last successful anonymous check.
Advertised read-only

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, including a keyless demo path (OpenStreetMap-based PMTiles) and the hosted style URL path that needs a MapScale publishable key. Useful when a project needs a Thailand basemap with Thai or English labels.

mapscale_thailand_quickstart input schema
{
  "type": "object",
  "properties": {
    "framework": {
      "enum": [
        "maplibre-html",
        "next",
        "react",
        "react-native"
      ],
      "type": "string",
      "default": "maplibre-html",
      "maxLength": 512,
      "description": "Which framework's quickstart to return. MCP client UTF-8 budget: 512 bytes."
    }
  }
}
mapscale_thailand_quickstart annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_style_url — MapLibre style URL
Advertised by the server during the last successful anonymous check.
Advertised read-only

Build the MapScale MapLibre style URL (self-contained: tiles+glyphs on the same origin). Drop straight into `new maplibregl.Map({ style })`. Params: lang (th/en), accent (6-digit hex), hide (layer groups).

mapscale_style_url input schema
{
  "type": "object",
  "properties": {
    "hide": {
      "type": "array",
      "items": {
        "enum": [
          "street",
          "transit",
          "districts",
          "buildings",
          "water",
          "landuse"
        ],
        "type": "string"
      }
    },
    "lang": {
      "enum": [
        "th",
        "en"
      ],
      "type": "string",
      "default": "th",
      "maxLength": 512,
      "description": "MCP client UTF-8 budget: 512 bytes."
    },
    "accent": {
      "type": "string",
      "maxLength": 512,
      "description": "6-digit hex, # optional (e.g. 0c4a4a) MCP client UTF-8 budget: 512 bytes."
    }
  }
}
mapscale_style_url annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_newsroom_map — Make a Thailand map by link
Advertised by the server during the last successful anonymous check.
Advertised read-only

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, ready-to-paste responsive embed code and SVG/PNG image links, for a curated dataset (elderly share, rainfall, income, population density, forest, rice...) or the user's own numbers by province/district name (English or Thai). Free for editorial use with a 'Map: MapScale' credit linking to mapscale.io. Use for any "map these numbers" / "map X across Thailand" request from a journalist or writer.

mapscale_newsroom_map input schema
{
  "type": "object",
  "properties": {
    "top": {
      "type": "integer",
      "maximum": 15,
      "minimum": 3,
      "description": "Bars in the ranking chart."
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "place",
          "value"
        ],
        "properties": {
          "place": {
            "type": "string"
          },
          "value": {
            "type": "number"
          }
        }
      },
      "maxItems": 1000,
      "description": "The user's own numbers, one per province or district: [{place, value}]. place is an English or Thai name or a PCODE such as TH10."
    },
    "lang": {
      "enum": [
        "en",
        "th"
      ],
      "type": "string",
      "maxLength": 512,
      "description": "Map label language. MCP client UTF-8 budget: 512 bytes."
    },
    "play": {
      "type": "boolean",
      "description": "Embed link only: play the year-by-year animation once when the map loads (datasets with history)."
    },
    "year": {
      "type": "integer",
      "description": "Year to show for a dataset with history (it has a year slider, province charts and an animated GIF in the studio): warming and temperature 1900-2024, pm25 and unhealthy-air 2024-2025, flood-extent 2009-2014 (default 2011). Other datasets ignore it; an unknown year is dropped. Images (SVG/PNG) honour it."
    },
    "chart": {
      "enum": [
        "none",
        "line",
        "rank"
      ],
      "type": "string",
      "maxLength": 512,
      "description": "Which chart tab opens by default in the studio and embed (datasets with history). MCP client UTF-8 budget: 512 bytes."
    },
    "focus": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 20,
      "description": "Zoom to these provinces (PCODEs like TH50 or names); wins over region."
    },
    "notes": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "pcode",
          "text"
        ],
        "properties": {
          "text": {
            "type": "string"
          },
          "pcode": {
            "type": "string"
          }
        }
      },
      "maxItems": 5,
      "description": "Callouts pinned to provinces: [{pcode, text}] (text max 80 characters, no statistics)."
    },
    "shape": {
      "enum": [
        "wide",
        "square",
        "tall"
      ],
      "type": "string",
      "default": "wide",
      "maxLength": 512,
      "description": "Embed and image shape. MCP client UTF-8 budget: 512 bytes."
    },
    "stats": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "pcode",
          "metric"
        ],
        "properties": {
          "label": {
            "type": "string"
          },
          "pcode": {
            "type": "string"
          },
          "metric": {
            "enum": [
              "value",
              "change"
            ],
            "type": "string"
          }
        }
      },
      "maxItems": 4,
      "description": "Big-number cards under the map: [{pcode, metric: value|change, label?}]. The number comes from the data."
    },
    "style": {
      "enum": [
        "paper",
        "quiet",
        "monochrome",
        "midnight",
        "light",
        "dark"
      ],
      "type": "string",
      "maxLength": 512,
      "description": "Map look; light and dark also work. MCP client UTF-8 budget: 512 bytes."
    },
    "title": {
      "type": "string",
      "maxLength": 512,
      "description": "Map title (max 200 characters). MCP client UTF-8 budget: 512 bytes."
    },
    "colors": {
      "enum": [
        "blue",
        "green",
        "orange",
        "purple",
        "red",
        "viridis",
        "dry-wet",
        "cool-warm"
      ],
      "type": "string",
      "maxLength": 512,
      "description": "Colour ramp. MCP client UTF-8 budget: 512 bytes."
    },
    "locale": {
      "enum": [
        "en",
        "th"
      ],
      "type": "string",
      "default": "en",
      "maxLength": 512,
      "description": "Language of the studio page the links open. MCP client UTF-8 budget: 512 bytes."
    },
    "points": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "lat",
          "lng"
        ],
        "properties": {
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "label": {
            "type": "string"
          },
          "value": {
            "type": "number"
          }
        }
      },
      "maxItems": 2000,
      "description": "Point data instead of regions: [{lat, lng, label?, value?}]."
    },
    "region": {
      "enum": [
        "north",
        "northeast",
        "central",
        "east",
        "west",
        "south"
      ],
      "type": "string",
      "maxLength": 512,
      "description": "Zoom to one of the six regions; the rest of Thailand is drawn pale. MCP client UTF-8 budget: 512 bytes."
    },
    "source": {
      "type": "string",
      "maxLength": 512,
      "description": "The data source the journalist should credit (max 300 characters). MCP client UTF-8 budget: 512 bytes."
    },
    "values": {
      "type": "boolean",
      "description": "Label every province with its value."
    },
    "caption": {
      "type": "string",
      "maxLength": 512,
      "description": "Text under the map (max 300 characters). Never write numbers: use placeholders such as {TH50.value}, {TH50.change}, {TH50.name}, {TH50.rank}, {median.value}, {median.change}, {year}, {compareYear}, {unit}; the page fills them from the data. MCP client UTF-8 budget: 512 bytes."
    },
    "compare": {
      "type": "integer",
      "description": "Datasets with history: a second year. The map then shows the CHANGE (year minus compare), with a diverging cool-warm palette centred on 0. Example: dataset=warming, year=2024, compare=1950."
    },
    "dataset": {
      "type": "string",
      "maxLength": 512,
      "description": "Curated Thailand dataset: population, elderly, rain (3-month rainfall vs normal), rainfall-normal, income, city (built-up share), forest, farms, rice, durian (registered durian-growing households by province, 2024), district-population, air (PM2.5, 2024-2025), warming, temperature, flood (2011; flood-extent by year), flash-flood, fires, landslides, sinkholes, earthquake (2025). Used when data and points are absent. MCP client UTF-8 budget: 512 bytes."
    },
    "subtitle": {
      "type": "string",
      "maxLength": 512,
      "description": "Map subtitle (max 200 characters). MCP client UTF-8 budget: 512 bytes."
    },
    "highlight": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 8,
      "description": "Provinces (PCODEs like TH10 or names) to outline and label with name and value."
    }
  }
}
mapscale_newsroom_map annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_status — MapScale API status
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Check the MapScale API's health/dependency status (public endpoint, no key).

mapscale_status input schema
{
  "type": "object",
  "properties": {}
}
mapscale_status annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_geocode — Geocode a Thai address
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Geocode a query to coordinates. Accepts Thai-script or English queries (addresses, POIs, Thai administrative areas such as province, district and subdistrict) and returns a Mapbox-shaped GeoJSON FeatureCollection built on OpenStreetMap data. Requires a secret (sk_) key.

mapscale_geocode input schema
{
  "type": "object",
  "required": [
    "q"
  ],
  "properties": {
    "q": {
      "type": "string",
      "maxLength": 2048,
      "description": "Free-text query, e.g. \"siam paragon\" or \"ซีคอน สแควร์\" MCP client UTF-8 budget: 2048 bytes."
    },
    "bbox": {
      "type": "string",
      "maxLength": 128,
      "description": "minLng,minLat,maxLng,maxLat bias MCP client UTF-8 budget: 128 bytes."
    },
    "lang": {
      "enum": [
        "th",
        "en"
      ],
      "type": "string",
      "maxLength": 512,
      "description": "Result language MCP client UTF-8 budget: 512 bytes."
    },
    "limit": {
      "type": "integer",
      "default": 5,
      "maximum": 25,
      "minimum": 1
    },
    "country": {
      "type": "string",
      "maxLength": 512,
      "description": "ISO-2 filter, e.g. TH MCP client UTF-8 budget: 512 bytes."
    },
    "proximity": {
      "type": "string",
      "maxLength": 128,
      "description": "\"lng,lat\" bias MCP client UTF-8 budget: 128 bytes."
    }
  }
}
mapscale_geocode annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_reverse — Reverse geocode
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Reverse-geocode a lng,lat point (Thai admin areas, addresses).

mapscale_reverse input schema
{
  "type": "object",
  "required": [
    "point"
  ],
  "properties": {
    "lang": {
      "enum": [
        "th",
        "en"
      ],
      "type": "string",
      "maxLength": 512,
      "description": "MCP client UTF-8 budget: 512 bytes."
    },
    "point": {
      "type": "string",
      "maxLength": 128,
      "description": "\"lng,lat\" e.g. \"100.5018,13.7563\" MCP client UTF-8 budget: 128 bytes."
    }
  }
}
mapscale_reverse annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_autocomplete — Address autocomplete
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Address/place autocomplete session call — Google Places-shaped {predictions:[…]} for building a Thai address search box. Pass a stable session_token per user session.

mapscale_autocomplete input schema
{
  "type": "object",
  "required": [
    "q"
  ],
  "properties": {
    "q": {
      "type": "string",
      "maxLength": 2048,
      "description": "MCP client UTF-8 budget: 2048 bytes."
    },
    "lang": {
      "enum": [
        "th",
        "en"
      ],
      "type": "string",
      "maxLength": 512,
      "description": "MCP client UTF-8 budget: 512 bytes."
    },
    "limit": {
      "type": "integer",
      "default": 5,
      "maximum": 25,
      "minimum": 1
    },
    "session_token": {
      "type": "string",
      "maxLength": 512,
      "description": "MCP client UTF-8 budget: 512 bytes."
    }
  }
}
mapscale_autocomplete annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_place — Place details
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Fetch full place details by id from geocode/autocomplete results (photon:… or places uuids).

mapscale_place input schema
{
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 512,
      "description": "MCP client UTF-8 budget: 512 bytes."
    }
  }
}
mapscale_place annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_route — Route between points
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Driving/walking route between waypoints (Thailand-tuned Valhalla). Mapbox-shaped response. Coordinates are [lng, lat] pairs.

mapscale_route input schema
{
  "type": "object",
  "required": [
    "coordinates"
  ],
  "properties": {
    "profile": {
      "enum": [
        "driving",
        "walking"
      ],
      "type": "string",
      "default": "driving",
      "maxLength": 512,
      "description": "MCP client UTF-8 budget: 512 bytes."
    },
    "coordinates": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number"
        }
      },
      "description": "2..25 [lng, lat] pairs, start to end (MCP client budget)"
    }
  }
}
mapscale_route annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_matrix — Travel-time matrix
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Travel-time/distance matrix (≤25×25) — logistics, store-finder sort. sources and targets are [lng, lat] pair arrays.

mapscale_matrix input schema
{
  "type": "object",
  "required": [
    "sources",
    "targets"
  ],
  "properties": {
    "profile": {
      "enum": [
        "driving",
        "walking"
      ],
      "type": "string",
      "default": "driving",
      "maxLength": 512,
      "description": "MCP client UTF-8 budget: 512 bytes."
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number"
        }
      },
      "maxItems": 25,
      "minItems": 1
    },
    "targets": {
      "type": "array",
      "items": {
        "type": "array",
        "items": {
          "type": "number"
        }
      },
      "maxItems": 25,
      "minItems": 1
    }
  }
}
mapscale_matrix annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_isochrone — Isochrone (reachable area)
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Isochrone contours around a point as GeoJSON — contours in minutes ("5,10,15") or kilometers ("1km,2km").

mapscale_isochrone input schema
{
  "type": "object",
  "required": [
    "point"
  ],
  "properties": {
    "point": {
      "type": "string",
      "maxLength": 128,
      "description": "\"lng,lat\" MCP client UTF-8 budget: 128 bytes."
    },
    "profile": {
      "enum": [
        "driving",
        "walking"
      ],
      "type": "string",
      "default": "driving",
      "maxLength": 512,
      "description": "MCP client UTF-8 budget: 512 bytes."
    },
    "contours": {
      "type": "string",
      "default": "10,20,30",
      "maxLength": 512,
      "description": "\"5,10,15\" or \"1km,2km\" MCP client UTF-8 budget: 512 bytes."
    }
  }
}
mapscale_isochrone annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_datasets_list — List your datasets
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

List the datasets uploaded to your MapScale account (GeoJSON served as vector tiles). Each entry has id, name, slug, tilesetId (ds_<uuid>), feature count, geometry type and bbox. Requires a secret (sk_) key and an API deployment with the datasets endpoint.

mapscale_datasets_list input schema
{
  "type": "object",
  "properties": {}
}
mapscale_datasets_list annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_dataset_upload — Upload a GeoJSON dataset
Advertised by the server during the last successful anonymous check.
Open-world

Upload a small GeoJSON FeatureCollection (WGS84, up to 1000 features and 256 KB inline) as a dataset and serve it as vector tiles at /tiles/v1/ds_<id>/{z}/{x}/{y}.mvt. Larger files: POST to /v1/datasets directly. Requires a secret (sk_) key. Creates a stored dataset, so confirm with the user first.

mapscale_dataset_upload input schema
{
  "type": "object",
  "required": [
    "name",
    "geojson"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 512,
      "description": "Display name, 1-120 characters. MCP client UTF-8 budget: 512 bytes."
    },
    "slug": {
      "type": "string",
      "maxLength": 512,
      "description": "Optional layer name inside the tiles: lowercase letters, digits, - and _. Defaults to a slug of name. MCP client UTF-8 budget: 512 bytes."
    },
    "public": {
      "type": "boolean",
      "default": false,
      "description": "Let any key read the tiles. Default false (private to your account)."
    },
    "geojson": {
      "type": "object",
      "description": "GeoJSON FeatureCollection, e.g. {\"type\":\"FeatureCollection\",\"features\":[...]}. A JSON string is also accepted."
    }
  }
}
mapscale_dataset_upload annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": false,
  "destructiveHint": false
}
mapscale_catalog — Thailand data catalog
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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 details. Requires an API deployment with the catalog endpoint.

mapscale_catalog input schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "maxLength": 512,
      "description": "Optional catalog layer id from the list. MCP client UTF-8 budget: 512 bytes."
    }
  }
}
mapscale_catalog annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_analysis — Spatial analysis
Advertised by the server during the last successful anonymous check.
Open-world

Run a spatial analysis on GeoJSON: buffer, aggregate, nearest or intersect. `params` is the JSON request body for that operation, as documented in the MapScale analysis reference (https://mapscale.io/docs). Requires a secret (sk_) key and an API deployment with the analysis endpoints.

mapscale_analysis input schema
{
  "type": "object",
  "required": [
    "operation",
    "params"
  ],
  "properties": {
    "params": {
      "type": "object",
      "description": "JSON body for the chosen operation."
    },
    "operation": {
      "enum": [
        "buffer",
        "aggregate",
        "nearest",
        "intersect"
      ],
      "type": "string",
      "maxLength": 512,
      "description": "MCP client UTF-8 budget: 512 bytes."
    }
  }
}
mapscale_analysis annotations
{
  "readOnlyHint": false,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_styles_list — List saved styles
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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 deployment with the styles endpoint.

mapscale_styles_list input schema
{
  "type": "object",
  "properties": {}
}
mapscale_styles_list annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_places_search — Search places
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Search MapScale's own places index: POIs, admin areas (province, district, subdistrict), custom areas and major streets. Returns ranked candidates with stable feature keys. `types` is a comma-separated filter (e.g. condo,school,province). Requires an API key.

mapscale_places_search input schema
{
  "type": "object",
  "required": [
    "q"
  ],
  "properties": {
    "q": {
      "type": "string",
      "maxLength": 2048,
      "description": "Search text, 1-120 characters. MCP client UTF-8 budget: 2048 bytes."
    },
    "lang": {
      "enum": [
        "th",
        "en"
      ],
      "type": "string",
      "maxLength": 512,
      "description": "Result language. MCP client UTF-8 budget: 512 bytes."
    },
    "limit": {
      "type": "integer",
      "default": 30,
      "maximum": 50,
      "minimum": 1
    },
    "types": {
      "type": "string",
      "maxLength": 512,
      "description": "Comma-separated place types to keep. MCP client UTF-8 budget: 512 bytes."
    },
    "province_ids": {
      "type": "string",
      "maxLength": 512,
      "description": "Comma-separated province ids to restrict to. MCP client UTF-8 budget: 512 bytes."
    }
  }
}
mapscale_places_search annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_places_nearby — Nearby places
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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.

mapscale_places_nearby input schema
{
  "type": "object",
  "required": [
    "point"
  ],
  "properties": {
    "lang": {
      "enum": [
        "th",
        "en"
      ],
      "type": "string",
      "maxLength": 512,
      "description": "MCP client UTF-8 budget: 512 bytes."
    },
    "limit": {
      "type": "integer",
      "default": 20,
      "maximum": 100,
      "minimum": 1
    },
    "point": {
      "type": "string",
      "maxLength": 128,
      "description": "\"lng,lat\" e.g. \"100.5018,13.7563\" MCP client UTF-8 budget: 128 bytes."
    },
    "types": {
      "type": "string",
      "maxLength": 512,
      "description": "Comma-separated POI types to keep. MCP client UTF-8 budget: 512 bytes."
    },
    "radius": {
      "type": "integer",
      "default": 5000,
      "maximum": 50000,
      "minimum": 1,
      "description": "Metres."
    }
  }
}
mapscale_places_nearby annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_place_by_slug — Place by slug
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Resolve one MapScale POI or custom area by its stable URL slug (custom areas include their polygon and bounding box). Requires an API key.

mapscale_place_by_slug input schema
{
  "type": "object",
  "required": [
    "slug"
  ],
  "properties": {
    "lang": {
      "enum": [
        "th",
        "en"
      ],
      "type": "string",
      "maxLength": 512,
      "description": "MCP client UTF-8 budget: 512 bytes."
    },
    "slug": {
      "type": "string",
      "maxLength": 512,
      "description": "Stable place slug, up to 255 characters. MCP client UTF-8 budget: 512 bytes."
    }
  }
}
mapscale_place_by_slug annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_admin_area_reverse — Admin area at a point
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Point-in-polygon lookup: the Thai administrative area (province, district, subdistrict) containing a lng,lat point. Requires an API key.

mapscale_admin_area_reverse input schema
{
  "type": "object",
  "required": [
    "point"
  ],
  "properties": {
    "lang": {
      "enum": [
        "th",
        "en"
      ],
      "type": "string",
      "maxLength": 512,
      "description": "MCP client UTF-8 budget: 512 bytes."
    },
    "point": {
      "type": "string",
      "maxLength": 128,
      "description": "\"lng,lat\" e.g. \"100.5018,13.7563\" MCP client UTF-8 budget: 128 bytes."
    }
  }
}
mapscale_admin_area_reverse annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_environmental — Environmental data
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Environmental data lookups, chosen by `op`. admin_area_metrics: latest metric per admin area (areas [{level, code}], metrics [keys], optional as_of). flood_exposure: flood-event recurrence for up to 500 keyed points. elevation: Copernicus GLO-30 elevation for up to 500 keyed points. waterways: hydrography GeoJSON in a bbox. sources: provenance and coverage of the environmental datasets. All operations only read data. Requires an API key.

mapscale_environmental input schema
{
  "type": "object",
  "required": [
    "op"
  ],
  "properties": {
    "op": {
      "enum": [
        "admin_area_metrics",
        "flood_exposure",
        "elevation",
        "waterways",
        "sources"
      ],
      "type": "string",
      "maxLength": 512,
      "description": "MCP client UTF-8 budget: 512 bytes."
    },
    "bbox": {
      "type": "string",
      "maxLength": 128,
      "description": "waterways: \"minLng,minLat,maxLng,maxLat\". MCP client UTF-8 budget: 128 bytes."
    },
    "areas": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "level",
          "code"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "level": {
            "enum": [
              "country",
              "province",
              "district",
              "subdistrict"
            ],
            "type": "string"
          }
        }
      },
      "maxItems": 100,
      "description": "admin_area_metrics: [{level: country|province|district|subdistrict, code}]."
    },
    "as_of": {
      "type": "string",
      "maxLength": 512,
      "description": "admin_area_metrics: ISO 8601 date-time for a point-in-time read. MCP client UTF-8 budget: 512 bytes."
    },
    "kinds": {
      "type": "string",
      "maxLength": 512,
      "description": "waterways: comma-separated waterway kinds. MCP client UTF-8 budget: 512 bytes."
    },
    "limit": {
      "type": "integer",
      "description": "waterways 1..5000 (default 1000); sources 1..200 (default 100)."
    },
    "points": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "key",
          "lat",
          "lng"
        ],
        "properties": {
          "key": {
            "type": "string"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          }
        }
      },
      "maxItems": 500,
      "description": "flood_exposure and elevation: [{key, lat, lng}] with caller-chosen keys."
    },
    "metrics": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 100,
      "description": "admin_area_metrics: metric keys, lowercase [a-z0-9_.-]."
    },
    "datasets": {
      "type": "string",
      "maxLength": 512,
      "description": "sources: comma-separated dataset filter. MCP client UTF-8 budget: 512 bytes."
    },
    "event_keys": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 50,
      "description": "flood_exposure: optional flood event keys to restrict to."
    },
    "source_version": {
      "type": "string",
      "maxLength": 512,
      "description": "waterways: pin a source release. MCP client UTF-8 budget: 512 bytes."
    }
  }
}
mapscale_environmental annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_static_map — Static map image URL
Advertised by the server during the last successful anonymous check.
Advertised read-only

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, retina, labels language, accent colour and up to 24 markers. The URL carries the key as `?key=` only when a publishable pk_ key is configured, otherwise a pk_live_YOUR_KEY placeholder.

mapscale_static_map input schema
{
  "type": "object",
  "required": [
    "center"
  ],
  "properties": {
    "lang": {
      "enum": [
        "th",
        "en"
      ],
      "type": "string",
      "maxLength": 512,
      "description": "MCP client UTF-8 budget: 512 bytes."
    },
    "zoom": {
      "type": "number",
      "default": 14,
      "maximum": 22,
      "minimum": 0
    },
    "width": {
      "type": "integer",
      "default": 600,
      "maximum": 1280,
      "minimum": 1
    },
    "accent": {
      "type": "string",
      "maxLength": 512,
      "description": "6-digit hex, # optional (e.g. 0c4a4a) MCP client UTF-8 budget: 512 bytes."
    },
    "center": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "maxItems": 2,
      "minItems": 2,
      "description": "[longitude, latitude]"
    },
    "height": {
      "type": "integer",
      "default": 400,
      "maximum": 1280,
      "minimum": 1
    },
    "retina": {
      "type": "boolean",
      "default": false,
      "description": "Render at 2x pixel density."
    },
    "markers": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "lng",
          "lat"
        ],
        "properties": {
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "label": {
            "type": "string",
            "description": "Up to 40 characters."
          },
          "style": {
            "enum": [
              "pin",
              "chip",
              "dot"
            ],
            "type": "string"
          }
        }
      },
      "maxItems": 24
    }
  }
}
mapscale_static_map annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_assistant_plan — Plan map actions from a sentence
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

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 secret key and dataset_ids (1-4 dataset UUIDs) it plans against your datasets. Without a key it answers against a fixed 12-shop demo dataset (prompt up to 300 characters, rate limited).

mapscale_assistant_plan input schema
{
  "type": "object",
  "required": [
    "prompt"
  ],
  "properties": {
    "locale": {
      "enum": [
        "en",
        "th"
      ],
      "type": "string",
      "default": "en",
      "maxLength": 512,
      "description": "MCP client UTF-8 budget: 512 bytes."
    },
    "prompt": {
      "type": "string",
      "maxLength": 512,
      "description": "Request, e.g. 'color the stores by visits'. MCP client UTF-8 budget: 512 bytes."
    },
    "current": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string"
        },
        "property": {
          "type": "string"
        }
      },
      "description": "Style currently applied, for follow-ups: {kind, property}."
    },
    "dataset_ids": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 4,
      "minItems": 1,
      "description": "Dataset UUIDs from mapscale_datasets_list. Needs a secret key."
    }
  }
}
mapscale_assistant_plan annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_atlas — Thailand public atlas
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Public Thailand atlas data (no key needed), chosen by `op`. catalog: layer registry. province_metrics: latest environmental metrics per province. traffic_incidents: current traffic incidents. snapshot: layer metadata for a bbox (bbox, layers). layer: GeoJSON for one layer (layer_id, bbox). intelligence: server intelligence layers for a bbox (bbox, ids). cameras: public camera catalogue (optional bbox). air_quality_history: OpenAQ series (location_id, sensor_id, from, to). forecast: TMD forecast (lat, lng). bus_stop: route associations (stop_id). project_site: OSM plot and buildings (project_id).

mapscale_atlas input schema
{
  "type": "object",
  "required": [
    "op"
  ],
  "properties": {
    "at": {
      "type": "string",
      "maxLength": 512,
      "description": "snapshot, intelligence: ISO 8601 date-time. MCP client UTF-8 budget: 512 bytes."
    },
    "op": {
      "enum": [
        "catalog",
        "province_metrics",
        "traffic_incidents",
        "snapshot",
        "layer",
        "intelligence",
        "cameras",
        "air_quality_history",
        "forecast",
        "bus_stop",
        "project_site"
      ],
      "type": "string",
      "maxLength": 512,
      "description": "MCP client UTF-8 budget: 512 bytes."
    },
    "to": {
      "type": "string",
      "maxLength": 512,
      "description": "layer, air_quality_history: ISO 8601 date-time. MCP client UTF-8 budget: 512 bytes."
    },
    "ids": {
      "type": "string",
      "maxLength": 512,
      "description": "intelligence: comma-separated layer ids. MCP client UTF-8 budget: 512 bytes."
    },
    "lat": {
      "type": "number",
      "description": "forecast: latitude."
    },
    "lng": {
      "type": "number",
      "description": "forecast: longitude."
    },
    "bbox": {
      "type": "string",
      "maxLength": 128,
      "description": "\"minLng,minLat,maxLng,maxLat\"; viewports up to 2 degrees. MCP client UTF-8 budget: 128 bytes."
    },
    "from": {
      "type": "string",
      "maxLength": 512,
      "description": "layer, air_quality_history: ISO 8601 date-time. MCP client UTF-8 budget: 512 bytes."
    },
    "limit": {
      "type": "integer",
      "description": "layer and air_quality_history: 1..500 (default 250)."
    },
    "cursor": {
      "type": "string",
      "maxLength": 512,
      "description": "layer, air_quality_history: nextCursor from a prior page. MCP client UTF-8 budget: 512 bytes."
    },
    "layers": {
      "type": "string",
      "maxLength": 512,
      "description": "snapshot: comma-separated layer ids (up to 4). MCP client UTF-8 budget: 512 bytes."
    },
    "stop_id": {
      "type": "string",
      "maxLength": 512,
      "description": "bus_stop: stop id. MCP client UTF-8 budget: 512 bytes."
    },
    "industry": {
      "type": "string",
      "maxLength": 512,
      "description": "intelligence: industry filter. MCP client UTF-8 budget: 512 bytes."
    },
    "layer_id": {
      "type": "string",
      "maxLength": 512,
      "description": "layer: layer id from the catalog. MCP client UTF-8 budget: 512 bytes."
    },
    "province": {
      "type": "string",
      "maxLength": 512,
      "description": "intelligence: province filter. MCP client UTF-8 budget: 512 bytes."
    },
    "sensor_id": {
      "type": "integer",
      "description": "air_quality_history: OpenAQ sensor id."
    },
    "simulated": {
      "type": "string",
      "maxLength": 512,
      "description": "intelligence: comma-separated simulated layer ids. MCP client UTF-8 budget: 512 bytes."
    },
    "project_id": {
      "type": "string",
      "maxLength": 512,
      "description": "project_site: project UUID. MCP client UTF-8 budget: 512 bytes."
    },
    "location_id": {
      "type": "integer",
      "description": "air_quality_history: OpenAQ location id."
    }
  }
}
mapscale_atlas annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_intelligence — MapScale Intelligence (read)
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Read MapScale Intelligence data for one product (land, civic or defense), chosen by `op`: search (q), overview, usage (usage and limits), or a listing of entities, evidence, reports, alerts, assessments, incidents, dependencies, cases, watches or jobs (optional cursor); report returns one report by id. Read-only. Requires a secret (sk_) key with Intelligence access.

mapscale_intelligence input schema
{
  "type": "object",
  "required": [
    "product",
    "op"
  ],
  "properties": {
    "q": {
      "type": "string",
      "maxLength": 2048,
      "description": "search: query, 2-200 characters. MCP client UTF-8 budget: 2048 bytes."
    },
    "id": {
      "type": "string",
      "maxLength": 512,
      "description": "report: report UUID. MCP client UTF-8 budget: 512 bytes."
    },
    "op": {
      "enum": [
        "search",
        "overview",
        "usage",
        "report",
        "entities",
        "evidence",
        "reports",
        "alerts",
        "assessments",
        "incidents",
        "dependencies",
        "cases",
        "watches",
        "jobs"
      ],
      "type": "string",
      "maxLength": 512,
      "description": "MCP client UTF-8 budget: 512 bytes."
    },
    "cursor": {
      "type": "string",
      "maxLength": 512,
      "description": "Listings: nextCursor UUID from a prior page. MCP client UTF-8 budget: 512 bytes."
    },
    "product": {
      "enum": [
        "land",
        "civic",
        "defense"
      ],
      "type": "string",
      "maxLength": 512,
      "description": "MCP client UTF-8 budget: 512 bytes."
    }
  }
}
mapscale_intelligence annotations
{
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
mapscale_show_thailand_map — Show a map of Thailand
Advertised by the server during the last successful anonymous check.
Advertised read-only

Show an interactive map of Thailand inline (MapLibre on OpenStreetMap data). Give a `place` (a major Thai city/province such as Bangkok, Chiang Mai, Phuket — other places need a MapScale key) or an explicit `center` [lng, lat], plus an optional `zoom` (1-18) and `markers` ([{lng, lat, name}]). Use for any "show me X on a map" request about Thailand.

mapscale_show_thailand_map input schema
{
  "type": "object",
  "properties": {
    "zoom": {
      "type": "number",
      "maximum": 18,
      "minimum": 1,
      "description": "Default 11."
    },
    "place": {
      "type": "string",
      "maxLength": 512,
      "description": "Place name, e.g. 'Chiang Mai'. MCP client UTF-8 budget: 512 bytes."
    },
    "title": {
      "type": "string",
      "maxLength": 512,
      "description": "Short caption shown on the map. MCP client UTF-8 budget: 512 bytes."
    },
    "center": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "maxItems": 2,
      "minItems": 2,
      "description": "[longitude, latitude]; overrides `place`."
    },
    "markers": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "lng",
          "lat"
        ],
        "properties": {
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "maxItems": 50
    }
  }
}
mapscale_show_thailand_map annotations
{
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

1 advertised

mapscale-thailand-map — MapScale Thailand map

Advertised by the server during the last successful anonymous check.

Interactive MapLibre map of Thailand (OpenStreetMap data).

mapscale-thailand-map URI
ui://mapscale/thailand-map-v1.html

MIME type: text/html;profile=mcp-app

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
1 of 1 (100%)
Average latency
1889 ms
95th percentile latency
1889 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 1889 ms · metadata changed · 27 tool(s), 1 resource(s), 0 resource template(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http mapscale-mcp https://api.mapscale.io/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add mapscale-mcp --url https://api.mapscale.io/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable mapscale-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "mapscale-mcp": {
      "url": "https://api.mapscale.io/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "mapscale-mcp": {
      "type": "streamableHttp",
      "url": "https://api.mapscale.io/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start mapscale-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "mapscale-mcp": {
      "type": "http",
      "url": "https://api.mapscale.io/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http mapscale-mcp https://api.mapscale.io/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://api.mapscale.io/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "mapscale-mcp": {
      "serverUrl": "https://api.mapscale.io/mcp"
    }
  }
}

Let your agent find its tools

Find servers like MapScale MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.