MapmyIndia Mappls MCP Server
MapmyIndia (Mappls) MCP Server (FastMCP)
Ein Hochleistungs-Model-Context-Protocol-Server (MCP) für die MapmyIndia (Mappls) REST-APIs, basierend auf dem Open-Source-Framework FastMCP.
Dieser Server ermöglicht es KI-Assistenten (wie Claude, Gemini, ChatGPT, Cursor und Antigravity), geografische Daten abzufragen, Geocoding durchzuführen, Fahr- und Geh-Routen zu erstellen, ETAs für Distanzmatrizen zu berechnen, Points of Interest (POIs) zu entdecken und eLoc-Ortsdetails in ganz Indien nachzuschlagen.
Funktionen
FastMCP-Framework: Basierend auf dem
fastmcp-Python-Framework von Prefect HQ für automatische Schema-Generierung, robuste Validierung und geringe Latenz.Flexible Authentifizierung:
Statischer Access-Token-Modus: Direktes Bearer-
MAPPLS_ACCESS_TOKENübergeben.OAuth-2.0-Client-Credentials-Flow:
MAPPLS_CLIENT_IDundMAPPLS_CLIENT_SECRETübergeben für automatische Token-Generierung und Aktualisierung vor Ablauf.
Umfassende Mappls-Tools:
mappls_geocode: Konvertiert Ortsnamen in Breiten-/Längengrad-Koordinaten und eLoc-Codes.mappls_reverse_geocode: Konvertiert Koordinaten in formatierte Adressdetails.mappls_autosuggest: Live-Vorhersagevorschläge für die Ortssuche.mappls_get_directions: Routenführung (Auto, Fahrrad, zu Fuß, LKW) mit Abbiegehinweisen Schritt für Schritt.mappls_distance_matrix: Berechnung von Reisezeit- und Distanzmatrizen von N zu M.mappls_snap_to_road: Gleicht verrauschte GPS-Koordinatenspuren an Straßennetze an.mappls_search_nearby: Entdeckt Points of Interest (POIs) in der Nähe (Restaurants, Geldautomaten, Krankenhäuser, E-Ladestationen, Tankstellen).mappls_place_details: Ruft umfangreiche Attribute für jeden 6-stelligen Mappls-eLoc-Code ab.mappls_text_search: Intelligente KI-Ortssuche mit Rechtschreibkorrektur.
Integrierte MCP-Prompts: Vorkonfigurierte Vorlagen wie
plan_itineraryundoptimize_logistics_hub.Unterstützung für zwei Transportarten: Ausführung über
stdio(für Desktop-Apps) odersse(für HTTP-Mikrodienste).Offline-/Mock-Modus: Läuft nahtlos im Trockenlauf-Modus, wenn keine API-Schlüssel angegeben werden.
Related MCP server: NextBillion.ai MCP Server
Installation & Einrichtung
1. Voraussetzungen
Python 3.10 oder höher
MapmyIndia (Mappls)-Entwickleranmeldedaten oder Access-Token (von der Mappls-Konsole)
2. Umgebungskonfiguration
Klonen oder kopieren Sie dieses Repository und erstellen Sie dann eine .env-Datei aus .env.example:
cp .env.example .envBearbeiten Sie .env und tragen Sie Ihr Mappls-Token oder Ihre Client-Anmeldedaten ein:
# Option A: Direct Access Token (Recommended for Token Input)
MAPPLS_ACCESS_TOKEN=your_access_token_here
# Option B: Client Credentials
MAPPLS_CLIENT_ID=your_client_id_here
MAPPLS_CLIENT_SECRET=your_client_secret_here
MCP_TRANSPORT=stdio3. Paket installieren
Installieren Sie das Paket im bearbeitbaren Modus (editable mode):
pip install -e .Oder installieren Sie es mit Entwicklungsabhängigkeiten:
pip install -e ".[dev]"Schnelleinrichtung für alle (Ausführung über uvx direkt von GitHub)
Jeder kann diesen MCP-Server direkt von GitHub nutzen, ohne Klonen oder lokale Installation, mithilfe von uvx (im Lieferumfang von uv enthalten).
1. Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"mappls": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/Bhupendrajee07/MMI-MCP.git",
"mmi-mcp"
],
"env": {
"MAPPLS_CLIENT_ID": "YOUR_MAPPLS_CLIENT_ID",
"MAPPLS_CLIENT_SECRET": "YOUR_MAPPLS_CLIENT_SECRET"
}
}
}
}2. Antigravity / Cursor / VS Code (mcp_config.json)
{
"mcpServers": {
"mappls": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/Bhupendrajee07/MMI-MCP.git",
"mmi-mcp"
],
"env": {
"MAPPLS_ACCESS_TOKEN": "YOUR_MAPPLS_ACCESS_TOKEN"
}
}
}
}Lokale Entwicklung & Nutzung
Ausführung über Stdio (Standard)
mmi-mcp
# or
python -m mmi_mcp.server --transport stdioAusführung über SSE (HTTP-Server)
python -m mmi_mcp.server --transport sse --host 127.0.0.1 --port 8000Tests ausführen
Führen Sie die Unit- und Integrationstests aus:
$env:PYTHONPATH="src"; python -m pytest tests/ -vLizenz
MIT-Lizenz
Available Tools
9 toolsmappls_autosuggestMappls AutosuggestA
Auto-suggest location search predictions for user input as text is typed. Returns ranked place recommendations.
Inputs: query (required), zoom, location. Returns: object
mappls_distance_matrixMappls Distance MatrixA
Calculate travel distances and durations matrix between multiple origin and destination points in India.
Inputs: origins (required), destinations (required), profile. Returns: object
mappls_geocodeMappls GeocodeA
Geocode an address or location text to retrieve latitude, longitude, eLoc code, and standardized address details in India.
Inputs: address (required), region. Returns: object
mappls_get_directionsMappls Get DirectionsB
Get driving, walking, biking, or trucking navigation directions between origin and destination coordinates/eLocs in India.
Inputs: origin (required), destination (required), profile, resource, +1 more. Returns: object
mappls_place_detailsMappls Place DetailsB
Retrieve rich location attributes and details for a location using its 6-character Mappls eLoc code.
Inputs: eloc (required). Returns: object
mappls_reverse_geocodeMappls Reverse GeocodeA
Reverse geocode a pair of geographic coordinates (latitude and longitude) to get the corresponding formatted address and administrative details.
Inputs: latitude (required), longitude (required). Returns: object
mappls_search_nearbyMappls Search NearbyA
Search points of interest (POIs) such as restaurants, fuel stations, ATMs, EV chargers, hospitals, hotels near given coordinates.
Inputs: keywords (required), latitude (required), longitude (required), page, +1 more. Returns: object
mappls_snap_to_roadMappls Snap To RoadA
Snap raw GPS coordinates trace to the nearest road network segments to smooth GPS noise.
Inputs: coordinates (required), profile. Returns: object
mappls_text_searchMappls Text SearchB
Perform smart text search across place entities with auto-correction for spelling variations.
Inputs: query (required), location. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool maps to a distinct location API operation: geocoding, reverse geocoding, typeahead suggestions, routing, distance matrix, road snapping, nearby POI search, place details, and text search. The only real overlap is between autosuggest and text_search, but their descriptions clarify the intended use cases.
All tools share a consistent mappls_ prefix and snake_case format. Most names follow a verb-plus-object style like get_directions or search_nearby, though a few are bare nouns such as distance_matrix and place_details, so the pattern is clean but not perfectly uniform.
Nine tools is well-scoped for a location/mapping server. Each tool covers a distinct workflow with no obvious redundancy, and the count is within the ideal range for an MCP toolset.
The server covers the core read-only location lifecycle well: geocode and reverse geocode, place search and details, directions, distance matrix, and map matching. Advanced features like static map rendering or route optimization are absent, but common mapping workflows have no critical gaps.
Maintenance
Related MCP Connectors
Routing, geocoding, places, matrix and map tools for location-aware AI workflows.
Place search, routes and spatial reasoning for AI agents, with real-world addresses.
Geospatial intelligence with Mapbox APIs like geocoding, POI search, directions, isochrones, etc.
Provides AI assistants with direct access to Mapbox developer APIs and documentation.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to query TomTom Search and Routing APIs, including geocoding, places, and route planning.75 npmMIT
- AlicenseNot gradedqualityDmaintenanceProvides geolocation, routing, and navigation tools including geocoding, place search, distance matrix, and turn-by-turn directions via NextBillion.ai APIs.8 npm1MIT

Magic Lane MCP Serverofficial
AlicenseBqualityCmaintenanceEnables AI agents to become geospatially intelligent assistants with tools for location search, smart routing, round trip planning, reverse geocoding, isochrone analysis, route visualization, geofence management, and interactive map display.820 npm8Apache 2.0- AlicenseAqualityDmaintenanceEnables AI agents to perform geocoding, routing, nearby search, and other location-based tasks for Indian addresses using the Mappls (MapMyIndia) platform.1746 npm3MIT