• DRIVING
  • TRANSIT
  • ACTIVE
  • HUMAN

How to calculate transit routes with your AI

Connect the Tencent Map LBS API to your agent to turn any two locations into a specific travel plan.

Ask AI about this page

Short answer

How can I get directions between two points using my AI?

Your agent uses the Tencent Map LBS API to fetch specific route data for driving, walking, biking, or public transit. You get turn-by-turn instructions and travel details directly in your chat. Here is how the process works.

Route outcomes

Travel options

The AI processes your location requests into these specific formats.

DRIVING

Road directions

The AI calculates the best path for vehicles. You get specific driving instructions between your start and end points.

TRANSIT

Public transport

Your agent finds bus, train, or subway routes. It provides the necessary transit details for your trip.

ACTIVE

Walking and biking

Get paths optimized for pedestrians or cyclists. The AI handles the distance and route logic for non-motorized travel.

HUMAN

Manual review

You decide which route actually works for your schedule. The AI provides the data, but you make the final call on the itinerary.

The workflow

What your AI does when the request arrives.

The AI translates your natural language into specific API calls to fetch map data.

  1. Identify locations

    Your agent parses your message to find the starting point and the destination.

    direction_driving
  2. Select travel mode

    The AI determines if you need a car, a bike, or a bus based on your prompt.

    direction_transit
  3. Fetch route data

    The agent calls the specific tool needed to pull the pathing information from the map service.

    direction_walking
  4. Present directions

    The AI organizes the raw coordinates and instructions into a readable format for you.

    direction_bicycling

Try it

Copy these to start.

Use these prompts to trigger the routing tools immediately.

Starting points

Replace the bracketed locations with your actual destinations.

Tencent Map LBS API Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_ihyXRTHtIL7DExaG1c5AF025jsbqXazJm3XzBXqg/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Tencent Map LBS API capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "tencent-map-lbs-api-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_ihyXRTHtIL7DExaG1c5AF025jsbqXazJm3XzBXqg/mcp"
    }
  }
}
Copy into chat04
  • Give me driving directions from [Location A] to [Location B].

  • How do I get to [Location] using public transit?

  • Find a bicycling route between [Location A] and [Location B].

  • What is the best walking path from [Location] to [Location]?

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Tencent Map LBS API once, then ask.

One click connects the API to your client. Your credentials stay encrypted and secure on our side.

Connect Tencent Map LBS API to your AI

FAQ

How this task behaves.

  • 01

    Can the AI book a ride for me?

    No. The AI only calculates the routes and provides the directions.

  • 02

    Does the AI see my real-time GPS location?

    No. The AI only knows the locations you explicitly type into the chat.

  • 03

    Can it provide traffic updates?

    The AI provides the directions available through the API tools, but it does not monitor live traffic feeds independently.

  • 04

    Can the AI change my destination once the route is set?

    No. You must ask for a new route if you want to change your destination.

  • 05

    Does the AI handle international addresses?

    The AI's ability to find locations depends on the coverage provided by the Tencent Map LBS API.

  • More questions about Tencent Map LBS API? The Connector page answers them. See everything the Tencent Map LBS API Connector can do

Connect Tencent Map LBS API to Claude, Cursor, ChatGPT & more