Amapmcp
The AutoNavi Map Navigation MCP tool is an interactive map navigation system based on FastAPI and fastmcp, supporting three navigation modes: driving, cycling, and walking. It realizes real-time route planning and session management through WebSocket and is only for local development testing.
rating : 2 points
downloads : 4.5K
What is the AutoNavi Map Navigation MCP Server?
This is an AutoNavi Map Navigation MCP (Model Context Protocol) tool based on FastAPI and fastmcp. The tool provides an interactive map page, supporting three navigation types: driving, cycling, and walking. Real-time route planning can be performed by sending navigation commands through the MCP interface.How to use the AutoNavi Map Navigation MCP Server?
Create a session to obtain the sessionid, and then use the returned link to access the map page. Navigation commands, such as setting the starting point and destination, and selecting the navigation type, can be sent on the page.Applicable Scenarios
Suitable for learning and development testing purposes, helping developers understand how to interact with the AutoNavi Map API and implement navigation functions through the MCP protocol.Main Features
Multi-User Session ManagementEach user has an independent session and connection, ensuring data isolation and security.
WebSocket Real-Time CommunicationThe map page receives navigation commands in real-time through WebSocket, enabling quick response.
Multiple Navigation TypesSupports three navigation modes: driving, cycling, and walking, meeting different needs.
Mixed Input SupportSupports the mixed use of latitude and longitude coordinates and keyword locations, improving flexibility.
Advantages and Limitations
Advantages
Supports multiple navigation types, meeting the needs of different scenarios.
Uses WebSocket for real-time communication, enhancing the user experience.
Built on FastAPI and fastmcp, with good scalability and performance.
Provides detailed documentation and examples for easy understanding and use.
Limitations
Only suitable for learning and development testing, not for production environments.
The API key is passed through URL parameters, posing a risk of leakage.
Security measures such as HTTPS are not implemented, so attention should be paid to network environment security.
Does not support complex permission management and access control.
How to Use
Set Environment Variables
If you need to customize the AutoNavi Map API key, you can set AMAP_API_KEY and AMAP_SECURITY_CODE in the environment variables.
Start the Service
Run the main.py file to start the MCP server.
Create a Session
Use the MCP tool create_session to create a session and obtain the sessionid.
Access the Map Page
Use the returned sessionid to access the map page, for example, http://localhost:8000/?sessionid=your_session_id.
Send a Navigation Command
Use the MCP tool send_navigation_to_map to send a navigation command, including the starting point, destination, and navigation type.
Usage Examples
Create a Session and Access the MapCreate a session, obtain the sessionid, and then use the sessionid to access the map page.
Send a Navigation CommandUse the send_navigation_to_map command to send a navigation instruction, setting the starting point as Beijing, the destination as Shanghai, and selecting driving navigation.
Frequently Asked Questions
Can the AutoNavi Map Navigation MCP Server be used in a production environment?
How to protect the API key?
How to create a session?
Which navigation types are supported?
Related Resources
AutoNavi Open Platform
The official documentation and registration page for the AutoNavi Map API.
FastAPI Official Documentation
Detailed documentation for the FastAPI framework.
fastmcp GitHub Repository
Source code and documentation for the fastmcp library.
AutoNavi Map JavaScript API Documentation
Detailed documentation for the AutoNavi Map JavaScript API.
Featured MCP Services

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
11.4K
4.5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
10.6K
4.3 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
25.7K
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
17.2K
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
29.6K
4.5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
13.4K
5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
33.9K
4.7 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
11.5K
4.5 points