Databases
bharatlas.com
Provides tools for inspecting and querying geospatial layers, including schema retrieval, filtered/grouped queries, point-in-boundary lookup, and nearby feature search.
ENDPOINT 1
https://bharatlas.com/mcp
MCP server metadata
- Name
- bharatlas
- Version
- 1.4.0
bharatlas MCP server (hosted, read-only). India's open geo data: curated layers (state to village boundaries, city wards, forests, hospitals, highways, rivers, canals, groundwater, agro-climatic zones, floods, seismic zones) plus community submissions. Workflow patterns: - **Discovery**: start with list_layers or list_categories to find relevant layers. Use the q parameter for text search. - **Schema first**: always call get_layer_schema BEFORE query_layer. Column names vary per layer (e.g. "state" vs "State_LGD" vs "stname"). The schema shows exact names and sample values. - **Filtering**: query_layer where is an exact, case-insensitive match (no partial or substring match). Pass column=value pairs; check the schema for the right column name and value format. Columns the schema marks as type "nested" (structs, lists, maps, e.g. Overture names/addresses) can be selected but not used in where or group_by (the API returns 400 listing the flat columns). - **Counting**: use group_by to count features by any column. Example: group_by "category" on the gs_wildlife layer returns national parks vs sanctuaries. - **Totals**: add sum (numeric columns) to group_by to total values per group, e.g. group_by "district" + sum ["area_ha"] rolls block-level areas up to districts. Percentages are not additive: sum the underlying amounts and recompute shares. - **Location queries**: locate returns all admin boundaries + zones at a lat/lng, and (for the ~30 covered cities) auto-includes the municipal ward layer that contains the point — so "what ward is this?" just works with lat/lng alone. Use it to answer "what state/district/ward is this point in?" - **Spatial joins** (multi-step): to answer "which X are in Y?" when layers don't share a common column: 1. Use locate to find the admin context (state, district) of the target area 2. Use query_layer with a where filter to narrow the other layer by that admin context 3. For precise spatial containment, test individual points via locate against the target layer - **Community layers**: list_submissions returns user-contributed datasets. These work with query_layer and get_layer_schema exactly like curated layers. - **Downloads**: get_layer_detail returns direct URLs for the formats a layer has (parquet and pmtiles always; geojson, kml and shapefile for most). - **Large layers**: overture_places_india has 4.4M places. Always narrow it: where on basic_category (e.g. "hospital", "restaurant") or name, group_by, or nearby for places around a point. Whole-table filters and group_by take several seconds; nearby is the fast path for "near me". - **Honor the terms**: every layer and community submission carries its own source and open licence. When you use, quote, or publish results from a layer, credit its source and respect that licence; get_layer_detail returns the attribution and licence, and each /view page's Dataset JSON-LD carries a creditText to reproduce. Source preference (multiple layers often cover the same level): - **Admin boundaries** (state, district, subdistrict, block, village): prefer LGD (lgd_*) as the authoritative source. SOI, Bhuvan, and geoBoundaries are cross-reference alternates with slightly different counts/boundaries. Mention alternates if the user asks about discrepancies. - **City wards**: each city has its own layer (wards_chennai, wards_pune, etc.). Some cities have multiple vintages (e.g. Bengaluru has GBA 2025 + BBMP 2022 historical). - **Environment/infrastructure/health**: usually one source per layer. Check the source field. - **Community submissions**: ALWAYS check list_submissions alongside list_layers when searching. Community layers may cover areas or topics that curated layers don't. They work with query_layer and get_layer_schema identically. - When multiple sources exist, tell the user which one you're using and why. If results seem wrong, try the alternate source. Cross-layer queries (combining data from different layers): - Questions often span multiple layers and categories. "Which wards are near an international airport?" needs the airports layer (transport) + a city ward layer (city-wards). - **Step 1**: identify all relevant layers using list_layers with different q/category filters. - **Step 2**: query one layer to get a geographic anchor (e.g. airport location → state/district). - **Step 3**: use that anchor to find the right layer in the other category (e.g. wards_bengaluru_gba for Karnataka airports). - **Step 4**: use locate or column filters to find overlapping features. - Never assume one layer is enough. Think about what layers need to be combined to answer the question fully. - Use locate as the bridge: find what's at a point across ALL relevant layers in one call by passing multiple layer IDs. - **Map user concepts to multiple layers.** Users say "water bodies" not "wris_rivers." Translate: - "water bodies/water" → wris_rivers, wris_reservoirs, bp_wetlands, bp_ramsar, wris_basin, wris_subbasin, wris_canals - "groundwater/aquifer/water table" → cgwb_aquifers, cgwb_gw_extraction, mi6_wells_districts - "wells/borewells/tubewells/irrigation pumps" → mi6_wells_districts (census counts per district, 2017-18) - "forests/green cover/ecology" → soi_forests, gs_wildlife, bm_eco_zones, biogeographic_zones - "agriculture/farming/cropping zones" → agro_ecological_zones, agro_climatic_zones, corestack_lulc_blocks (land use and cropping intensity by block, modelled) - "places/POIs/shops/restaurants/ATMs/schools/hospitals by name" → overture_places_india (filter on name or basic_category; 4.4M rows, always add a where or group_by, or use nearby) - "hazards/risks" → seismic_zones, india_flood_inventory - "health/medical" → nic_health - "boundaries/admin" → lgd_states, lgd_districts, lgd_subdistricts, lgd_blocks, lgd_villages - "roads/transport" → gs_highways, airports When unsure, use list_layers with a broad q search and list_categories to discover what's available. Combine ALL relevant layers, not just the first match. - **Sky and air over a place**: once you have a coordinate (from locate, nearby or a layer row), the mugilu MCP (mugilu.live/mcp, tool conditions_at) gives the live air quality, heat, fog and warnings there. bharatlas answers where; mugilu answers what the sky is doing. Column naming conventions (vary by source): - State: State_LGD (number), STNAME, stname, state, state_name - District: Dist_LGD (number), DTNAME, dtname, district, dtcode11 - Block: Block_LGD, BNAME, block_name, blkcode11 - Names are often UPPERCASE in LGD layers, mixed case in other sources Authoring your own maps (collect.bharatlas.com: register a share link, moderate, import, publish) is not on this hosted server. It needs the npm package, which keeps share links on the user's machine: npx -y bharatlas-mcp.
Known tools 8
locateGiven a latitude/longitude, find which administrative boundaries, zones, and regions contain that point.
Inferred read-onlynearbyFind features from a layer that are near a given point, nearest first, within radius_km.
Inferred read-onlyget_layer_detailGet full metadata for a single layer: download URLs (parquet, pmtiles, geojson, kml, shapefile), attribution, license, feature count, and level metadata.
Inferred read-onlyCONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.bharatlas]
url = "https://bharatlas.com/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"bharatlas": {
"type": "http",
"url": "https://bharatlas.com/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: bharatlas
Remote MCP URL: https://bharatlas.com/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"bharatlas": {
"url": "https://bharatlas.com/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"bharatlas": {
"type": "http",
"url": "https://bharatlas.com/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "bharatlas",
"transport": "streamable-http",
"url": "https://bharatlas.com/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
TRUST AND VERIFICATION EVIDENCE
Trust Data Available
BuiltWith Trust API v2 evidence for bharatlas.com was fetched 2026-11-14T09:15:54.526Z.
bharatlas.com is assessed as Neutral: No suspicious signals found, but no strong positive signal either
Evidence is source-attributed and does not guarantee that a third-party server is safe. Risk labels are conservative metadata heuristics.