Location Services · Travel & Transportation

Baidu Map logo

Baidu Map

baidu-maps/mcp

Baidu Map MCP Server is a fully MCP-compliant, open-source Location-Based Service (LBS) solution, providing a comprehensive suite of geospatial APIs and tools for developers and AI agents.

Install

npx -y @baidumap/mcp-server-baidu-map

Client configuration

{
  "mcpServers": {
    "baidu-map": {
      "command": "npx",
      "args": [
        "-y",
        "@baidumap/mcp-server-baidu-map"
      ],
      "env": {
        "BAIDU_MAP_API_KEY": "<BAIDU_MAP_API_KEY>"
      }
    }
  }
}

Environment variables

BAIDU_MAPS_API_KEYBAIDU_MAP_API_KEY
GitHub stars
240
Category
Location Services, Travel & Transportation
License
MIT
Updated
Oct 6, 2026

About Baidu Map

As the first map service provider in China to support the Model Context Protocol (MCP), Baidu Map MCP Server bridges the gap between large language models (LLMs), AI agents, and real-world location data and services.

With Baidu Map MCP Server, you can easily empower your applications, LLMs, and agents with advanced mapping, geocoding, POI search, route planning, weather, traffic, and more — all via standardized, developer-friendly MCP interfaces.

Tools (10)

  • map_geocode

    Convert address to geographic coordinates.

  • map_reverse_geocode

    Get address, region, and POI info from coordinates.

  • map_search_places

    Search for global POIs by keyword, type, region, or within a radius.

  • map_place_details

    Get detailed info for a POI by its unique ID.

  • map_directions_matrix

    Batch route planning for multiple origins/destinations (driving, walking, cycling).

  • map_directions

    Plan routes between two points (driving, walking, cycling, transit).

  • map_weather

    Query real-time and forecast weather by region or coordinates.

  • map_ip_location

    Locate city and coordinates by IP address.

  • map_road_traffic

    Query real-time traffic conditions for roads or regions.

  • map_poi_extract

    Extract POI info from free text (requires advanced permission).

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Cursor logo

Cursor

Desktop · Freemium · Proprietary

The first agentic IDE. The Cursor editor truly merges how developers and AI work together, delivering a magical coding experience.

WindowsMacOSLinux

Related MCP servers

More servers
Open Streetmap MCP logo

Open Streetmap MCP

jagan-shanmugam/open-streetmap-mcp

41

An OpenStreetMap MCP server implementation that enhances LLM capabilities with location-based services and geospatial data.

Location Services
Awesome MCP Server Cn logo

Awesome MCP Server Cn

LeslieLeung/awesome-mcp-server-cn

39

A curated list of MCP Server resources for common services in China, covering maps, weather, cloud services and more.

Location Services
Google Maps (Travel Planner) logo

Google Maps (Travel Planner)

gongrzhe/travel-planner-mcp-server

37

A Travel Planner Model Context Protocol (MCP) server implementation for interacting with Google Maps and travel planning services. This server enables LLMs to perform travel-related tasks such as location search, place details lookup, and travel time calculations.

Location Services
MCP Server Ipinfo logo

MCP Server Ipinfo

briandconnelly/mcp-server-ipinfo

18

A Model Context Protocol server that exposes the ipinfo.io API to AI agents. Geolocate IPv4 and IPv6 addresses, identify ISPs and ASNs, detect VPN/proxy/Tor exit nodes, and generate interactive maps for sets of IPs.

Location Services
MCP-Geo logo

MCP-Geo

webcoderz/MCP-Geo

16

All dependencies are specified in requirements.txt for easy installation.

Location Services
EdgeOne Geo logo

EdgeOne Geo

tencentedgeone/mcp-geo

14

This project demonstrates how to use EdgeOne Pages Functions to retrieve user geolocation information and integrate it with large language models through MCP (Model Context Protocol).

Location Services