MANNA

io.github.NSF-Simons-CosmicAI-Institute由 GitHub 帳號 NSF-Simons-CosmicAI-Institute 發布v0.11.0更新於 Oct 30, 2026

MCP server for IVOA astronomical archives: NOIRLab Astro Data Lab, NRAO/ALMA, CADC, ESO, Gaia

概覽

AI 產生的概覽

讓助手存取 IVOA 天文檔案(Astro Data Lab、ALMA、CADC、ESO、Gaia、SDSS)的 MCP 伺服器,支援 TAP/ADQL、影像與錐形搜尋、註冊表與 Sesame。

可以做什麼
  • 解析天體名稱並查詢 IVOA 註冊表中的檔案
  • 對 TAP 服務執行 ADQL 查詢,依位置搜尋影像或星表來源
  • 執行多步驟工作流程:解析目標、選擇檔案並執行搜尋或計數
  • 小型結果直接內嵌回傳,大型 TAP 結果轉為非同步任務並附上結果連結與 pyvo 片段
  • 讀取各檔案的整理說明,例如缺少欄位與空間索引提示
適用情境
適合天文與天體物理情境:需要助手查詢真實檔案資料、針對特定服務撰寫 ADQL,或跨 IVOA 檔案查找天體與影像,而不必手動組出每個請求。
執行需求
本機 Python 3.12 以上執行環境;以 uvx manna-mcp --stdio 執行或安裝 manna-mcp 套件。可選用 MANNA_* 環境變數(MANNA_ARCHIVES、MANNA_ALLOWED_HOSTS、MANNA_INLINE_ROW_LIMIT、MANNA_LOG_LEVEL)或 .env 檔案。需要連線至檔案服務的網路;首次啟動會下載 astropy 與 pyvo。
安裝前請注意
伺服器會查詢外部檔案服務,請求內容會傳送給這些第三方。大型結果不會保留在伺服器,只回傳任務連結與程式片段,需由用戶端自行取得。未設定 MANNA_ALLOWED_HOSTS 時允許存取任意公開主機,會擴大對外連線範圍。首次啟動較慢,可能超過用戶端的短逾時。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 MANNA,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

MANNA

[PyPI] [Documentation] [CI] [License: MIT]

MANNA (MCP Architecture for NOIRLab, NRAO, and additional Archives) is an MCP server that gives LLM clients such as Claude Code, Claude Desktop, and Jupyter AI access to astronomical archives through the standard IVOA interfaces: TAP/ADQL, SIA image search, cone search, the IVOA registry, and Sesame name resolution. It includes curated notes for NOIRLab Astro Data Lab, ALMA, CADC, ESO, Gaia, and SDSS, and can reach any archive listed in the IVOA registry.

Its tools fall into four groups:

  • Connections call the IVOA interfaces directly: resolve a target name, run an ADQL query, search for images or catalog sources by position, search the registry.
  • Workflow tools do a multi-step task in one call: resolve a target, pick an archive, run the search or count.
  • Result handling returns small results inline. A large TAP result becomes an async job, and the client receives a result URL and a pyvo snippet to fetch it. The server keeps nothing between requests.
  • Archive notes record each archive's quirks (missing columns, enum values, spatial-index hints) so the model sees them before writing ADQL. Every note has a check that re-verifies it.

Full documentation, including the reference for every tool, is at https://manna.readthedocs.io.

Installation

Python 3.12 or later. The PyPI distribution is manna-mcp; the import package and the command are both manna.

bash
uvx manna-mcp --stdio        # run without installing: MCP over stdiopip install manna-mcp        # or install it; `manna` then serves HTTP on :8000

The first launch downloads astropy and pyvo, which takes a while. Run uvx manna-mcp --stdio once in a terminal before adding it to a client with a short startup timeout.

The Docker image and the MCP Registry entry are described under Installation.

Connect a client

Claude Code:

bash
claude mcp add manna -- uvx manna-mcp --stdio

Claude Desktop, or any client with a JSON config:

json
{"mcpServers": {"manna": {"command": "uvx", "args": ["manna-mcp", "--stdio"]}}}

For a shared HTTP server or Jupyter AI, run manna and point the client at http://localhost:8000/mcp/.

Guides: Claude Code, Claude Desktop, Jupyter AI, a first query.

Configuration

All settings are optional and are read from MANNA_* environment variables or a .env file. The two most often changed:

  • MANNA_ARCHIVES=datalab,alma limits which archives have curated notes. Unset means every archive except nrao, which is inactive until named here.
  • MANNA_INLINE_ROW_LIMIT=2000 and MANNA_INLINE_BYTE_LIMIT=262144 raise the inline result caps from their small-model defaults to suit a large context window such as Claude's.

Every setting is listed in the configuration guide. Adding or removing an archive is covered in the archives guide.

Development

bash
git clone https://github.com/NSF-Simons-CosmicAI-Institute/mannacd mannauv syncuv run pytest --record-mode=none   # offline replay of recorded archive trafficuv run python -m manna             # server on http://localhost:8000

Feature branches are cut from dev and merged back by pull request. Tests, linting, recorded cassettes, the docs build, and releases are described under Contributing.

License

MIT. Developed by the NSF-Simons CosmicAI Institute.

來源:README.md,提交 eeff175

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

4
  1. v0.11.0最新Oct 9, 2026
  2. v0.10.0Sep 27, 2026
  3. v0.9.0Sep 16, 2026
  4. v0.7.2Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分