Great Circle MapMCP (Agents)

MCP (Agents)

Agent Access

Agent Access is Great Circle Map’s local Model Context Protocol (MCP) server for Mac. Your agent asks the app for route images or videos in any of the four app styles or the paper style and gets the saved files’ paths for your film or video project.

What You Need

  • Keep Great Circle Map open on your Mac.
  • Use an agent on the same Mac with support for MCP over streamable HTTP.

Turn On Agent Access

Agent Access is off by default.

  1. Open Settings in Great Circle Map.
  2. In Agents, switch on Agent Access.
  3. Address shows http://127.0.0.1:47110/mcp. Choose Copy Configuration to copy the connection settings and this Mac’s token.
  4. Output Folder shows Downloads/Great Circle Map. Choose Show in Finder to open the folder.

Connect an Agent

For Claude Code, add the copied configuration to your project’s .mcp.json. Copy Configuration replaces TOKEN with your Mac’s token.

{
  "mcpServers": {
    "great-circle-map": {
      "type": "http",
      "url": "http://127.0.0.1:47110/mcp",
      "headers": { "Authorization": "Bearer TOKEN" }
    }
  }
}

Or use the Claude Code command below, replacing TOKEN with the token from the copied configuration.

claude mcp add --transport http great-circle-map http://127.0.0.1:47110/mcp --header "Authorization: Bearer TOKEN"

For Codex, set the token in an environment variable and add the server with these commands. Replace TOKEN with the copied token, then start Codex from the same shell.

export GREAT_CIRCLE_MAP_TOKEN=TOKEN
codex mcp add great-circle-map --url http://127.0.0.1:47110/mcp --bearer-token-env-var GREAT_CIRCLE_MAP_TOKEN

For any other client using MCP over streamable HTTP, set the address to http://127.0.0.1:47110/mcp and the Authorization header to Bearer TOKEN, replacing TOKEN with the copied token.

Try a Route

“Make a 10 second 4K video of New York to Tokyo over the pole, on the globe, in the Satellite style.”

  1. Call search_airports with query "New York", then query "Tokyo", and select an airport from each result set.
  2. Call render_route_video with waypoints in departure, North Pole, arrival order, using the returned airport codes and a point with lat 90, lng 0, and label "Pole". Set style to "satellite", view to "globe", seconds to 10, and resolution to "4k".
  3. If status is "rendering", call get_render with the returned job_id and repeat while that status remains.
  4. When status is "done", report the saved file’s path from the answer.
  • Make a 4K still image of JFK to LHR on the globe in all four map styles.
  • Make a 15 second flat map video of LHR to JFK in the Light style, with a travel time of 7 hours and 30 minutes.
  • Make a globe image in the Relief style from JFK to LHR through a stop at 64° N, 40° W labeled "Stop".

What Comes Back

Files go to Downloads/Great Circle Map. Names combine the route, view, and style, such as route-jfk-lhr-globe-dark.mp4; an existing name gets a number.

Each completed render answer includes the route’s stops and total distance, plus each file’s path, style, view, width, height, and size in bytes. Videos also include length in seconds and frame count. Each image comes with a small JPEG preview; each video comes with a preview frame from midflight.

The caption band shows the route, total distance, and the Great Circle Map logo beside greatcirclemap.app by default; a video with a time readout also shows total travel time. Transparent renders omit the band unless caption or site_mark is true.

A render call waits up to 40 seconds. If the render is still running, the answer has status "rendering", a job_id, and progress. Call get_render with that job_id while status is "rendering"; the finished render has status "done".

If an argument is wrong, the tool answers in words, such as “No airport has the code ZZZ. Call search_airports to find it.”

Who Can Connect

The server listens only on 127.0.0.1, so only clients on your Mac can connect. Every request needs a token made on your Mac and shown only in the copied configuration; requests from web pages are refused. Routes render on your Mac, and Agent Access sends nothing to an outside server. Your agent’s provider sees whatever the agent sends it.

See the guide to make the same images and videos by hand in Create Map on Mac, iPhone, iPad, or Android.

MCP Reference

Tools

The four tools find airports, render images and videos, and report render progress. Both render tools share arguments for the route and its appearance; the video tool adds settings for the film.

search_airports

Find airports by IATA code, ICAO code, city, or name before choosing route stops. It returns each match’s code, name, city, country, latitude, and longitude.

ArgumentDescription
queryEnter an IATA code, ICAO code, city, or part of an airport name as text.
limitSet the maximum number of results from 1 to 20; the default is 8.

render_route_image

Draw a great circle route as a PNG and save it to Downloads/Great Circle Map on this Mac. It returns each saved file’s path and a small JPEG preview, or status "rendering" with a job_id for get_render if it is still running.

Route

ArgumentDescription
waypointsList 2 to 50 stops in route order, each an airport code as text (IATA such as "JFK" or ICAO such as "KJFK"), an object with airport set to a code, or an object with lat and lng in degrees. Either object can include a label of up to 24 characters to print in place of the stop’s code.

Map

ArgumentDescription
styleChoose dark, light, satellite, relief, or paper (cream land, tan sea, and brown coastlines and borders); the default is dark. Choose all for one file in each of the four app styles (dark, light, satellite, and relief), without paper.
viewChoose globe for the 3D globe or flat for a flat map; the default is globe.
bordersSet true to show country borders or false to hide them; the default is true. Borders are drawn only in dark, light, and paper; satellite and relief are pictures without border lines.
roadsSet true to show roads or false to hide them; the default is true. Roads are drawn only in dark, light, and paper, when the view is close enough to show them.
citiesSet true to show city names with small dots or false to hide them; the default is false. Names appear only in dark, light, and paper, showing only the largest cities from afar and more cities down to 50,000 people as the view comes closer; route labels take priority.
atmosphereSet true to show the glow around the globe’s edge, or false to hide it; the default is true. This applies only to globe view.
backgroundSet the color behind the globe as # followed by six hex digits, such as "#00ff00" for a green background to key out; the default is "#0b1016", the app’s dark background. This applies only to globe view.
transparentSet true to save a PNG on a transparent background with only the route line, stops, and labels, or false to include the map; the default is false. With true, the caption band appears only if caption or site_mark is explicitly true.

Frame

ArgumentDescription
aspectChoose 16:9, 9:16, 1:1, 4:5, or 2.39:1 for the frame’s shape; the default is 16:9.
resolutionChoose 900p, 1080p, 1440p, or 4k; the default is 1080p. The shorter side is 900, 1080, 1440, or 2160 pixels respectively, except at 2.39:1, where the width is 1600, 1920, 2560, or 3840 pixels.

Lines and Labels

ArgumentDescription
unitsChoose km, mi, or nm for distances; the default is the unit set in the app.
distancesSet true to label each leg with its distance, or false to hide those labels; the default is true. Each legs entry’s distance setting overrides this for that leg.
labelsChoose codes for airport codes, cities for airport cities, or none to hide stop labels while keeping the dots; the default is codes. A stop’s own label replaces its code or city; with codes, an unlabeled stop given by lat and lng shows its number in the route.
line_colorSet the route line and stop dots’ color as # followed by six hex digits; the default is "#e63946", the app’s red.
line_widthSet the route line’s width from 0.5 to 3 times the usual width; the default is 1.
legsList leg objects in route order, starting with the leg from the first stop to the second; each can set line_color and distance (true or false), and omitted legs or settings use the route’s line_color and distances. Each stop’s dot takes the departing leg’s color, and the last dot takes the arriving leg’s color.
point_sizeSet the stop dots’ size from 0.5 to 2 times the usual size; the default is 1. The airplane scales with the dots.
label_sizeSet the stop labels’ size from 0.5 to 2 times the usual size; the default is 1.
distance_sizeSet the legs’ distance labels from 0.5 to 2 times the usual size; the default is 1.

Caption Band

ArgumentDescription
watermarkChoose bar for a band below the map with the caption at left and the Great Circle Map logo beside greatcirclemap.app at right, lower_third for the Great Circle Map logo and caption on a dark plate at the lower left, logo for the logo alone on a dark disc at the lower right, or none for no band, caption, or logo; the default is bar. The map fills the frame with lower_third, logo, or none; lower_third puts the route on the first line and its totals on the second. With total_distance and total_time both false and no title, lower_third uses the route line alone.
captionSet true to show the route with totals chosen by total_distance and total_time, or false to hide that text; the default is true, or false when transparent is true. With watermark bar, the text sits at the band’s left; with lower_third, it sits beside the logo and false leaves the logo alone on its plate; with logo or none, this setting has no effect.
total_distanceSet true to show the route’s total distance in the caption, or false to omit it; the default is true. This setting has no effect when title is set, caption is false, or watermark is logo or none.
total_timeSet true to show the whole trip’s travel time in the caption, or false to omit it. When omitted, videos show it only when readout includes time_elapsed or time_remaining; images omit it. Videos use travel_minutes when given; otherwise the app estimates time from the distance at an airliner’s cruising speed, or 20 knots for ship legs. Images do not accept travel_minutes and always use the airliner estimate. Times of 100 hours or more show days and hours. This setting has no effect when title is set, caption is false, or watermark is logo or none.
titleEnter up to 80 characters to replace the caption text in bar or lower_third; a lower_third title uses one line. Without a title, the caption uses the route followed by the totals chosen by total_distance and total_time.
site_markFor watermark bar only, set true to show the Great Circle Map logo beside greatcirclemap.app at the right of the caption band, or false to hide both; the default is true, or false when transparent is true. With caption and site_mark both false, the band is removed and the map fills the frame.
caption_sizeSet the chosen watermark from 0.5 to 2 times its usual size; the default is 1. This scales the bar and its text, the lower third’s plate, logo, and text, or the logo alone.

render_route_video

Render a great circle route as a silent video of an airplane flying from the first stop to the last; the default is an H.264 MP4 at 30 frames a second, with the line drawing behind the airplane and the globe camera following it. It saves the files to Downloads/Great Circle Map on this Mac and returns each file’s path and a frame from midflight, or status "rendering" with a job_id for get_render if it is still running.

Map

ArgumentDescription
transparentSet true to leave the map out and draw the route line, stops, labels, airplane, and readouts on a transparent background to lay over other footage, or false to include the map; the default is false. Transparency requires codec prores4444, which is chosen when codec is omitted.

Frame

ArgumentDescription
resolutionChoose 1080p, 1440p, or 4k; the default is 1080p. The shorter side is 1080, 1440, or 2160 pixels respectively, except at 2.39:1, where the width is 1920, 2560, or 3840 pixels.

Lines and Labels

ArgumentDescription
legsList leg objects in route order, starting with the leg from the first stop to the second; each can set line_color, airplane, and vehicle using those arguments’ choices, and distance to true or false. Omitted legs or settings use the route’s line_color, distances, airplane, and vehicle. Each stop’s dot takes the departing leg’s color, and the last dot takes the arriving leg’s color.

Video

ArgumentDescription
secondsSet the video’s length from 5 to 30 seconds; the default is 10.
fpsChoose 23.976, 24, 25, 29.97, 30, 50, 59.94, 60, 120, or 240 frames a second; the default is 30. Use 120 or 240 for footage slowed in an editor. At either rate, the app first writes a short test film with this Mac’s encoder, refusing unsupported codec and resolution combinations and naming those it can write. Compared with 30, frame counts grow fourfold or eightfold; render time and ProRes file sizes grow roughly in proportion.
codecChoose h264 (H.264 MP4), hevc (H.265 MP4), prores422 (Apple ProRes 422 HQ .mov), or prores4444 (Apple ProRes 4444 .mov, the only choice that preserves transparency). The default is h264, or prores4444 when transparent is true; both .mov options are QuickTime movies.
draftSet true to render at half width and half height to check the move and framing, or false for full size; the default is false. The file name adds -draft.
preview_atSet a time from 0 to the video’s length in seconds to save that frame as a full-size PNG without making a video. When omitted, the tool renders the video.

Camera and Timing

ArgumentDescription
cameraChoose follow to open on the whole route, move in with the airplane, and pull back at the end only when the whole route fits in one view with room (otherwise staying with the airplane to the last stop), fixed to hold the whole route throughout, or close to stay near the airplane from first stop to last and look a little ahead; the default is follow. With close, the camera keeps the first stop in frame as long as possible and brings the last stop into frame early without standing far back, keeping the airplane away from the frame’s edge; these moves apply only to the globe, and the flat map always stands still.
zoomSet globe camera zoom from 0.5 to 3; the default is 1. Values above 1 move the camera nearer and values below 1 move it back; this applies only to globe view.
north_upSet true to keep north at the top throughout, or false to let the globe turn with the route; this applies only to globe view. When omitted, north stays up except on routes near a pole, where the app spreads the turn over the flight.
hold_startSet a still hold of 0 to 5 seconds before the airplane leaves; when omitted, the app chooses 0.4 to 1 second from the video’s length. The hold is included in seconds.
hold_endSet a still hold of 0 to 5 seconds after the airplane arrives, during which it fades out; when omitted, the app chooses 0.9 to 2 seconds from the video’s length. The hold is included in seconds.
stop_secondsSet a wait of 0 to 5 seconds at each stop between the first and last; the default is 0. The waits count toward seconds, and together with hold_start and hold_end must leave at least 2 seconds of flight or the call is refused.

Route Line and Readouts

ArgumentDescription
lineChoose trail to draw the line behind the airplane, full to show the whole line from the first frame, or none to hide the line while keeping stops and labels; the default is trail.
readoutList up to two different choices from time_elapsed, time_remaining, distance_flown, and distance_remaining in display order, or an empty list for none; the default is ["time_elapsed"]. Time readouts use travel_minutes, or the app’s estimate if travel_minutes is omitted, and also add the total travel time to the caption unless total_time is false.
readout_positionChoose airplane to place readouts beside the airplane, or top_left, top_right, bottom_left, or bottom_right to hold them in that corner of the map; the default is airplane.
readout_sizeSet the readouts from 0.5 to 2 times the usual size; the default is 1.
travel_minutesSet the whole trip’s travel time in minutes; without it, the app estimates the time from the distance at an airliner’s cruising speed.

Airplane

ArgumentDescription
vehicleChoose airplane or ship; the default is airplane. Each legs entry can set vehicle; otherwise it uses the route’s. The ship is a white hull seen from above, with the airplane’s dark outline and its bow pointing along the route; airplane_size sizes it. The route’s or leg’s airplane setting hides it with "none" or replaces it with a picture. Ship time estimates use 20 knots with no time added at either end. travel_minutes replaces the trip estimate, up to 143999 minutes with any ship leg or 5999 for flights only. Times of 100 hours or more show days and hours. The tool does not route around land; add lat and lng stops in open water to shape a sea route, each with a dot and label.
airplaneChoose "default" for the app’s airplane, "none" for no airplane, or an object with path or data and optional turns and angle for your own picture; the default is "default". The picture must be PNG, JPEG, or WebP, at most 2 MB and 8 to 2,048 pixels on each side; a PNG with a transparent background works best.
airplane_sizeSet the airplane or its replacement picture from 0.5 to 3 times the usual size; the default is 1.

Picture Settings

ArgumentDescription
airplane.pathGive the picture’s file path within this Mac’s Downloads folder. Use path or data, never both.
airplane.dataSupply the picture file as base64 text if the client cannot name a file. Use data or path, never both.
airplane.turnsSet true to turn the picture along the flight, or false to keep it upright; the default is true.
airplane.angleSet the direction of the picture’s nose from -180 to 180 degrees clockwise from straight up; the default is 0 for a nose pointing upward.

Output Files

ArgumentDescription
trackingSet true to save a JSON file beside the video with each frame’s airplane position in pixels, rotation, visibility, and stop positions, or false to omit it; the default is false. Use the data to attach graphics in an editor.

get_render

Call with the job_id from a render whose status is "rendering" to get its progress or, when done, its saved file paths, details, and previews. Each call waits up to 40 seconds; repeat while status is "rendering" and report the file paths when status is "done".

ArgumentDescription
job_idUse the job_id returned by the render call.

Frame Sizes

Text and line weights keep their size in every shape, so a vertical 1080p frame reads like a wide one.

aspect900p1080p1440p4k
16:91600 x 9001920 x 10802560 x 14403840 x 2160
9:16900 x 16001080 x 19201440 x 25602160 x 3840
1:1900 x 9001080 x 10801440 x 14402160 x 2160
4:5900 x 11261080 x 13501440 x 18002160 x 2700
2.39:11600 x 6701920 x 8042560 x 10723840 x 1608

Examples

Each JSON example contains the arguments for one tool call.

Make the default SAN to HKG film in H.264 at 1080p and 30 frames a second, lasting 10 seconds.

{
  "waypoints": [
    "SAN",
    "HKG"
  ],
  "style": "dark"
}

Make a vertical 9:16 film for a phone screen at 24 frames a second, with city names.

{
  "waypoints": [
    "LAX",
    "JFK"
  ],
  "style": "light",
  "aspect": "9:16",
  "fps": 24,
  "labels": "cities",
  "seconds": 8
}

Make a trip with four stops, pausing for a second at each intermediate stop, with a color for each leg and distance flown and time elapsed at the top left.

{
  "waypoints": [
    "JFK",
    "LHR",
    "DXB",
    "SIN"
  ],
  "style": "satellite",
  "seconds": 16,
  "stop_seconds": 1,
  "legs": [
    {
      "line_color": "#ffd400"
    },
    {
      "line_color": "#4cc9f0"
    },
    {
      "line_color": "#80ed99"
    }
  ],
  "readout": [
    "distance_flown",
    "time_elapsed"
  ],
  "readout_position": "top_left"
}

Lay a transparent ProRes 4444 film of the route line, stops, labels, and airplane over other footage, with tracking data for the editor.

{
  "waypoints": [
    "JFK",
    "LHR"
  ],
  "view": "flat",
  "transparent": true,
  "codec": "prores4444",
  "fps": 23.976,
  "tracking": true
}
Three Frames of the New York to London Film With the Route Line, Airplane, and Labels on a Transparent Background Shown Over a Checkerboard

Use a picture from Downloads in place of the airplane and enlarge it slightly.

{
  "waypoints": [
    "SFO",
    "NRT"
  ],
  "airplane": {
    "path": "/Users/you/Downloads/plane.png"
  },
  "airplane_size": 1.5
}

Check the framing with a full-size PNG from preview_at, then a draft at half width and height.

{
  "waypoints": [
    "SAN",
    "HKG"
  ],
  "resolution": "4k",
  "camera": "close",
  "preview_at": 5
}

{
  "waypoints": [
    "SAN",
    "HKG"
  ],
  "resolution": "4k",
  "camera": "close",
  "draft": true
}
A 4K Frame Five Seconds Into the San Diego to Hong Kong Film With the Camera Close Beside the Airplane

Draw a route from Mount Rainier to Kilauea on the relief globe using coordinates and names for both ends.

{
  "waypoints": [
    {
      "lat": 46.8523,
      "lng": -121.7603,
      "label": "Mount Rainier"
    },
    {
      "lat": 19.4069,
      "lng": -155.2834,
      "label": "Kilauea"
    }
  ],
  "style": "relief"
}
The Great Circle Route From Mount Rainier to Kilauea on the Relief Globe With Named Endpoints, the Leg Distance on the Line, and a Caption Band Below

Render Answers

A completed render returns status "done", the route’s stops, name, total in kilometers, and distance as text in the chosen unit, plus files. Each file gives path, style, view, aspect, width, height, kind (image, video, or tracking), and bytes. A video also gives codec, seconds, frames, and fps; a transparent render adds transparent true, and a preview_at frame adds at_seconds. Each image comes with a small JPEG preview, and each video with a frame from midflight.

File Names

Names combine the route’s codes, view, and style, such as route-san-hkg-globe-dark.mp4. Shapes other than 16:9 add -9x16, -1x1, -4x5, or -239x1. Drafts add -draft, preview_at frames add the time, such as -at-4s, and tracking files end in .tracking.json. H.264 and HEVC films end in .mp4; ProRes films end in .mov. A name already taken gets a number.

Tracking Data

The JSON tracking file gives the video’s file name, width, height, fps, exact frame rate as two whole numbers (such as 24000 and 1001 for 23.976), frame count, stops, and one sample per frame. Each sample gives the frame number, time in seconds, route progress from 0 to 1, the airplane’s lat and lng, x and y in pixels from the frame’s top left, and rotation clockwise from straight up, in degrees. The visible field is false when the airplane is behind the globe or has faded out. The sample also gives each stop’s x and y, with 1 for in view and 0 for out of view.

FieldMeaning
frameFrame Number
timeTime in Seconds
progressProgress Along the Route From 0 to 1
lat and lngAirplane Latitude and Longitude
x and yAirplane Position in Pixels From the Top Left
rotationDegrees Clockwise From Straight Up
visibleWhether the Airplane Is in View
stopsStop Positions and Visibility

Argument Errors

If an argument is wrong, the tool answers in words at once and renders nothing.

  • “No airport has the code ZZZ. Call search_airports to find it.”
  • “The flat map stands still, so camera close needs view globe.”
  • “A transparent video needs codec prores4444, the one codec here that keeps transparency.”
  • “The holds and stops leave under 2 seconds of flight. Raise seconds, or lower hold_start, hold_end, or stop_seconds.”
  • “The airplane picture must be a PNG, JPEG, or WebP file.”

Limits

  • Agent Access requires the Mac app to remain open and is unavailable on iPhone, iPad, and Android.
  • The server stops when you switch off Agent Access or quit the app.
  • Renders run one at a time, in request order.
  • Routes have 2 to 50 stops.
  • Videos run for 5 to 30 seconds at 23.976 to 240 frames a second, in 1080p, 1440p, or 4K and five frame shapes. They save without sound as H.264 or HEVC MP4s or ProRes QuickTime movies.
  • Files save only to Downloads/Great Circle Map; an agent cannot choose another folder.
  • Set caption and site_mark both false to remove the caption band.
  • A long or 4K video can take over a minute to render.
  • Camera options move the globe; the flat map stands still.
  • Borders, city names, and roads can be switched only in dark, light, and paper.
  • The paper style is for agents only; the app’s style picker does not offer it.
  • An airplane picture must be PNG, JPEG, or WebP, at most 2 MB and 8 to 2,048 pixels on each side, read from Downloads or sent as data.
  • Transparent video requires ProRes 4444.