# bharatlas

> bharatlas is a free MCP server for maps and travel. Query India's open boundary and geo layers, from states to village polygons, via MCP. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Free
- **Platforms:** Web, API, CLI
- **Website:** https://bharatlas.com
- **Repository:** https://github.com/urbanmorph/geodata/tree/HEAD/mcp
- **MCP Registry name:** io.github.sathya-sankaran/bharatlas-mcp
- **Categories:** maps and travel, analytics and data
- **Listing updated:** 2026-11-14

## About

Bharatlas catalogues India's open geographic layers: national and state boundaries, 785 districts, sub-districts, blocks and more than 319 thousand gram panchayat polygons, mostly from the Local Government Directory snapshot of 2024. Each layer lists its licence, such as CC0-1.0, CC-BY-4.0, GODL-India or ODbL-1.0, plus download sizes in parquet, pmtiles, geojson, KML and shapefile.

The MCP server turns that into questions an LLM can ask: discover layers, read a layer's schema first, then query with filters and group-by sums. It can also answer point-in-polygon questions about which state or district a location falls in, and find features within a radius.

It is available over stdio from npm and as a hosted endpoint, and the site says it needs no signup and does no tracking.

## Features

- **Layer discovery:** Find layers by category, level, source or text.
- **Schema before query:** Returns column names, types and distinct values.
- **Filter and group:** Queries with exact filters and per-group sums.
- **Point lookups:** Finds the state, district or ward containing a point.
- **Multiple formats:** Download links in parquet, pmtiles, geojson, KML and shapefile.

## Good for

- Count districts per state
- Find which district a coordinate is in
- Get download links for a boundary layer
- Browse community-contributed layers

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http bharatlas-mcp https://bharatlas.com/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://bharatlas.com/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "bharatlas-mcp": {
      "url": "https://bharatlas.com/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "bharatlas-mcp": {
      "type": "http",
      "url": "https://bharatlas.com/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "bharatlas-mcp": {
      "serverUrl": "https://bharatlas.com/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "bharatlas-mcp": {
      "type": "http",
      "url": "https://bharatlas.com/mcp"
    }
  }
}
```

## Tools

- `list_layers`: List available geo layers. Use to discover what data bharatlas has. Returns layer IDs, names, row counts, categories, and download formats. Filter by category (boundaries, city-wards, environment, water, agriculture, transport, etc.), admin level (state, district, block, village, etc.), source, or text search.
- `get_layer_schema`: Get column names, types, and sample values for a layer. Use BEFORE querying to discover what columns exist and what values they contain. Essential for knowing the right column names for filters.
- `query_layer`: Query a layer's data with filters and grouping. Reads the parquet file at runtime. Supports: select specific columns, filter by column values, group by a column to get counts, and sum numeric columns per group (e.g. roll block areas up to district totals). Use get_layer_schema first to discover column names. Examples: 'airports in Karnataka' -> where: {state: 'KA'}, 'forest types' -> group_by: 'ty
- `locate`: Given a latitude/longitude, find which administrative boundaries, zones, and regions contain that point. Returns state, district, subdistrict, block, parliament/assembly constituency, pincode, seismic zone, high court jurisdiction, the municipal ward (for the ~30 cities with ward data), and more. The 'where am I?' tool. Also accepts specific layer IDs to check.
- `nearby`: Find features from a layer that are near a given point, nearest first, within radius_km. Reads the layer's parquet bounding boxes and ranks features by distance to their centres; works for points, polygons and lines. Returns the true count within the radius plus the nearest `limit`. Example: 'reservoirs near Bengaluru' -> layer_id: 'wris_reservoirs', lat: 12.97, lng: 77.59, radius_km: 50.
- `list_categories`: List all data categories with layer counts.
- `get_layer_detail`: Get full metadata for a single layer: download URLs (parquet, pmtiles, geojson, kml, shapefile), attribution, license, feature count, and level metadata.
- `list_submissions`: List community-submitted geo layers. These are user-contributed datasets under open licenses. Filter by category or search by name.

## FAQ

### What formats can I download?

Parquet, pmtiles, geojson, KML and shapefile.

### Is signup required?

The site says no signup and no tracking.

### Which snapshot is the boundary data?

The listed administrative layers use a 2024 Local Government Directory snapshot.

### Is bharatlas free?

Yes. bharatlas is free to use.

### How do I add bharatlas to Claude Code?

Run this command in your terminal: claude mcp add --transport http bharatlas-mcp https://bharatlas.com/mcp

### What are the best alternatives to bharatlas?

The closest alternatives to bharatlas are Agent-Native Analytics, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP, World Monitor and CompanyData.

## Alternatives

- [Agent-Native Analytics](https://ai-powered.com/mcp/agent-native-analytics): Agent-Native Analytics is an open-source MCP server for analytics and data.
- [Google Ads + Meta Ads + SEO/GEO MCP](https://ai-powered.com/mcp/google-ads-meta-ads-seo-geo-mcp): Google Ads + Meta Ads + SEO/GEO MCP is a freemium MCP server for marketing and seo.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [World Monitor](https://ai-powered.com/mcp/world-monitor): World Monitor is a freemium MCP server for analytics and data.
- [CompanyData](https://ai-powered.com/mcp/companydata): CompanyData is a paid MCP server for analytics and data.
- [Tutu eSIM](https://ai-powered.com/mcp/tutu-esim): Tutu eSIM is a paid MCP server for maps and travel.
- [ChartAnt](https://ai-powered.com/mcp/chartant): ChartAnt is a freemium MCP server for design and media.
- [Quantivex Research](https://ai-powered.com/mcp/quantivex-research): Quantivex Research is a free MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/bharatlas
