About Geodata
Geodata is an MCP server published by urbanmorph in the Files category: bharatlas — a visual catalog, REST API, MCP server and anonymous contribution flow for India's open geo data, from state-to-village boundaries to community layers. Conduid read 19 tools from its source: create_map, edit_map, get_layer_detail, get_layer_schema, get_map, get_records and 13 more. No package is published for it, so it installs from a source checkout.
The repository has 44 stars and 2 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. Its topics include boundaries, dataset, geospatial, gis, india and maps.
Install
git clone https://github.com/urbanmorph/geodataTools (19)
create_mapOptional: create a collect map headlessly; needs `COLLECT_API_KEY`. Most maps are made at collect.bharatlas.com| Parameter | Type | Description |
|---|---|---|
| basemap | any | |
| category | string | |
| data_year | integer | |
| description | string | |
| fields * | array | the form for each record (see collect.bharatlas.com/schema/v1.json); a field of type "photo" (max_photos 1-3) asks for photos |
| geometry * | array | what contributors may add |
| license | string | open licence id (CC0-1.0, CC-BY-4.0, CC-BY-SA-4.0, ODbL-1.0, ODC-PDDL-1.0, GODL-India, CDLA-Permissive-2.0); default CC0-1.0, and the answer names the licence used |
| mode | any | how people collect: form (default); form_ai = form plus notes a model writes from the photo, for the owner to check; photos_ai = people only take photos and the model fills the form (places only). AI modes need a photo field. |
| moderation | boolean | default true: points wait for approval |
| name * | string | 3-120 chars |
| purpose * | string | shown to contributors |
edit_mapEdit a collect map's name, description, purpose, category, data year or base map (admin link)| Parameter | Type | Description |
|---|---|---|
| basemap | string | |
| category | string | |
| data_year | any | |
| description | string | |
| id * | string | |
| license | string | |
| name | string | |
| purpose | string |
get_layer_detailDownload URLs, attribution, licence, feature count and dated versions to cite for one layer| Parameter | Type | Description |
|---|---|---|
| layer_id * | string | Layer ID |
get_layer_schemaColumn names, types and sample values; call before querying| Parameter | Type | Description |
|---|---|---|
| layer_id * | string | Layer ID (e.g. lgd_states, airports, soi_forests, wards_chennai) |
get_mapA collect map's metadata and record counts| Parameter | Type | Description |
|---|---|---|
| id * | string | the map (collection) id |
get_recordsA collect map's records as GeoJSON| Parameter | Type | Description |
|---|---|---|
| id * | string | |
| status | string | admin only: pending | published | rejected |
ground_atWhat is below a point in one call: seismic zone, faults, rock, aquifer, groundwater, soil, subsidence| Parameter | Type | Description |
|---|---|---|
| lat * | number | Latitude (6 to 38, India bounding box) |
| lng * | number | Longitude (68 to 98, India bounding box) |
| open_only | boolean | true leaves out the non-commercial layers (for commercial use); default false |
import_pointsBulk-import points you hold into a collect map, with a named source (admin link)| Parameter | Type | Description |
|---|---|---|
| client_id_field | string | property holding each row's stable id (e.g. "code"); default: feature id, then an `id` property; "" for none |
| id * | string | |
| records * | array | GeoJSON-like {geometry, properties}, optionally with client_id |
| rights_confirmed * | boolean | you have the right to publish this under the map's licence |
| source * | string |
list_categoriesThemes with layer countslist_layersFind layers by theme, level, source or text search| Parameter | Type | Description |
|---|---|---|
| category | string | Filter by category: boundaries, city-wards, people, environment, water, agriculture, transport, infrastructure, health-edu, economy |
| level | string | Filter by admin level: state, district, subdistrict, block, village, etc. |
| limit | number | Max results (default 20) |
| offset | number | Skip N results for pagination |
| q | string | Text search across layer IDs, sources, and descriptions |
| realm | string | Filter by realm: below (rocks, faults, minerals, aquifers, groundwater), ground (boundaries, wards, rivers, forests, roads, places), air (cyclone tracks) |
| source | string | Filter by data source: LGD, SOI, Bhuvan, OpenCity, DataMeet, etc. |
list_my_mapsThe collect maps registered on this machinelist_submissionsCommunity-submitted layers under open licences| Parameter | Type | Description |
|---|---|---|
| category | string | Filter by category |
| limit | number | Max results (default 20) |
| offset | number | Pagination offset |
| q | string | Search name and description |
| sort | string | Sort order (default: recent) |
locateAdmin boundaries, zones and (in covered cities) the ward that contain a lat/lng| Parameter | Type | Description |
|---|---|---|
| lat * | number | Latitude (6 to 38, India bounding box) |
| layers | array | Specific layer IDs to check. Omit to use the default: 13 essential admin/zone layers PLUS the city ward layer(s) covering the point (for the 30+ cities with ward layers). Passing this replaces the default entirely (no ward auto-include). |
| lng * | number | Longitude (68 to 98, India bounding box) |
moderate_recordApprove or reject a pending point (admin link)| Parameter | Type | Description |
|---|---|---|
| id * | string | the map (collection) id |
| reason | string | |
| record_id * | string | |
| status * | any |
nearbyFeatures from a layer within a radius of a point, nearest first| Parameter | Type | Description |
|---|---|---|
| lat * | number | Center point latitude |
| layer_id * | string | Layer to search for nearby features |
| limit | number | Max results (default 20) |
| lng * | number | Center point longitude |
| radius_km | number | Search radius in kilometres (default 25, max 200) |
publishSubmit a collect map's approved points to bharatlas as a layer, for review (admin link)| Parameter | Type | Description |
|---|---|---|
| id * | string |
query_layerSelect columns, filter (exact, case-insensitive), `group_by` with per-group sums| Parameter | Type | Description |
|---|---|---|
| group_by | string | Column to group by. Returns {value: count} instead of rows. |
| include_centroid | boolean | Include _lat/_lng centroid coordinates (defaults to true). Set false to exclude. |
| layer_id * | string | Layer ID to query |
| limit | number | Max rows (default 100, max 1000) |
| select | array | Column names to return. Omit for all non-geometry columns. |
| sum | array | Numeric columns to total per group (requires group_by). Adds {sums: {group: {col: total}}}. Use this to roll finer units up, e.g. block-level areas to district totals. Shares/percentages are not additive: sum the area columns and recompute shares. |
| where | object | Filter conditions as {column: value} pairs. Exact, case-insensitive match on flat columns (not partial). Values may contain commas. |
register_mapRegister a collect share link; its token sets your scope (view, collect, admin)| Parameter | Type | Description |
|---|---|---|
| link * | string | a collect.bharatlas.com share link with the token in the #fragment |
surface_atWhat is on the ground at a point in one call: place, land, water, hazards, protected areas, access, services| Parameter | Type | Description |
|---|---|---|
| lat * | number | Latitude (6 to 38, India bounding box) |
| lng * | number | Longitude (68 to 98, India bounding box) |
| open_only | boolean | true leaves out the non-commercial layers (for commercial use); default false |
Security checks
6 checks have not been run yet.