VirtualLab3D

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

MethodPathSummary
POST/api/v1/adsb/ingestContribute 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/statsNetwork counters (public).

Astronomy

MethodPathSummary
GET/api/v1/astro/asteroidsLive orbital elements of the notable asteroids (JPL SBDB), cached 12 h.
GET/api/v1/astro/close-approachesRecent and upcoming close approaches of near-Earth objects (JPL CAD), cached 12 h.
GET/api/v1/astro/cometsLive orbital elements of the notable comets (JPL SBDB), cached 12 h.
GET/api/v1/astro/satellitesSatellites of the CelesTrak stations and visual groups, for client-side propagation.
GET/api/v1/astro/satellites/{norad}/transmittersRadio transmitters and transponders of a satellite (SatNOGS DB, answers cached for 6 h).
GET/api/v1/astro/satellites/searchFind satellites by name or NORAD number on CelesTrak (answers cached for 6 h per query).
GET/api/v1/astro/tleCurrent TLEs of the ISS, Tiangong and Hubble (CelesTrak, SatNOGS fallback), cached 6 h.

Plate solving

MethodPathSummary
POST/api/v1/platesolve/previewConvert a FITS upload to a PNG the browser can show (image part, same limits as a solve).
POST/api/v1/platesolve/solveSolve an image: SSE with ?stream=1, JSON otherwise.
MethodPathSummary
GET/api/v1/platesolve/galleryThe public gallery, newest first.
GET/api/v1/platesolve/gallery/{id}One picture with its solve document.
GET/api/v1/platesolve/gallery/{id}/imageThe picture (AVIF, at most 1920 px, no metadata).
GET/api/v1/platesolve/gallery/{id}/pageA public picture as a crawlable page: title, description, the image, structured data.
POST/api/v1/platesolve/gallery/{id}/reportReport a picture.
GET/api/v1/platesolve/gallery/{id}/thumbThe thumbnail (AVIF, at most 320 px).
GET/api/v1/platesolve/gallery/indexThe 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.xmlSitemap of the public pictures (with their image and name) and of the listing pages.

Sky

MethodPathSummary
GET/api/v1/sky/aircraftLive aircraft heard by our receiver (public).

Subjects

MethodPathSummary
GET/api/v1/subjectsList the subjects.

Weather

MethodPathSummary
GET/api/v1/weather/forecastHourly 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