# Bharatlas MCP Server

> **Bharatlas MCP Server** is a hosted, multitenant Model Context Protocol (MCP) server run by **MewCP** (https://mewcp.com), giving AI agents managed access to Bharatlas.
>
> MewCP takes care of all MCP infrastructure for you — credential storage, OAuth flows,
> token refresh, and production-grade auto-scaling — so your AI agents can connect to
> third-party services and run freely without you managing any MCP server yourself.
>
> Server page:  https://mewcp.com/mcp/bharatlas-mcp
> MewCP docs:   https://docs.mewcp.com
> All servers:  https://mewcp.com/servers (JSON: https://mewcp.com/api/servers)
> About MewCP:  https://mewcp.com/llms.txt

---

## About

Enables AI agents to explore and query India's open geospatial datasets through natural-language and location-based searches. Supports discovering geographic data layers, inspecting schemas and metadata, filtering datasets by attributes, locating administrative boundaries, finding nearby geographic features within a specified radius, and retrieving map data covering rivers, forests, reservoirs, dams, groundwater, roads, healthcare facilities, and electoral constituencies. The hosted endpoint provides read-only access to these datasets; map creation, editing, moderation, and publishing require the local MCP package.

---

## Details

- Server ID: `bharatlas-mcp`
- Version: 1.0.0
- Tools: 10
- Authentication: None — this server takes no credential
- Transport: http

---

## Access

The gateway URL below serves your **entire MewCP toolset**, not this server on its
own. Pasting a config snippet is not enough — Bharatlas has to be in the toolset
first. In order:

1. Add Bharatlas to your toolset at https://mewcp.com/mcp/bharatlas-mcp
2. Nothing to connect — Bharatlas needs no credential
3. Add the gateway URL to your client (see Connect below). It signs in with OAuth
   the first time it connects, so there is no key to copy.

Once connected, an agent does **not** see this server's tools as top-level tools.
It sees four meta-tools and reaches everything through them:

- `search(query)` — find tools by keyword across the toolset
- `get_schema(tools)` — full description and arguments for the tools you picked
- `manage_connections(requests?)` — connection status and account aliases, plus
  links the user opens to add an app or connect an account
- `call_tool(app_maskedId, tool_name, args, alias?)` — execute

If Bharatlas isn't in the toolset or connected yet, `manage_connections` with
app_maskedId `bharatlas-mcp` returns a link that adds it and connects an account.

So the list below is what `search` can return for this server, not a set of
callable tool names on their own.

---

## Tools (10)

Descriptions are truncated to 160 characters; call `get_schema`
for the full text and the argument schema. Where a tool is annotated, its type
is shown — treat `destructive` as irreversible.

- `list_layers` _(read)_ — List available geo layers. Use to discover what data bharatlas has. Returns layer IDs, names, row counts, categories, realm (below, ground or air) and, for the…
- `get_layer_schema` _(read)_ — Get column names, types, and values for a layer (all of them for a column with at most 20; distinct_count; up to 50 values with row counts). Use BEFORE…
- `query_layer` _(read)_ — 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…
- `locate` _(read)_ — Given a latitude/longitude, find which administrative boundaries, zones, and regions contain that point. Returns state, district, subdistrict, block,…
- `nearby` _(read)_ — Find features from a layer that are near a given point, nearest first, within radius_km. Works for points, polygons and lines: points are measured to the…
- `ground_at` _(read)_ — What is below a point, in one call: seismic zone, nearest active faults, lineaments and recorded earthquakes, rock type (GSI lithology) and landform, aquifer,…
- `surface_at` _(read)_ — What is on the ground at a point, in one call: the admin units, ward and pincode; land cover, elevation and slope, population density and block land use;…
- `list_categories` _(read)_ — List all data categories with layer counts.
- `get_layer_detail` _(read)_ — Get full metadata for a single layer: download URLs (parquet, pmtiles, geojson, kml, shapefile), attribution, license, feature count, level metadata, realm…
- `list_submissions` _(read)_ — List community-submitted geo layers. These are user-contributed datasets under open licenses. Filter by category or search by name.

---

## Connect

- URL: https://gateway.mewcp.com/personal/mcp
- Transport: Streamable HTTP (remote). Nothing to install.
- Sign-in: OAuth. On first connect the client opens a browser window to sign in
  to MewCP and approve access. No API key.
- Headless clients (SDKs, servers without a browser) send an API key instead:
  `Authorization: Bearer <API_KEY>`, key from https://mewcp.com/dashboard/api-keys

Agents setting themselves up: follow https://mewcp.com/SKILL.md

Step-by-step guide per client:

- Claude Desktop: https://mewcp.com/mcp/bharatlas-mcp/connect/claude
- ChatGPT: https://mewcp.com/mcp/bharatlas-mcp/connect/chatgpt
- Grok: https://mewcp.com/mcp/bharatlas-mcp/connect/grok
- DeepSeek Harness: https://mewcp.com/mcp/bharatlas-mcp/connect/dsh
- Mistral Vibe: https://mewcp.com/mcp/bharatlas-mcp/connect/mistral-vibe
- VS Code: https://mewcp.com/mcp/bharatlas-mcp/connect/vscode
- Cursor: https://mewcp.com/mcp/bharatlas-mcp/connect/cursor
- Codex: https://mewcp.com/mcp/bharatlas-mcp/connect/codex
- Claude Code: https://mewcp.com/mcp/bharatlas-mcp/connect/claude-code
- OpenCode: https://mewcp.com/mcp/bharatlas-mcp/connect/opencode
- OpenClaw: https://mewcp.com/mcp/bharatlas-mcp/connect/openclaw
- Antigravity: https://mewcp.com/mcp/bharatlas-mcp/connect/antigravity
- Hermes: https://mewcp.com/mcp/bharatlas-mcp/connect/hermes
- Kimi Code: https://mewcp.com/mcp/bharatlas-mcp/connect/kimi-code
- Grok Build: https://mewcp.com/mcp/bharatlas-mcp/connect/grok-build
- Devin Desktop: https://mewcp.com/mcp/bharatlas-mcp/connect/devin-desktop
- Zed: https://mewcp.com/mcp/bharatlas-mcp/connect/zed
- Muse Code: https://mewcp.com/mcp/bharatlas-mcp/connect/muse-code
- Cline: https://mewcp.com/mcp/bharatlas-mcp/connect/cline
- Kilo Code: https://mewcp.com/mcp/bharatlas-mcp/connect/kilo-code
- Kiro: https://mewcp.com/mcp/bharatlas-mcp/connect/kiro
- Junie: https://mewcp.com/mcp/bharatlas-mcp/connect/junie
- Amp: https://mewcp.com/mcp/bharatlas-mcp/connect/amp
- Qwen Code: https://mewcp.com/mcp/bharatlas-mcp/connect/qwen-code
- Goose: https://mewcp.com/mcp/bharatlas-mcp/connect/goose
- Python: https://mewcp.com/mcp/bharatlas-mcp/connect/python
- TypeScript: https://mewcp.com/mcp/bharatlas-mcp/connect/typescript