CASDA MCP Server
Enables public read-only resolution of Digital Object Identifiers (DOIs) via DataCite/doi.org for data citation.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CASDA MCP Server search for ASKAP observations near galaxy NGC 5128"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
CASDA MCP Server
casda-mcp is a conservative Model Context Protocol server for the
CSIRO ASKAP Science Data Archive (CASDA). It converts an
AI client's structured selections into explicit, auditable archive operations. The server does not
interpret unrestricted natural language or expose URL-fetching, shell, or filesystem browsing tools.
Advanced ADQL is optional and flag-gated (CASDA_ENABLE_ADVANCED_ADQL).
The supported workflow is:
Discover archive status, schemas, and VO holdings (VOSI, SIA/SCS/SSA, projects, events).
Search bounded CASDA ObsCore metadata or run validated advanced ADQL when enabled.
Inspect one product, ASKAP scheduling block, project, or collection.
Select explicit product identifiers.
Optionally submit authenticated SODA/UWS full-file, cutout, or spectrum jobs.
Check that request with a separate, single status call (
casda_get_data_job/ staging alias).Optionally download archive-confirmed files into a restricted directory.
Create a reproducible JSON manifest with collection metadata.
Search and metadata inspection are enabled by default. Staging, downloads, and advanced ADQL are disabled by default and require separate administrator configuration.
Status and confirmed interfaces
The implementation uses these CASDA interfaces:
TAP 1.0/ADQL (sync and async) with VOSI availability/capabilities and TAP_SCHEMA discovery;
SIA 2, SIA 1 (+ surveys), SCS catalogue cone search, and SSA spectrum discovery;
public observation events feed;
Datalink 1.1 VOTables for authenticated SODA service and opaque product-token discovery;
asynchronous SODA/UWS jobs for full-file staging, cutouts, spectrum generation, and one-shot status;
archive result URLs and checksum sidecars for streamed downloads.
Public metadata paths were validated live on 18 July 2026. Optional -m live tests exercise
read-only discovery when CASDA_RUN_LIVE_TESTS=true. Authenticated staging, cutout, and downloads
are covered by mocked protocol tests and are never run by default live gates.
The dated CASDA capability matrix maps the complete public and authenticated protocol surface, implementation status, remaining upstream/DAP boundaries, and MCP contract requirements.
Related MCP server: Cassini Mission Plan MCP
Requirements
Python 3.10 or newer
uvfor the documented locked setupNetwork access to the configured CASDA endpoints
An OPAL account only for staging operations
Installation
git clone <repository-url> casda-mcp
cd casda-mcp
uv sync --frozen --extra devRun the server over stdio:
uv run casda-mcpRun the Streamable HTTP transport on loopback:
uv run casda-mcp --transport streamable-http --host 127.0.0.1 --port 8000The MCP endpoint is http://127.0.0.1:8000/mcp. Non-sensitive probes:
http://127.0.0.1:8000/healthz— process livenesshttp://127.0.0.1:8000/readyz— readiness using last-known archive availability (never blocks on a live CASDA call)
MCP client configuration
For a stdio client, adjust the absolute project path:
{
"mcpServers": {
"casda": {
"command": "uv",
"args": [
"--directory",
"/absolute/path/to/casda-mcp",
"run",
"casda-mcp"
],
"env": {
"CASDA_ENABLE_STAGING": "false",
"CASDA_ENABLE_DOWNLOADS": "false"
}
}
}
}Codex CLI can register the same stdio command:
codex mcp add casda \
--env CASDA_ENABLE_STAGING=false \
--env CASDA_ENABLE_DOWNLOADS=false \
-- uv --directory /absolute/path/to/casda-mcp run casda-mcpEquivalent Codex config.toml:
[mcp_servers.casda]
command = "uv"
args = ["--directory", "/absolute/path/to/casda-mcp", "run", "casda-mcp"]
[mcp_servers.casda.env]
CASDA_ENABLE_STAGING = "false"
CASDA_ENABLE_DOWNLOADS = "false"ChatGPT desktop and IDE MCP settings accept either the same STDIO command or the Streamable HTTP URL. Restart the client after adding the server. See the current ChatGPT MCP configuration guide.
Configuration
Configuration is loaded from environment variables and validated at startup. Invalid state-changing configuration fails fast.
Variable | Default | Purpose and security effect |
|
| CASDA base host; HTTPS and no embedded credentials required. |
| CASDA TAP sync URL | Fixed metadata query endpoint. Tool callers cannot override it. |
| CASDA TAP async URL | Fixed async TAP/UWS endpoint for advanced ADQL jobs. |
| CASDA proxy Datalink URL | Establishes an allowed CASDA host; product Datalink URLs still come from TAP. |
| CASDA async SODA URL | Establishes the allowed staging host and documents the expected service. |
| CASDA proxy TAP availability URL | Safe credential verification endpoint. |
| CASDA SIA 1 query URL | Legacy survey image discovery. |
| CASDA SIA 1 surveys URL | Survey inventory. |
| CASDA SIA 2 query URL | Multidimensional image/cube discovery. |
| CASDA SCS base URL | Catalogue cone-search base ( |
| CASDA SSA query URL | Spectrum discovery. |
| CASDA observation events URL | Public lifecycle/event feed. |
| unset | OPAL username. Required with |
| unset | OPAL password. Stored as a secret value and never logged. |
|
| Enables archive-side full-file, Pawsey, cutout, and spectrum job creation when OPAL credentials are complete. Pawsey pull is distinct from WEB download staging. |
|
| Enables local file writes. |
|
| Enables |
|
| Enables public read-only DOI resolve via DataCite/doi.org (no minting). |
| unset | Required absolute, dedicated containment directory when downloads are enabled; filesystem roots are rejected, including through symlinks. |
|
| Allows atomic replacement of an existing destination. Keep false normally. |
|
| Maximum bounded search window, up to a hard limit of 1000. |
|
| Maximum cone radius in degrees. |
|
| Maximum deduplicated products in one staging request. |
|
| Maximum summed estimated staging size in bytes. |
|
| If false, products without estimated sizes cannot be staged. |
|
| Maximum deduplicated products in one manifest. |
|
| Maximum archive-reported and streamed bytes for one download. |
|
| Maximum decoded bytes buffered from one metadata or control response (validated from 1 KiB to 100 MiB). |
|
| Metadata and control-request timeout. |
|
| Timeout used for a download response. |
|
| Retries for safe reads only, with exponential backoff, jitter, and |
|
| Read-only metadata cache TTL; zero disables caching. |
|
| Process-local cache bound; zero disables caching. |
| unset | Optional SQLite state file, forced to owner-only mode ( |
Copy .env.example to .env for local development; it is loaded automatically and ignored by Git.
Do not commit a populated .env file. Production deployments should inject secrets instead.
Enabling staging
export CASDA_USERNAME='researcher@example.edu.au'
export CASDA_PASSWORD='use-a-secret-provider-in-production'
export CASDA_ENABLE_STAGING=true
uv run casda-mcpUse the process environment, an OS credential provider that injects environment variables, or a deployment secret store. Do not put credentials in command-line arguments. The implementation uses the OPAL HTTP Basic authentication behavior confirmed by Astroquery's CASDA client.
Enabling downloads
export CASDA_ENABLE_DOWNLOADS=true
export CASDA_DOWNLOAD_DIR=/srv/casda-downloads
export CASDA_MAX_DOWNLOAD_BYTES=10737418240
uv run casda-mcpThe directory must be absolute, dedicated to CASDA downloads, and cannot resolve to a filesystem
root. On POSIX it must be owned by the server account and not group- or world-writable; equivalent
ACL isolation is an operator responsibility on Windows. Its canonical location and inode identity
are recorded once writes begin and rechecked before path mutations; non-sticky writable ancestors
are rejected on POSIX. Caller destinations are checked for containment, symlink traversal,
reserved internal names, and portable filename safety. Each target is reserved in a private,
hash-named .casda-mcp/locks directory before any archive request. Files are streamed as
identity-encoded raw bytes through a descriptor bound to the original temporary inode, then published atomically
after length and optional checksum verification. With overwrite disabled, the destination filesystem
must support same-directory hard links for atomic no-clobber publication. Incomplete files and normal
reservations are removed after failure.
Tools
Successful tool responses carry operation-specific data and provenance. Failures use protocol-level
ToolError / isError rather than a successful envelope with an error field. Provenance contains
the server version, archive, timestamps, deterministic query identifier, sanitised endpoint,
parameters, result count, cache status, and correlation identifier. Credentials and URL query strings
are not included.
Discovery and job tools beyond the core ObsCore path include:
Group | Tools |
Archive / TAP_SCHEMA |
|
VO search |
|
Projects / events / DOI / DAP |
|
Advanced ADQL |
|
DataLink / jobs |
|
The full name inventory is asserted in tests/test_contract.py.
casda_search_products
Read-only bounded product discovery. Supported filters are exact source/target name, ICRS position and radius in degrees, OPAL project code, ASKAP SBID, overlapping ISO 8601 observation dates, overlapping frequencies in hertz, exact collection, facility/instrument names, and these allowlisted product types:
image, cube, visibility, spectrum, catalogue, weight, moment_map, cubelet,
evaluation, scan.
It supports bounded pagination (page or opaque cursor) and allowlisted sorting. It does not resolve
astronomical names, stage, or download. Caller-supplied ADQL belongs on the flag-gated advanced
tools, not this helper.
{
"ra_deg": 333.8,
"dec_deg": -46.0,
"radius_deg": 0.05,
"project_code": "AS102",
"product_types": ["cube", "weight", "moment_map"],
"released_only": true,
"page": 1,
"page_size": 20
}casda_get_product
Read-only complete supported ObsCore metadata for one exact obs_publisher_did.
{"product_id": "cube-1170"}The response retains raw archive identifiers, nulls, units in field names, spatial footprint,
spectral coverage converted to hertz, estimated byte size, SBID when encoded as ASKAP-<sbid>,
project code where the collection maps to casda.project.short_name, release state, and quality.
casda_get_observation
Read-only ASKAP observation lookup with related projects and a bounded product list.
{"scheduling_block_id": 2338}casda_stage_products
Creates and starts one archive-side asynchronous SODA/UWS request. It requires staging to be enabled and OPAL credentials to be present. Empty requests are rejected, identifiers are normalised and deduplicated, count and total estimated size are bounded, and missing sizes are rejected by default.
{
"product_ids": ["cube-1170", "cube-1171"],
"idempotency_key": "wallaby-run-2026-07-12",
"allow_duplicate": false
}The output includes the archive request ID, effective idempotency key, confirmed phase, submission
time, and per-product state. A reused idempotency key with different products is an error. An active
request for the same product set is returned rather than duplicated unless the caller uses a new key
and explicitly sets allow_duplicate.
The non-idempotent archive creation and start requests are never automatically retried.
casda_stage_pawsey
Creates and starts one Pawsey pull staging job via the DataLink pawsey_async_service descriptor.
Requires the same CASDA_ENABLE_STAGING flag and OPAL credentials as WEB full-file staging, but
results are Pawsey-network restricted. The response includes human_gate_warnings: a Pawsey HPC
account is required, and licence/account confirmation must be completed by a human in the DAP —
this server never auto-accepts terms. Reuse casda_get_data_job / download tools for lifecycle.
casda_resolve_collection_doi
Read-only public citation resolve. Provide exactly one of doi, collection, or project_code.
DOIs are fetched from DataCite JSON with a doi.org CSL-JSON fallback on allowlisted hosts only.
Collection/project lookups never invent a DOI; when archive metadata has none, the tool returns
found=false plus a DAP search navigation URL. CSIRO DAP DOIs typically use prefix 10.25919
(is_csiro_dap). Never mints DOIs.
casda_get_dap_navigation
Constructs documented DAP deep links (Observation Search, Skymap, search hints) without scraping
HTML. Privileged action values such as accept_licence, mint_doi, or launch_carta return
structured unsupported_actions only — never HTTP mutation.
casda_get_staging_status
Performs exactly one uncached UWS status read:
{"request_id": "archive-job-id"}It returns the overall archive phase, expiry, archive failure reason, per-product state, and whether every product has a confirmed matching result URL. Active phases advise the caller to make another tool call later; no background polling is claimed or scheduled.
casda_download_product
Downloads one product only after a completed status read recorded a matching archive result URL:
{
"product_id": "cube-1170",
"destination": "wallaby/cube-1170.fits",
"verify_checksum": true
}The result includes the confirmed local path, actual bytes, Content-Length verification, checksum result, whether a Range retry resumed within this call, staging request ID, and provenance. A local path is never returned before the final file exists. The server does not expose a deletion tool.
casda_create_cutout / casda_create_spectrum
Authenticated SODA jobs (require staging enabled + OPAL). Supply CIRCLE / POLYGON / BAND /
CHANNEL / POL / COORD as documented by CASDA DataLink descriptors. Monitor with
casda_get_data_job, then download via casda_download_product or casda_download_job_results.
casda_create_manifest
Creates and retains a schema-versioned JSON manifest in server state:
{
"product_ids": ["cube-1170", "catalogue-10"],
"source_name": "WALLABY J2214-4600",
"workflow_name": "spectral-line-analysis",
"include_download_urls": false
}The manifest includes a deterministic SHA-256 identifier, creation time, full typed product
metadata, filenames, estimated file sizes, available checksums, SBIDs, project codes, types, spatial
and spectral metadata, access state, collection metadata (obs_collection, facility_name, release
span), known originating search criteria, provenance, and server version. Archive artifact URLs are
never persisted in manifests because opaque paths may be short-lived bearer credentials even when
they contain no query string. Use casda_resolve_collection_doi for public citation metadata.
Resources
The server exposes read-only resources:
casda://products/{product_id}casda://observations/{scheduling_block_id}casda://staging/{request_id}casda://events/{event_id}casda://manifests/{manifest_id}casda://archive/statuscasda://archive/capabilitiescasda://dap/navigationcasda://server/statuscasda://skills(JSON index of packaged agent skills)casda://skills/{skill_name}(rawSKILL.mdmarkdown)
Resources do not expose credentials, raw local state files, unrestricted filesystem content, or URL query strings. The staging resource performs one current status read, like the tool.
Prompts
Registered MCP prompts guide safe workflows:
Prompt | Purpose |
| Bounded search, then inspect selected products or ASKAP observations |
|
|
| Validate then |
|
|
| Stage explicit IDs (WEB or Pawsey), one-shot status checks, guarded download |
|
|
| Create a manifest without persisting artifact URLs |
| Release fields via search/get_product; |
| Safe DAP deep links; structured refusal of privileged automation |
Agent skills
Canonical skill files live under src/casda_mcp/skills/ and ship in the package:
casda-safe-archive-accesscasda-find-and-inspectcasda-stage-and-downloadcasda-reproducible-manifest
The same files are mirrored under .cursor/skills/ for Cursor project discovery. MCP clients can
read them through casda://skills and casda://skills/{skill_name}.
Example workflows
Search and inspect
Call
casda_search_productswith explicit bounded criteria.Present the candidates and stable product identifiers to the researcher.
Call
casda_get_productonly for selected identifiers.Explain
access_stateandauthorisation_statewithout claiming access that CASDA has not confirmed.
Search by WALLABY source
Resolve the source name to coordinates in the AI client or a separately trusted resolver.
Call
casda_search_productswith the explicit coordinates, radius,project_code: "AS102", and required product types.Inspect candidates, including SBID, collection, footprint, spectral range, and file size.
Call
casda_create_manifestfor the explicit selection.
The generic model can represent WALLABY identifiers present in target_name, project code, SBID,
footprint, cube/weight/catalogue/spectrum/moment-map subtypes, channels, spatial metadata, size, and
access state. No wallaby_find_source_products tool is included because a stable, complete source
selection rule has not been established. WALLABY-specific rules should remain a future adapter.
Stage and download
Inspect the selected product and size.
Call
casda_stage_productsfor WEB download staging, orcasda_stage_pawseyfor Pawsey pull (readhuman_gate_warnings; complete licence/HPC confirmation as a human in the DAP).Later, call
casda_get_staging_statusorcasda_get_data_job; do not assume automatic polling.Only after products are ready, call
casda_download_product(Pawsey results are network-restricted).Check returned length and checksum fields.
Cutout
Enable staging and configure OPAL credentials.
Call
casda_create_cutoutwith an explicitproduct_idand SODA constraints (for examplecircle).Poll with
casda_get_data_job.Download with
casda_download_productorcasda_download_job_resultswhen downloads are enabled.
Advanced ADQL
Set
CASDA_ENABLE_ADVANCED_ADQL=true.Prefer
casda_build_adqlor carefully drafted SELECT-only ADQL.Call
casda_validate_adql, thencasda_tap_queryorcasda_submit_tap_query.Prefer
casda_search_products/ VO discovery tools when allowlisted filters suffice.
Reproducible workflow manifest
Search with explicit criteria.
Select identifiers.
Inspect full metadata.
Call
casda_create_manifest.Read the result later through
casda://manifests/{manifest_id}when persistent state is enabled.
Security model
Tool input is untrusted and validated before query construction.
TAP table names, selected columns, product-type clauses, sort fields, and operators are hard-coded allowlists.
Text wildcards and control characters are rejected; identifiers use restrictive patterns.
Cone, result, page, staging, manifest, decoded archive response, and download sizes are bounded.
Only configured HTTPS CASDA hosts and current CASDA-controlled Pawsey download hosts are allowed. Redirect destinations are revalidated before they are followed.
Safe metadata reads may retry; staging creation/start never automatically retry.
OPAL credentials use environment/secret injection and are excluded from logs, provenance, and exceptions.
Structured logs go to stderr so stdio JSON-RPC is not corrupted.
Cache keys include the complete generated query and bound; authentication failures are not cached.
Staging status is never cached.
Streamable HTTP binds to loopback by default and has no built-in client authentication. Put a production remote deployment behind TLS and an authenticating reverse proxy or MCP authorization layer. Do not expose it directly when staging, credentials, or downloads are enabled.
Principal isolation is process-scoped: credentials, authorization results, job state, ready URLs, caches, and manifests are not multiplexed safely across remote users in one process. For remote multi-user deployments, run one process per principal (or an equivalent front end that never shares a process across principals).
CASDA_STATE_DBmay contain short-lived signed URLs needed to resume status/download workflows. The server rejects symlink/non-file targets and forces owner-only file permissions on POSIX; deployments should additionally use an owner-controlled directory and encrypted storage. In-memory state is the default.
See SECURITY.md for the threat model and reporting guidance.
Architecture
MCP client
-> typed FastMCP tools/resources/prompts
-> CasdaService (validation, limits, idempotency, provenance)
-> QueryBuilder / adql / vosi / cursor / parsers / TTL cache / StateStore
-> CasdaClient (pooled HTTP, retries, host validation, OPAL auth)
-> CASDA TAP | VOSI | SIA/SCS/SSA | events | Datalink | SODA/UWS | staged file endpointThe modules are deliberately separated so CASDA protocol behavior does not depend on a particular AI client. See docs/architecture.md for component and sequence details. See docs/casda-capability-matrix.md for protocol coverage and the implementation roadmap.
Testing and validation
Run the default offline suite:
uv run pytest -m "not live" --cov=casda_mcp --cov-report=term-missing
uv run ruff format --check .
uv run ruff check .
uv run mypy src
uv buildThe tests cover validation, coordinates, cone limits, dates, frequencies, identifiers, safe ADQL, pagination, CSV/VOTable/UWS parsing, redaction, caching, error mapping, idempotency, partial staging, path traversal, overwrite prevention, streamed byte limits, checksum mismatch cleanup, Range resume, manifest determinism, MCP schemas, resources, health, and mocked end-to-end HTTP behavior.
Optional live tests are read-only discovery checks and disabled by default:
CASDA_RUN_LIVE_TESTS=true uv run pytest -m live -vThey cover VOSI availability/capabilities, a small TAP sync query, schema listing, SIA 2 cone, SIA 1 surveys, catalogue inventory, and the events feed. They never stage, download, or create cutouts. CI does not require credentials.
Container
Build and run the default read-only HTTP server:
docker build -t casda-mcp .
docker run --rm -p 127.0.0.1:8000:8000 casda-mcpThe image runs as a non-root user and checks /healthz. Mount a dedicated directory and inject
secrets only when explicitly enabling downloads or staging.
Troubleshooting
No products: remove filters deliberately, check the exact target/collection name, and keep the radius explicit. The server will not silently broaden the request.
ARCHIVE_QUERY_ERROR: CASDA rejected the generated bounded query. Record the correlation and query IDs; no stack trace or credentials are exposed to the client.AUTHENTICATION_REQUIRED/AUTHENTICATION_FAILED: configure both OPAL variables and verify the account at the OPAL site. Metadata search itself does not require login.STAGING_DISABLED/DOWNLOADS_DISABLED: these are safe defaults, not archive failures.STAGING_REQUEST_NOT_FOUND: in-memory state was lost after restart or the ID came from another instance. ConfigureCASDA_STATE_DBbefore submission when restart persistence is required.PRODUCT_NOT_READY: run a current status check for the original request. The server will not infer readiness from elapsed time.UNSAFE_ARCHIVE_URL: CASDA returned a host outside the configured allowlist. Do not bypass this check without verifying a documented archive migration.Repeated stale metadata: reduce/disable the short cache or restart; staging status bypasses it.
HTTP works but remote access should not: the default bind is loopback. Remote exposure requires an explicit host plus a secure front end.
Known limitations
Authenticated staging, cutout, spectrum, and file download behavior is protocol-tested with mocks; default live tests never exercise those paths.
ASKAP SBID product relationships use the confirmed ObsCore
obs_id = 'ASKAP-<sbid>'convention.Project codes are joined where
ivoa.obscore.obs_collectionmatchescasda.project.short_name; CASDA does not expose a direct generic project foreign key in ObsCore.CASDA's current ADQL service does not support
CURRENT_TIMESTAMP; public-only search retrieves the configured bounded window and removes future release dates locally.Advanced ADQL remains SELECT-only, length/row bounded, and disabled until
CASDA_ENABLE_ADVANCED_ADQL=true.UWS reports an overall job phase. A product is marked individually ready only when a completed job returns its unique product result identifier. A globally unambiguous filename fallback is retained for historical jobs; ambiguous results remain
UNKNOWN.Resumption is attempted within one download call only when CASDA supplies a strong ETag or an RFC-strong Last-Modified validator; otherwise a retry restarts from byte zero. Final failure removes the temporary file, so resumption does not persist across separate calls. An abrupt process or host termination can leave a hashed lock in
.casda-mcp/locksthat an operator must inspect and remove before retrying that exact destination.Source-name resolution is outside this server. DOI minting, licence acceptance, and other privileged DAP workflows remain DAP-boundary; use
casda_resolve_collection_doiandcasda_get_dap_navigationfor safe read-only helpers.Beam identifiers may be retained in filenames or target metadata, but CASDA ObsCore does not expose a generic structured neighbouring-beam relationship used by this implementation.
References
Available Tools
45 toolscasda_abort_data_jobAbort CASDA data jobA
Abort a SODA/UWS data job previously created by this server.
Inputs: request_id (required). Returns: error, status, provenance, request_id
casda_abort_tap_jobAbort CASDA TAP jobC
Abort a TAP job created by this server.
Inputs: request_id (required). Returns: error, status, provenance, request_id
casda_build_adqlBuild CASDA ADQLARead-onlyIdempotent
Build the allowlisted ObsCore search ADQL string without contacting CASDA.
Inputs: page, ra_deg, dec_deg, sort_by, +15 more. Returns: error, query, parameters, provenance, +1 more
casda_create_cutoutCreate CASDA cutout jobA
Create one cutout SODA job via the DataLink cutout_service descriptor.
Requires CASDA_ENABLE_STAGING and credentials. Never auto-retries create/start.
Inputs: product_id (required), pol, band, coord, +4 more. Returns: error, reused, status, job_kind, +6 more
casda_create_manifestCreate CASDA manifestAIdempotent
Create and retain a versioned, machine-readable manifest for explicit products.
This tool performs bounded metadata and optional checksum reads. It does not stage, download, or write the manifest to the caller's filesystem. Signed and short-lived URLs are omitted even when URL inclusion is requested.
Inputs: product_ids (required), source_name, workflow_name, include_download_urls. Returns: error, manifest, provenance
casda_create_spectrumCreate CASDA spectrum jobA
Create one spectrum-generation SODA job via spectrum_generation_service.
Requires CASDA_ENABLE_STAGING and credentials. Never auto-retries create/start.
Inputs: product_id (required), pol, band, coord, +4 more. Returns: error, reused, status, job_kind, +6 more
casda_delete_data_jobDelete CASDA data jobADestructive
Delete a data job from the archive and local state.
Inputs: request_id (required). Returns: error, deleted, provenance, request_id
casda_delete_tap_jobDelete CASDA TAP jobADestructive
Delete a TAP job created by this server from the archive and local state.
Inputs: request_id (required). Returns: error, deleted, provenance, request_id
casda_describe_tableDescribe CASDA tableARead-onlyIdempotent
Describe columns for one TAP_SCHEMA table identified by schema and table name.
Inputs: table_name (required), schema_name (required). Returns: error, columns, provenance, table_name, +1 more
casda_download_job_resultsDownload CASDA job resultsAIdempotent
Sequentially download all ready results for one job into CASDA_DOWNLOAD_DIR.
Stops on the first failure and reports partial successes.
Inputs: request_id (required), verify_checksum. Returns: error, results, provenance, request_id, +2 more
casda_download_productDownload CASDA productAIdempotent
Download one confirmed-ready product using guarded, streamed local filesystem writes.
This operation requires CASDA_ENABLE_DOWNLOADS and a restricted CASDA_DOWNLOAD_DIR. It never overwrites by default, enforces the byte limit, verifies Content-Length, resumes within the call when Range is supported, and removes incomplete files after failure.
Inputs: product_id (required), destination, verify_checksum. Returns: error, result, provenance
casda_get_archive_statusGet CASDA archive statusARead-onlyIdempotent
Read VOSI availability for the configured public CASDA TAP service.
This is archive availability, not local process liveness. Prefer /healthz for the MCP server itself.
Inputs: no named parameters. Returns: error, provenance, availability
casda_get_auth_statusGet CASDA authentication statusARead-onlyIdempotent
Report whether credentials are configured and currently authenticate to CASDA.
Never returns username, password, or other secret material.
Inputs: no named parameters. Returns: error, provenance, authenticated, credentials_configured
casda_get_collectionGet CASDA collectionARead-onlyIdempotent
Aggregate ObsCore products for one collection (counts, types, release span).
Inputs: collection (required). Returns: error, collection, provenance
casda_get_data_jobGet CASDA data jobARead-onlyIdempotent
Perform one uncached status check for a data job created by this server.
Inputs: request_id (required). Returns: error, status, job_kind, products, +6 more
casda_get_data_job_resultsGet CASDA data job resultsARead-onlyIdempotent
List safe result metadata for a data job without opaque download URLs.
Inputs: request_id (required). Returns: error, status, results, provenance, +1 more
casda_get_datalinkInspect CASDA DataLinkARead-onlyIdempotent
Inspect DataLink access descriptors for one product.
Returns service names, content types, and sizes. Opaque authenticated ID tokens are redacted and never returned.
Inputs: product_id (required). Returns: error, services, product_id, provenance
casda_get_observationGet CASDA observationARead-onlyIdempotent
Retrieve an observation, projects, and bounded products for an ASKAP SBID or obs_id.
Inputs: observation_id, scheduling_block_id. Returns: error, products, projects, provenance, +1 more
casda_get_productGet CASDA productARead-onlyIdempotent
Retrieve supported ObsCore metadata for one explicit product identifier.
Access state is reported conservatively; this tool does not stage or download the product.
Inputs: product_id (required). Returns: error, product, provenance
casda_get_projectGet CASDA projectARead-onlyIdempotent
Retrieve one project row from casda.project by OPAL code.
Inputs: project_code (required). Returns: error, project, provenance
casda_get_staging_statusGet CASDA staging statusARead-onlyIdempotent
Perform one uncached status check for a known CASDA staging request.
This tool does not continue polling after the call returns and does not download files. Alias of casda_get_data_job for full-file staging jobs.
Inputs: request_id (required). Returns: error, status, job_kind, products, +6 more
casda_get_tap_jobGet CASDA TAP jobARead-onlyIdempotent
Perform one uncached status check for a TAP job created by this server.
Inputs: request_id (required). Returns: error, status, results, provenance, +3 more
casda_get_tap_resultsGet CASDA TAP resultsARead-onlyIdempotent
Fetch bounded CSV results for a TAP job created by this server.
Inputs: request_id (required). Returns: rows, error, max_rows, returned, +2 more
casda_list_capabilitiesList CASDA capabilitiesARead-onlyIdempotent
List VOSI capabilities advertised by the configured public CASDA TAP service.
Inputs: no named parameters. Returns: error, provenance, capabilities
casda_list_cataloguesList CASDA cataloguesARead-onlyIdempotent
List casda.catalogue product rows with stable cursor pagination.
Inputs: cursor, page_size. Returns: error, catalogues, pagination, provenance
casda_list_eventsList CASDA observation eventsARead-onlyIdempotent
List public observation lifecycle events with bounded cursor pagination.
Inputs: cursor, page_size, event_type, project_code. Returns: error, events, pagination, provenance
casda_list_foreign_keysList CASDA foreign keysARead-onlyIdempotent
List TAP_SCHEMA foreign keys that originate from the requested table.
Inputs: table_name (required), schema_name (required). Returns: error, provenance, table_name, schema_name, +1 more
casda_list_image_surveysList CASDA image surveysARead-onlyIdempotent
List CASDA SIA 1 survey inventory entries.
Inputs: no named parameters. Returns: error, surveys, provenance
casda_list_schemasList CASDA schemasARead-onlyIdempotent
List TAP_SCHEMA schemas with bounded cursor pagination.
Inputs: cursor, page_size. Returns: error, schemas, pagination, provenance
casda_list_tablesList CASDA tablesARead-onlyIdempotent
List TAP_SCHEMA tables, optionally filtered by schema, with cursor pagination.
Inputs: cursor, page_size, schema_name. Returns: error, tables, pagination, provenance
casda_list_tap_examplesList CASDA TAP examplesARead-onlyIdempotent
List example ADQL queries advertised by the CASDA TAP examples endpoint.
Inputs: no named parameters. Returns: error, examples, provenance, content_type
casda_resolve_collection_doiResolve collection DOIARead-onlyIdempotent
Resolve public citation metadata via DataCite or doi.org CSL-JSON.
Read-only. Never mints DOIs or calls DataCite write APIs. CSIRO DAP DOIs typically use prefix 10.25919 (labelled via is_csiro_dap). Requires CASDA_ENABLE_DOI_RESOLVE (default true).
Inputs: doi, collection, project_code. Returns: doi, error, found, record, +5 more
casda_search_catalogueSearch CASDA catalogueCRead-onlyIdempotent
Run a Simple Cone Search against one CASDA catalogue short-name endpoint.
Inputs: ra_deg (required), dec_deg (required), catalogue (required), radius_deg (required), +1 more. Returns: rows, error, returned, catalogue, +2 more
casda_search_imagesSearch CASDA imagesBRead-onlyIdempotent
Discover images and cubes with the CASDA SIA 2 interface.
Inputs: pos_type (required), pol, band, time, +9 more. Returns: error, images, returned, provenance, +1 more
casda_search_productsSearch CASDA productsARead-onlyIdempotent
Search product metadata with a safely generated, bounded TAP/ADQL query.
This read-only tool performs no staging, download, filesystem write, source-name resolution, or unrestricted ADQL. Spatial coordinates are ICRS degrees and frequencies are hertz.
Inputs: page, cursor, ra_deg, dec_deg, +16 more. Returns: error, products, pagination, provenance
casda_search_projectsSearch CASDA projectsARead-onlyIdempotent
Search casda.project with optional exact filters and cursor pagination.
Inputs: cursor, page_size, short_name, project_code. Returns: error, projects, pagination, provenance
casda_search_spectraSearch CASDA spectraCRead-onlyIdempotent
Discover spectra with the CASDA SSA interface.
Inputs: ra_deg (required), dec_deg (required), size_deg (required), band, +2 more. Returns: error, spectra, returned, provenance, +1 more
casda_search_survey_imagesSearch CASDA survey imagesBRead-onlyIdempotent
Discover survey images with the CASDA SIA 1 interface.
Inputs: ra_deg (required), survey (required), dec_deg (required), size_deg (required), +1 more. Returns: error, images, returned, provenance, +1 more
casda_stage_pawseyStage CASDA products to PawseyA
Submit one Pawsey pull staging job via DataLink pawsey_async_service.
Requires authentication and CASDA_ENABLE_STAGING (same flag as WEB full-file staging). Distinct from casda_stage_products: results are Pawsey-network restricted. Response includes human_gate_warnings; licence/HPC confirmation must be completed by a human in DAP — this server never auto-accepts terms. Reuse data-job status/download tools.
Inputs: product_ids (required), allow_duplicate, idempotency_key. Returns: error, reused, status, job_kind, +6 more
casda_stage_productsStage CASDA productsA
Submit one guarded archive-side staging request for explicit products.
This state-changing network operation requires authentication and CASDA_ENABLE_STAGING. It enforces configured product-count and estimated-size limits. It starts the confirmed archive job but does not poll continuously or write local files.
Inputs: product_ids (required), allow_duplicate, idempotency_key. Returns: error, reused, status, job_kind, +6 more
casda_submit_tap_querySubmit CASDA async TAP queryA
Create and start one async TAP job for validated SELECT-only ADQL.
Requires CASDA_ENABLE_ADVANCED_ADQL. Create and RUN are never automatically retried.
Inputs: query (required). Returns: error, status, provenance, request_id
casda_tap_queryRun CASDA TAP queryARead-onlyIdempotent
Execute one validated, bounded sync TAP query.
Requires CASDA_ENABLE_ADVANCED_ADQL. Rejects mutations, comments, multi-statement input, and non-allowlisted table references.
Inputs: query (required). Returns: rows, error, max_rows, returned, +1 more
casda_validate_adqlValidate CASDA ADQLARead-onlyIdempotent
Validate ADQL against the SELECT-only policy without contacting CASDA.
Inputs: query (required). Returns: error, query, valid, max_rows, +1 more
casda_verify_fileVerify local CASDA downloadARead-onlyIdempotent
Re-verify checksum and length of an existing file under the download root.
Inputs: path (required). Returns: error, exists, checksum, local_path, +3 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 45 tools
Most tools have clearly distinct purposes. The only notable overlap is that casda_get_staging_status is explicitly noted as an alias of casda_get_data_job for full-file staging jobs, which could cause minor confusion. Other search, retrieval, and management tools are well-separated.
All tool names follow a consistent 'casda_<verb>_<noun>' pattern in snake_case, with verbs like get, search, list, create, abort, delete, etc. There is no mixing of conventions, and the naming is predictable.
With 45 tools, the surface is large but arguably justified given the breadth of CASDA operations (search, staging, downloads, TAP, data jobs). However, it differs from the typical 3-15 tool ideal and could be streamlined by consolidating some functions.
The tool set covers core workflows: metadata search, product retrieval, staging, downloading, and job management. Minor gaps exist, such as no tool to list all active data jobs or to update staged requests, but these are not critical for most use cases.
Maintenance
Related MCP Connectors
Search public Australian environmental evidence with provenance across authoritative catalogues.
Authenticated public evidence search, verification, research jobs, exports, and webhooks.
Read-only research pilot catalogue: task templates, resources, starter studies, capability status.
Search, filter, count and sum Australian government open data, with every version kept.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA read-only MCP server over the Cassini-Huygens mission dataset exposing tools for querying activity data such as listing, searching, counting, aggregating, and timeline analysis.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables querying of the Cassini-Huygens mission dataset with tools for listing, searching, counting, aggregating, and browsing activities.MIT
- AlicenseNot gradedqualityBmaintenanceEnables querying NASA Exoplanet Archive data using ADQL TAP, planet search, composite parameters, Kepler candidates, and microlensing events.112 npmMIT
- AlicenseNot gradedqualityBmaintenanceAn MCP server exposing IVOA-compliant astronomical archives (NOIRLab Astro Data Lab, NRAO/ALMA, CADC, ESO, Gaia, …) to LLM clients.34 PyPI5MIT