tmap_mcp logo

tmap_mcp

by bm1120

This project provides a MCP (Model Context Protocol) server based on the Tmap REST API, allowing AI tools like Cursor editor to directly call Tmap API functions. It is implemented using the pymcp library.

View on GitHub

Last updated: N/A

What is tmap_mcp?

tmap_mcp is a Model Context Protocol (MCP) server built on top of the Tmap REST API. It enables AI tools, such as the Cursor editor, to access and utilize Tmap API functionalities directly.

How to use tmap_mcp?

  1. Install required packages (pymcp, requests). 2. Set the Tmap API key as an environment variable. 3. Run the MCP server using run_mcp_server.bat. 4. Optionally, connect to the Cursor editor by running run_setup_cursor.bat and restarting the editor.

Key features of tmap_mcp

  • Location Search (POI, Address, Coordinate)

  • Geocoding and Reverse Geocoding

  • Pedestrian Route Guidance

  • Car Route Guidance

  • Real-time Traffic Congestion Inquiry

  • Time Machine Route Guidance

  • Public Transportation Route Guidance

  • Public Transportation Route Summary Information

  • Subway Congestion Information

Use cases of tmap_mcp

  • Integrating Tmap API functionalities into AI-powered code editors.

  • Developing location-aware applications using AI tools.

  • Automating map-related tasks through AI agents.

  • Building AI assistants that can provide location-based services.

FAQ from tmap_mcp

What is MCP?

Model Context Protocol is a protocol that allows AI tools to interact with external services.

What is pymcp?

pymcp is a Python library used to implement MCP servers.

How do I get a Tmap API key?

You need to register on the Tmap API website and obtain an API key.

Why do I need Cursor editor?

Cursor editor is an example AI tool that can utilize the MCP server. It's optional.

What Tmap API features are supported?

The server supports various Tmap API features including location search, geocoding, route guidance, and congestion information.