Papers
Topics
Authors
Recent
Search
2000 character limit reached

A Model Context Protocol Server for Astrophysical RAG: Unified Access to HI, Dwarf, Globular Cluster, IntZ, and ALPINE Kinematic Corpora with FAISS Semantic Search

Published 4 Jul 2026 in astro-ph.GA and astro-ph.IM | (2607.03946v1)

Abstract: We present the EPS Research Astro-RAG MCP Server v2.3.0, a cross-platform Model Context Protocol (MCP) implementation providing unified, machine-readable access to five astrophysical corpora spanning the local universe (z = 0) to z = 5.68 (the high-redshift frontier of the ALPINE survey). The server exposes a humanreadable browser query interface, a REST API, and an LLM-native MCP endpoint, enabling deterministic retrieval, metadata filtering, and structured analysis across 2,064 objects: galaxies spanning HI rotation curve surveys, dwarf and irregular systems, and high-redshift kinematic targets, together with Milky Way globular clusters. Version 2.3.0 introduces FAISS-accelerated natural-language similarity search using pre-built 384-dimensional MiniLM-L6-v2 vector indexes, enabling corpus-wide semantic queries without fine-tuning or API keys. We describe the server architecture, unified schema design, FAISS index construction pipeline, MCP toolset, and cross-epoch use cases including rotation-curve retrieval, metadata filtering, and semantic similarity exploration. The server is publicly deployed on HuggingFace Spaces (https://dflynn5656-astro-rag-mcp.hf.space), released under the MIT License, and fully reproducible from Zenodo (DOI: 10.5281/zenodo.21154451). The full platform is available at https://github.com/eps-research/rag-corpus-series.

Authors (1)

Summary

  • The paper introduces a production-grade MCP server that unifies five heterogeneous astrophysical kinematic datasets under a single, deterministic access protocol.
  • It employs FAISS-accelerated semantic search using MiniLM embeddings, enabling schema-independent, sub-millisecond query responses and robust cross-epoch comparisons.
  • The unified JSON schema and dual LLM-native and REST interfaces facilitate both human and AI-assisted exploration, setting a new paradigm in astrophysical data analysis.

Unified LLM-Native Access to Multiepoch Astrophysical Kinematic Corpora

Introduction

The paper "A Model Context Protocol Server for Astrophysical RAG: Unified Access to HI, Dwarf, Globular Cluster, IntZ, and ALPINE Kinematic Corpora with FAISS Semantic Search" (2607.03946) introduces the EPS Research Astro-RAG MCP Server v2.3.0, a production-grade implementation leveraging the Model Context Protocol (MCP) for deterministic, reproducible, and robust retrieval from five curated astrophysical corpora. These encompass kinematic datasets covering local galaxies, Milky Way globular clusters, intermediate- and high-redshift extragalactic targets, and are unified in schema, interface, and access methodology. The platform deploys both RESTful and LLM-native endpoints while enabling semantic search across z=0z = 0 to z=5.68z = 5.68 via FAISS-accelerated dense vector indexes constructed from MiniLM embeddings.

Corpus Integration and Schema Unification

A significant advancement is the assembly of five distinct astrophysical corporaโ€”Unified HI Rotation Curve, Dwarf/Irregular HI, Milky Way Globular Clusters, IntZ Kinematic, and High-z ALPINE Kinematicโ€”each published with citable Zenodo DOIs and congruent JSON schema design. All records benefit from harmonized field-level typing, consistent provenance annotation, and cross-epoch compatibility, which eliminates the programmatic friction typically encountered when reconciling disparate survey archives. The server thus enables comparability and joint analysis of 2,064 objects, spanning the full cosmic timeline accessible via current kinematic observational surveys.

MCP Server Architecture and Toolset

The MCP server is implemented on top of the FastMCP framework, supporting concurrent access via (1) an LLM-native MCP endpoint, (2) REST API with OpenAPI/Swagger documentation, and (3) interactive browser UI. Corpus data are loaded into an in-process cache guaranteeing sub-millisecond retrieval latency post-initialization. The toolset exposed comprises seven structured retrieval methods including deterministic object fetching, paginated metadata browsing, numeric filtering, schema propagation, and natural-language semantic search. All tool signatures are formally typed and advertised in the MCP manifest, facilitating tool selection and composition by both AI assistant clients and external researchers.

The incorporation of FAISS-accelerated semantic search constitutes a central innovation. For each corpus, text summaries are distilled from salient metadata, embedded with the MiniLM-L6-v2 Transformer into 384-dimensional vectors, and indexed with faiss.IndexFlatL2. The search pipeline yields deterministic nearest-neighbor retrievals on semantic queries such as "dwarf irregular low surface brightness" or "metal-poor outer halo cluster" without requiring knowledge of underlying schema or explicit field names. Query latency is typically <50<50 ms on commodity hardware for corpus sizes โˆผ103\sim10^3.

Empirical validation is demonstrated with high-fidelity selection: e.g., queries for "dwarf irregular low mass" objects return CVnIdwA, DDO 210, and IC 1613 in the v7 corpus; "metal poor outer halo cluster" retrieves ESO-SC06 and 2MS-GC02 in the GC corpus. This confirms that the embedding and search pipeline achieves physically meaningful semantic clustering without fine-tuning or external API keys.

Advanced Retrieval and Filtering Capabilities

The platform enables complex retrieval operationsโ€”cross-epoch rotation curve comparison, large-scale metadata filtering, and semantic similarity explorationโ€”natively from both LLM and REST clients. Numeric filtering (e.g., vrot_max_kms or z_spec) achieves structured record selection at sub-100 ms latency. Semantic search enables reconnaissance workflowsโ€”identification of analogous objects across corpora, selection of physically-coherent subclasses, and prospective target grouping based on descriptive queries.

Notably, the deterministic reproducibility of the whole pipeline (corpus, indexes, software, MCP manifest) is guaranteed via versioned Zenodo DOIs, which ensure the integrity and traceability of any downstream analytical output.

Relation to Existing Infrastructures and Novelty

The MCP server is positioned orthogonal to existing tools such as astroquery and the Virtual Observatory (VO) stack: it prioritizes unified, schema-curated corpora optimized for LLM-native, natural language access rather than dynamic database queries or ADQL-based workflows. The semantic search capability over multiepoch kinematic corpora distinguishes this system from anything previously deployed in public astrophysical infrastructure. The authors explicitly claim that, to date, no public MCP-compliant server provides unified kinematic access across z=0z = 0โ€“$5.68$ with deterministic semantic retrieval.

Practical and Theoretical Implications

Practically, the platform democratizes cross-epoch astrophysical data exploration, allowing both domain and non-domain experts, including AI systems and LLMs, to execute advanced queries without prior schema knowledge. It dramatically reduces the time and code required for multiepoch comparison, especially in studies of galaxy evolution, cluster dynamics, or high-redshift kinematic classification. Theoretically, the platform foregrounds natural-language driven, schema-independent exploration of high-dimensional astrophysical survey data as a standard paradigm. The deterministic, reproducible infrastructure could serve as a reference model for future LLM-native scientific data servers.

Limitations and Future Directions

The semantic search pipeline, reliant on MiniLM embeddings and L2 distance, does not encode metric similarity in parameter space; hence, numeric comparison (e.g., exact rotation velocities) remains the domain of explicit filters. Certain corpus specifics (e.g., missing identifiers in intz) require enhancement for optimal object labeling. Future developments may include integration of cross-corpus join operations, dynamic corpus augmentation, and incorporation of alternative embedding models for improved parameter sensitivity.

Conclusion

The EPS Research Astro-RAG MCP Server v2.3.0 (2607.03946) defines the state of the art in unified, LLM-native access to curated astrophysical kinematic corpora. Through schema harmonization, deterministic retrieval, FAISS-accelerated semantic search, and full reproducibility, the server establishes a rigorous platform for both human and AI-assisted scientific exploration across all major epochs of kinematic survey data. The infrastructure is openly available for further extension and integration in both astrophysical and broader scientific contexts.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.