原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

GraceDB

作者:izabelamaria24版本 0.4.0i★ 0i在你的电脑上运行
注册名称io.github.izabelamaria24/gracedb-mcp

安装

概览

作者提供的说明(英文原文)

LIGO/Virgo/KAGRA gravitational-wave alerts (GraceDB), open data (GWOSC) and GCN follow-up.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 法律与政府数据

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:2 项中通过 2 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: GRACEDB_FORCE_NOAUTH, GRACEDB_SERVICE_URL, GRACEDB_MCP_DATA_DIR

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "gracedb": {
      "command": "uvx",
      "args": [
        "gracedb-mcp"
      ],
      "env": {
        "GRACEDB_FORCE_NOAUTH": "your-value",
        "GRACEDB_SERVICE_URL": "your-value",
        "GRACEDB_MCP_DATA_DIR": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add gracedb --env GRACEDB_FORCE_NOAUTH=your-value --env GRACEDB_SERVICE_URL=your-value --env GRACEDB_MCP_DATA_DIR=your-value -- uvx gracedb-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "gracedb": {
      "command": "uvx",
      "args": [
        "gracedb-mcp"
      ],
      "env": {
        "GRACEDB_FORCE_NOAUTH": "your-value",
        "GRACEDB_SERVICE_URL": "your-value",
        "GRACEDB_MCP_DATA_DIR": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "gracedb": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "gracedb-mcp"
      ],
      "env": {
        "GRACEDB_FORCE_NOAUTH": "your-value",
        "GRACEDB_SERVICE_URL": "your-value",
        "GRACEDB_MCP_DATA_DIR": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • GRACEDB_FORCE_NOAUTH env
    Set to true for anonymous access to public superevents.
  • GRACEDB_SERVICE_URL env
    GraceDB API base URL (production or playground).
  • GRACEDB_MCP_DATA_DIR env
    Directory for downloaded files.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月10日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 izabelamaria24 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于昨天

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“法律与政府数据”中的其他服务器比较i

  • 星标数多于此分类中其他 1790 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1790 个服务器的 82% 更新
  • 基础检查结果等于或优于此分类中其他 1790 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

GraceDB 安全吗?

它在 2 项适用的基础检查中通过了 2 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于昨天,最新版本(0.4.0)于8天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv), Docker。

有什么可以替代它?

同一分类中有:Korean Law MCP, Tw Legal Rag, Parse-DMARC MCP Server

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Korean Law MCP

Korean law: statutes, precedents, ordinances, treaties and citation verification (법제처 API).

作者:chrisryugj广泛使用★ 28557天前更新

在云端运行

Tw Legal Rag

Taiwan law MCP server: 22M court judgments, statutes, agency rulings, with citation checks

作者:aa0101181514正在增长★ 3454天前更新

在云端运行

Parse-DMARC MCP Server

Lightweight DMARC parser: auto-fetch email reports, visualize compliance in a single all-in-one app

作者:meysam81正在增长★ 2319个月前更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

GraceDB MCP Server

An open-source Model Context Protocol (MCP) server that exposes LIGO/Virgo/KAGRA gravitational-wave alerts from GraceDB to LLM agents. It bridges the official ligo-gracedb client with the MCP standard so an agent can query, classify, and fetch data for gravitational-wave candidate events.

Intended as the data-ingestion layer for a downstream signal-processing / anomaly-detection pipeline (e.g. isolating astrophysical "chirps" from instrumental glitches).

Tools

ToolWhat it does
search_supereventsSearch recent superevents by time window and significance (FAR / astrophysical probability).
get_event_metadataFull superevent record + source classification (BBH / BNS / NSBH / Terrestrial).
download_event_filesDownload GraceDB artifacts: skymaps, p_astro.json, PE results, logs.
download_strain_dataFetch public strain time series from GWOSC around the event GPS time.
utc_to_gpsConvert an ISO-8601 UTC timestamp to GPS seconds.
search_catalog_eventsSearch published GWOSC catalogue events (GWTC-1 to GWTC-5) by masses, distance, SNR, p_astro.
get_catalog_eventSource parameters with 90% intervals for one event, by GW name or GraceDB id.
get_event_labelsGraceDB labels (data quality, review, retraction, products ready) explained in plain English.
audit_alertsThe alerts of a period in one call: superevents, significant and low-significance alerts, retractions with hours to retraction, alerts by detector network and pipeline.
check_data_availabilityWhich detectors have public GWOSC strain for an event or GPS span, before you download.
check_data_qualityPer detector: which data-quality vetoes (CBC, Burst, CW, stochastic) the data passes, and any hardware injections.
list_observing_runsReleased observing runs with dates, detectors and DOIs; which run (if any) covers a given time.
analyze_skymap50%/90% credible areas, distance and peak position from a sky map; probability that given positions (galaxies, transients) or telescope fields contain the source.
search_gcn_circularsNASA GCN Circulars: what telescopes, satellites and neutrino detectors reported about an event (GW, GRB, IceCube...), or any Lucene query with date filters.
get_gcn_circularFull text of one GCN Circular, with links to cite it via ADS.

Resources

Every file the server downloads (up to 50 MB) is also an MCP resource, so an agent can read it without filesystem access, which is useful when the server runs in Docker or on another machine:

gracedb://files/S190814bv/p_astro.json                       (application/json)

gracedb://files/S190814bv/bayestar.png (image/png) gracedb://files/GW150914/strain/H1-1126259458-8.hdf5 (application/x-hdf5)

The download tools return these URIs, clients are notified when new files appear, and files already in the data directory are listed at startup. Larger files, such as full parameter-estimation posteriors, stay on disk only.

Prompts

Ready-made workflows that chain the tools. Most clients show them as slash commands.

PromptArgumentsWhat you get
alert_briefinghours (24), max_far (3.8e-7 Hz, about one false alarm per month), category (Production, or MDC for the simulated alerts GraceDB creates about hourly)New alerts triaged: retractions and data-quality flags first, then class, significance and sky map.
event_dossierevent (S190814bv or GW190814), audience (scientist, student, public)One event end to end: significance, review history, alert vs. final parameters, sky map, public data.
alert_vs_catalogevent, or catalog + max_events (15)How well the low-latency classification matched the final published masses.
alert_auditstart, end (now), categoryA period's alerts: how many, how many retracted, why (from the LVK retraction circulars) and how fast, plus the detectors and pipelines involved.

Skills

Agent skills cover workflows that need more than this server, such as running Python locally. They live in skills/ and are not part of the PyPI package. To use one, copy its folder to your agent's skills directory:

  • Claude Code: ~/.claude/skills/
  • GitHub Copilot: .github/skills/ in a project, or ~/.copilot/skills/
cp -r skills/gw-open-data-analysis ~/.claude/skills/
SkillWhat it does
gw-open-data-analysisFrom an event name to plots: checks which detectors have open data, downloads the strain and whitens it. It then plots each detector's Q-transform (the chirp), the whitened strain and the noise spectrum. It also matched-filters the data with a waveform for the catalogue masses, which reproduces the published SNRs to within a few percent. It reports what is and is not seen. A targeted search takes a gamma-ray burst or neutrino alert from GCN and searches the data around it for a neutron-star merger, giving a false-alarm probability from about 3,400 background windows (time slides); it recovers GW170817 from GRB 170817A's time alone, at probability 0.0003. Needs local Python with gwpy, plus lalsuite for the matched filter and targeted search.
⚠️ Important: where strain data actually comes from

GraceDB does not host raw strain data. It stores *event artifacts* (skymaps, classifications, parameter-estimation results). The public strain time series lives at [GWOSC](https://gwosc.org) and is fetched by GPS time via gwpy. Public strain is only available for released observing runs — fresh low-latency alerts will not have public strain yet. download_strain_data reflects this: it reads t_0 from GraceDB, then pulls open data from GWOSC (and cleanly reports when data isn't public).

Requirements

  • Python 3.10+
  • mcp, ligo-gracedb, gwosc, python-dotenv
  • Optional: gwpy (for download_strain_data) — installed via the strain extra.

Install

Run straight from PyPI with uv:

uvx --from "gracedb-mcp[strain]" gracedb-mcp

Or from source:

git clone https://github.com/izabelamaria24/gracedb-mcp.git

cd gracedb-mcp python -m venv .venv && source .venv/bin/activate pip install -e ".[strain]" # omit [strain] if you don't need strain download

Configuration

Copy .env.example to .env and adjust. Anonymous access is enough for public superevents:

cp .env.example .env
VariablePurpose
GRACEDB_SERVICE_URLAPI base URL (production or playground).
GRACEDB_FORCE_NOAUTHtrue for anonymous public access.
GRACEDB_PROXY / GRACEDB_CERT + GRACEDB_KEYLVK member authentication (X.509).
GRACEDB_MCP_DATA_DIRWhere downloaded files are written (default ~/.cache/gracedb-mcp; /data in Docker).

Run locally

gracedb-mcp          # speaks MCP JSON-RPC over stdio

Development

Requires Python 3.11+ (the mcp 2.x SDK needs 3.10+).

pip install -e ".[dev]"

pytest -q # tests mock the GraceDB client, no network needed

Run with Docker

A prebuilt image (linux/amd64 and arm64) is published to GHCR:

docker run --rm -i -v gracedb-data:/data ghcr.io/izabelamaria24/gracedb-mcp:latest
TagDownloadContents
latest, X.Y.Z~165 MBEverything, including strain download (gwpy).
latest-slim, X.Y.Z-slim~60 MBAll tools except download_strain_data.

Or build it yourself (add --build-arg EXTRAS= for the slim variant):

docker build -t gracedb-mcp .

docker run --rm -i -v gracedb-data:/data gracedb-mcp

Connect to an MCP client

Claude Desktop / VS Code (mcp.json)

Add to your MCP client configuration:

{

"mcpServers": { "gracedb": { "command": "gracedb-mcp", "env": { "GRACEDB_FORCE_NOAUTH": "true", "GRACEDB_MCP_DATA_DIR": "./data" } } } }

Or run the container directly:

{

"mcpServers": { "gracedb": { "command": "docker", "args": ["run", "--rm", "-i", "-v", "gracedb-data:/data", "ghcr.io/izabelamaria24/gracedb-mcp:latest"] } } }

Example agent prompts

  • "Search for superevents from 2023-05-01 to 2023-06-01 with a FAR below 1e-8."
  • "What's the source classification for S230518h? Is it more likely a BBH or an NSBH?"
  • "Download the skymap and p_astro file for S230518h."
  • "Fetch H1 and L1 strain around GW150914."
  • "What are the masses of GW190814, and how certain are they?"
  • "List GWTC-3 events with total mass under 10 solar masses."
  • "Was S190814bv checked by a human? What do its labels mean?"
  • "Is there public strain for GW190814 from every detector?"

Demo

A real session (tool results trimmed to the key fields).

You: Tell me about S190814bv. Was it real, what was it, and can I get its data?

Tool callResult
get_event_metadata("S190814bv")FAR 2.0e-33 Hz; alert classification NSBH 0.998, MassGap 0.002; 63 files
get_event_labels("S190814bv")DQOK, SKYMAP_READY, PASTRO_READY, ADVOK (human advocate approved), PE_READY; not retracted
download_event_files("S190814bv", ["bayestar.png"])gracedb://files/S190814bv/bayestar.png (sky map, viewable as an image)
get_catalog_event("S190814bv")GW190814 in GWTC-2.1: 23.3 (21.9–24.7) and 2.6 (2.5–2.7) solar masses, 230 (180–270) Mpc, SNR 25.3
check_data_availability(event="S190814bv")Public strain from H1, L1 and Virgo (H1 only via the event's own file)
download_strain_data("S190814bv", ["H1", "L1", "V1"], duration=30)gracedb://files/S190814bv/strain/L1-1249852242-30.hdf5, and the same for H1 and V1

Agent: Yes, it's real and extremely significant (false-alarm rate about 2×10⁻³³ Hz). It

passed data-quality checks, a human advocate approved it, and it was never retracted. The

alert called it a neutron star–black hole merger (99.8%). The final analysis (GW190814)

found a 23-solar-mass black hole and a 2.6-solar-mass companion, which is too heavy for

most neutron-star models and too light for known black holes, so its nature is still open.

It was 230 Mpc away. Here's the sky map, and I've saved 30 s of data from both LIGO

detectors and Virgo around the merger.

RL environment (experimental)

gw_rl is a Gymnasium environment built on strain fetched by this server. Each episode shows the agent a 1 s spectrogram and it answers noise, chirp or glitch (+1 correct, -1 wrong).

Real chirps are scarce, so training injects synthetic chirps into real detector noise; the real catalogue events are kept for evaluation. Chirps are IMRPhenomD waveforms from LALSimulation (--chirp imr, default) or a simple analytic sweep (--chirp toy). Glitches are real LIGO glitches labelled by Gravity Spy (--glitch real, default) or sine-Gaussian bursts (--glitch synthetic).

It is not part of the PyPI package; run it from a clone of this repository (ne

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx