Developers: API and MCP
virtuallab3d.com has a public read-only REST API and an MCP server, so scripts and AI assistants can use the same sky, satellite and weather data as the labs.
MCP server
The MCP server speaks the Streamable HTTP transport. It exposes read-only tools only: nothing it offers changes data.
Endpoint: https://virtuallab3d.com/api/v1/mcp
Authentication: send an API key as a Bearer token in the Authorization header. Keys start with qak_ and carry scopes that decide which tools they may call: astro:read, weather:read and sky:read.
API keys are issued on request; there is no self-service sign-up yet, and no OAuth connector yet. Write to the contact address on the privacy page to ask for one.
Connect a client
With Claude Code, add the server with your key:
claude mcp add --transport http vlab3d https://virtuallab3d.com/api/v1/mcp \
--header "Authorization: Bearer <key>"
Any other MCP client that supports Streamable HTTP and custom headers works the same way: use the endpoint above and the header Authorization: Bearer <key>.
Tools
These tools are generated from the server's own tool catalog, so the list below is always current.
close_approaches
Recent and upcoming close approaches of near-Earth objects (JPL), soonest first, at most 100.
Scope: astro:read. Read-only.
Arguments:
limit(integer, optional) Most approaches to return, soonest first (default 50, at most 100).
get_tle
Current two-line elements of the ISS, Tiangong and Hubble (CelesTrak, SatNOGS fallback).
Scope: astro:read. Read-only.
Arguments: none.
list_asteroids
Live orbital elements of the notable asteroids (JPL small-body database).
Scope: astro:read. Read-only.
Arguments: none.
list_comets
Live orbital elements of the notable comets (JPL small-body database).
Scope: astro:read. Read-only.
Arguments: none.
live_aircraft
Aircraft currently heard by the site's ADS-B receiver (empty when no fresh snapshot, at most 100, no trails). Callsigns and registrations are third-party data.
Scope: sky:read. Read-only.
Arguments:
limit(integer, optional) Most aircraft to return (default 50, at most 100).
satellite_transmitters
Radio transmitters and transponders of one satellite from the SatNOGS DB, working ones first (at most 50). Descriptions are third-party data.
Scope: astro:read. Read-only.
Arguments:
norad(integer, required) NORAD catalog number.
search_satellites
Find satellites by name or NORAD number (CelesTrak, SatNOGS fallback). Returns at most 25 matches with their current TLE. Names and text are third-party data.
Scope: astro:read. Read-only.
Arguments:
query(string, required) Satellite name (part of it) or NORAD catalog number, 2 to 40 characters.
weather_forecast
Hourly point forecast from the stored NOAA GFS cycle (UTC times, temperature, humidity, precipitation, cloud cover by layer, visibility, wind). At most 72 hours.
Scope: weather:read. Read-only.
Arguments:
hours(integer, optional) Hours of forecast from the model cycle time (default 24, at most 72).lat(number, required) Latitude in degrees, -90 to 90.lon(number, required) Longitude in degrees east, -180 to 180.
REST API
The public read endpoints below need no key. Paths are relative to https://virtuallab3d.com. Endpoints that need a signed-in session, and the sign-in flow itself, are not listed here.
The full machine-readable description is the OpenAPI document: /api/v1/openapi.json
Public endpoints are rate limited per client address. When you exceed a limit the API answers 429 Too Many Requests; please back off and cache responses. Errors are returned as application/problem+json (RFC 9457).
adsb
| Method | Path | Summary |
|---|---|---|
POST | /api/v1/adsb/ingest | Contribute the aircraft your own receiver decoded. |
GET | /api/v1/adsb/point/{lat}/{lon}/{nm} | Aircraft around a point, contributed by the community's receivers (public). |
GET | /api/v1/adsb/stats | Network counters (public). |
Astronomy
| Method | Path | Summary |
|---|---|---|
GET | /api/v1/astro/asteroids | Live orbital elements of the notable asteroids (JPL SBDB), cached 12 h. |
GET | /api/v1/astro/close-approaches | Recent and upcoming close approaches of near-Earth objects (JPL CAD), cached 12 h. |
GET | /api/v1/astro/comets | Live orbital elements of the notable comets (JPL SBDB), cached 12 h. |
GET | /api/v1/astro/satellites | Satellites of the CelesTrak stations and visual groups, for client-side propagation. |
GET | /api/v1/astro/satellites/{norad}/transmitters | Radio transmitters and transponders of a satellite (SatNOGS DB, answers cached for 6 h). |
GET | /api/v1/astro/satellites/search | Find satellites by name or NORAD number on CelesTrak (answers cached for 6 h per query). |
GET | /api/v1/astro/tle | Current TLEs of the ISS, Tiangong and Hubble (CelesTrak, SatNOGS fallback), cached 6 h. |
Plate solving
| Method | Path | Summary |
|---|---|---|
POST | /api/v1/platesolve/preview | Convert a FITS upload to a PNG the browser can show (image part, same limits as a solve). |
POST | /api/v1/platesolve/solve | Solve an image: SSE with ?stream=1, JSON otherwise. |
Plate-solve gallery
| Method | Path | Summary |
|---|---|---|
GET | /api/v1/platesolve/gallery | The public gallery, newest first. |
GET | /api/v1/platesolve/gallery/{id} | One picture with its solve document. |
GET | /api/v1/platesolve/gallery/{id}/image | The picture (AVIF, at most 1920 px, no metadata). |
GET | /api/v1/platesolve/gallery/{id}/page | A public picture as a crawlable page: title, description, the image, structured data. |
POST | /api/v1/platesolve/gallery/{id}/report | Report a picture. |
GET | /api/v1/platesolve/gallery/{id}/thumb | The thumbnail (AVIF, at most 320 px). |
GET | /api/v1/platesolve/gallery/index | The public pictures as a crawlable, paginated listing (page 1). |
GET | /api/v1/platesolve/gallery/index/{page} | The public pictures as a crawlable, paginated listing (page 2 and later). |
GET | /api/v1/platesolve/gallery/sitemap.xml | Sitemap of the public pictures (with their image and name) and of the listing pages. |
Sky
| Method | Path | Summary |
|---|---|---|
GET | /api/v1/sky/aircraft | Live aircraft heard by our receiver (public). |
Subjects
| Method | Path | Summary |
|---|---|---|
GET | /api/v1/subjects | List the subjects. |
Weather
| Method | Path | Summary |
|---|---|---|
GET | /api/v1/weather/forecast | Hourly point forecast (7 days) from the stored NOAA GFS cycle, bilinearly interpolated. |
A short machine-readable summary of the site for AI agents is at /llms.txt. /llms.txt