Baidu Map

Baidu Map

Fully MCP-compliant open-source LBS server with geospatial APIs for AI agents.

359
Stars
42
Forks
5
Releases

Overview

Baidu Map MCP Server is a fully MCP-compliant, open-source Location-Based Service (LBS) solution that exposes a comprehensive suite of geospatial APIs for developers and AI agents. Built on Baidu Maps' authoritative geospatial data, the server offers geocoding, reverse geocoding, POI search, route planning (driving, walking, cycling, transit), weather, IP location, and real-time traffic through MCP-style interfaces. It provides cross-platform SDKs for Python and TypeScript, a command-line interface, and cloud deployment options, enabling easy integration into MCP-compliant clients, LLMs, and agent frameworks. For best performance, SSE is recommended for low-latency streaming responses. The project is MIT-licensed and open source, facilitating customization and extension. The architecture emphasizes seamless AI integration, contextual understanding, and standardized interfaces, so LLMs can reason over location data naturally. Supported tools/APIs include map_geocode, map_reverse_geocode, map_search_places, map_place_details, map_directions_matrix, map_directions, map_weather, map_ip_location, map_road_traffic, and map_poi_extract (advanced permission). Quick Start guides cover API key acquisition, Python and Node.js integration, and configuring MCP clients.

Details

Owner
baidu-maps
Language
Python
License
MIT License
Updated
2025-12-07

Features

Full MCP Protocol Support

Seamless integration with MCP-compliant agents, LLMs, or platforms.

Rich LBS Capabilities

Geocoding, reverse geocoding, POI search, route planning, weather, IP location, and real-time traffic.

Cross-Platform SDKs

Official Python and TypeScript SDKs, easy CLI and cloud deployment.

Enterprise-Grade Data

Powered by Baidu Maps' authoritative, up-to-date geospatial data.

High Performance & Stability

Recommended SSE (Server-Sent Events) access for low latency and high reliability.

Open Source & Extensible

MIT licensed, easy to customize and extend.

Audience

Developers/AI agentsLeverage MCP-compliant access to Baidu Maps geospatial data for location-aware apps.

Tags

Location-Based ServicesBaidu MapsMCPGeocodingPOIRoutingWeatherTrafficSSESDKPythonTypeScriptOpen SourceMIT License