Skip to main content
Glama

telescopius-mcp

Read-only MCP server for the Telescopius REST API (v2.2): target planning, sky times, astronomy weather, events, and the account's observing lists and equipment.

Setup

uv venv .venv && uv pip install --python .venv/bin/python -e '.[dev,framing]'
.venv/bin/patchright install chromium   # only for show_framing
cp .env.example .env   # add your API key (Telescopius → Settings → API Keys), home location, default rig
claude mcp add --scope user telescopius -- "$PWD/.venv/bin/telescopius-mcp"

The server reads TELESCOPIUS_* from the environment first, then from .env beside the project (override the path with TELESCOPIUS_ENV_FILE). With no location configured, the API geolocates by IP.

Related MCP server: Astro Agent

Tools

Tool

Endpoint

sky_times

/solar-system/times: sun/moon/planet rise-set, all twilights

tonight_highlights

/targets/highlights: curated targets well placed tonight

search_targets

/targets/search: full catalogue search; size in arcmin, extra passes any other API param

target_info

/targets/search by name, exact then fuzzy, with tonight's windows

my_observing_lists, observing_list

/target-lists, /targets/lists/{id}

weather_forecast

/weather/forecast: nightly summary, optional dark-hour detail

astro_events, event_highlights

/events/calendar, /events/highlights

my_equipment

/equipment/user

astro_news

/news/global

show_framing, close_framing

Telescope Simulator in a browser window; returns a screenshot

Framing

show_framing("Heart Nebula", mosaic="2x2", rotation=0) resolves the target through the API, opens Telescopius' Telescope Simulator framed with your rig, and returns the framing as a JPEG (also saved under ~/.local/share/telescopius-mcp/framings/). The window stays open for hands-on tweaking. The default rig comes from TELESCOPIUS_FOCAL_MM / TELESCOPIUS_SENSOR_MM / TELESCOPIUS_SENSOR_PX; any call can override it.

It needs a desktop session. Cloudflare returns 403 to stock Playwright and to every headless browser, so it drives patchright in a headed window. The simulator keeps its scope and camera settings in localStorage (_telescope_simulator_*), which the tool seeds before loading. Mosaic size isn't persisted, so the tool sets it on the live element.

Target results are trimmed to planning fields (pass raw=True for the full payload).

API quirks found while building

  • order=popularity is a rank: ascending = most popular. search_targets picks the useful direction by default.

  • size_min/size_max are arcseconds on the wire; the tool takes arcminutes.

  • Weather: daily stats are °C whatever temp_unit says. Hourly temperature/dew point came back as different numbers for the same hour on repeated calls, so they're dropped.

Tests

.venv/bin/pytest. Tests run against a mock transport and never call the API.

Available Tools

13 tools
astro_eventsB
Read-only

Astronomical calendar (conjunctions, occultations, moon phases, showers...) for the next days (7-365) from date (default today), computed for home.

Inputs: date, days, max_conjunction_deg.

astro_newsB
Read-only

Latest headlines from Telescopius' astronomy news feeds.

Inputs: no named parameters.

close_framingA
Read-only

Close the framing browser window opened by show_framing.

Inputs: no named parameters. Returns: result

event_highlightsB
Read-only

The most notable upcoming sky events (1-50), with local visibility flags.

Inputs: limit.

my_equipmentB
Read-only

Telescopes, cameras and other gear saved in the Telescopius account.

Inputs: no named parameters.

my_observing_listsA
Read-only

The account's saved observing lists (id, name, target count).

Inputs: no named parameters.

observing_listC
Read-only

One observing list's targets with visibility for the given night.

Inputs: list_id (required), lat, lon, date, +1 more.

search_targetsA
Read-only

Advanced target search across Telescopius' full catalogue.

name: fuzzy name match (forces name-score ordering). size_*_arcmin: apparent size bounds in arcminutes. con: IAU constellation abbreviations, comma separated. cat: catalogue acronyms (e.g. M, NGC, IC, SH2). az_quadrants: NE,NW,SW,SE in view. hour_min/hour_max: session window as a decimal hour or a twilight keyword such as "astronomical_sunset" / "astronomical_sunrise". order: name, con, dec, mag, ra, rise, set, transit, size, subr, type, imaging_time, popularity, opposition. order_asc: default picks the useful direction: most popular first, and the longest imaging time / largest size first (popularity is a rank, so ascending = most popular). results: 1-120 per page. extra: any other API parameter passed through verbatim (e.g. {"subr_max": 22, "dec_min": 20}). raw=True returns the untrimmed payload.

Inputs: cat, con, lat, lon, +19 more.

show_framingA
Read-only

Frame a target in Telescopius' Telescope Simulator with the configured rig, in a visible browser window on this machine, and return a screenshot of the framing.

target: object name (resolved via the API, e.g. "IC 1805", "Heart Nebula"); with ra_h/dec_deg given, it is only a label. mosaic: "COLSxROWS", e.g. "2x2". rotation: camera angle in degrees. focal_mm / sensor_mm ("11.136x6.264") / sensor_px ("3840x2160") override the default rig for this call. The window stays open for hands-on adjustment; close_framing closes it.

Inputs: target (required), ra_h, mosaic, dec_deg, +5 more.

sky_timesB
Read-only

Rise/transit/set for the Sun, Moon and planets, plus every twilight time (astronomical darkness = sun.twilights.darkest_sunset .. darkest_sunrise).

date: "YYYY-MM-DD" or "YYYY-MM-DD HH:mm:ss"; default now. Location defaults to home.

Inputs: lat, lon, date, timezone.

target_infoB
Read-only

One named target (e.g. "IC 1805", "Heart Nebula") with tonight's visibility windows.

ephemeris: "daily" (positions through the night) or "yearly" (next 12 months). Falls back to a fuzzy match when the exact name finds nothing.

Inputs: name (required), lat, lon, date, +2 more.

tonight_highlightsA
Read-only

Telescopius' curated popular targets that are well placed on the given night.

types: comma list, e.g. DEEP_SKY_OBJECT, GXY, COMET, ASTEROID. min_alt: degrees the target must reach; min_alt_minutes: time it must spend above that. moon_dist_min: minimum Moon separation in degrees at transit (string, the API also accepts its moon-avoidance presets). Each result carries tonight's imaging windows with moon illumination and distance. raw=True returns the untrimmed payload.

Inputs: lat, lon, raw, date, +5 more.

weather_forecastB
Read-only

Astronomy forecast: per night cloud cover, seeing, transparency, humidity, wind, temperature, dew risk and moon illumination (seeing/transparency are 0-100 scores).

hourly_nights: also return the dark hours of the first N nights (0 = summary only). Nightly temperature is in °C: the API ignores temp_unit for the daily stats. Hourly rows carry no temperature or dew point, because the API returned different values for the same hour on repeated calls. Use relative_humidity and dew_risk instead.

Inputs: lat, lon, timezone, hourly_nights.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 13 tools

    Disambiguation4/5

    Most tools target clearly distinct resources and actions (sky_times, weather_forecast, target_info, show_framing/close_framing), and the two-list pattern (my_observing_lists vs observing_list) is well differentiated. The main ambiguity is between astro_events (full computed calendar) and event_highlights (curated upcoming events with visibility flags), which an agent could easily conflate, and tonight_highlights vs search_targets partially overlap in purpose.

    Naming Consistency4/5

    All names are clean snake_case with a coherent convention (my_ prefix for account resources, noun-phrase domain names, verb_noun for actions). The only deviation is that a few tools are verb-first (search_targets, show_framing, close_framing) while most are noun phrases, which is minor and still readable.

    Tool Count5/5

    13 tools is well within the ideal range and each earns its place across distinct functional areas: time, targets, framing, events, weather, lists, equipment, and news. No redundancy or bloat.

    Completeness4/5

    The surface covers the observing workflow well: sky timing, target discovery/inspection, framing, events, weather, saved lists, gear, and news. The notable gap is that the observing-list tools are read-only (no way to add, remove, or create lists/targets), and equipment/news are read-only, but these are minor for a largely informational server.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides live astronomical telemetry and space data, including ISS tracking, NASA APOD, and solar weather, via a Model Context Protocol server with SSE and JSON-RPC support.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      A local, open-source MCP server that wraps astronomy data services (SIMBAD, JPL Horizons, VizieR, etc.) behind a conversational interface, enabling AI assistants to answer astronomy questions with real, typed, and provenance-tracked data.
      13
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server for the INDIGO astronomy automation protocol, enabling AI agents to control telescopes, cameras, focusers, filter wheels, domes, and other observatory equipment through natural language.
      MIT