Starscape
Enables timelapse video output by using ffmpeg to render processed frame sequences into an MP4 file.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Starscape
把固定三脚架连拍的星野照片(星空 + 地景)一键堆栈成低噪点成片。给 AI 助手用的 MCP 服务器 + skill (Claude Code、Codex 等),也可以当命令行工具单独用。
普通的星空叠加会按星点对齐所有照片,结果地景糊成一片,地平线附近出现拖影。Starscape 自动分离天空和地景:
天空:先把每一帧的地景遮掉,再对齐星点叠加 —— 地平线附近也是干净的星点。
地景:不对齐直接叠加 —— 清晰、噪点低。
蒙版自动生成(依据"星轨只出现在天空"),不用手画;不准时可以调参数或手工修正。
没有暗场/平场/偏置也能出片:自动扣相机黑电平,并从亮场本身找热像素。
调观感(亮度、饱和度、去光害强度…)几秒钟重新渲染一次,不用重新叠加。
在同一次叠加的基础上还能做:
星轨:背景和普通叠加一样干净,自动补齐两张之间的断点,可选彗尾效果。
流星雨合成:逐帧找出流星,自动排除卫星、飞机、云,把所有流星按星空位置合成到一张图上(自然从辐射点散开),并给出带编号的候选图供确认。
极光:地景用全部帧降噪,天空只取几帧保留极光结构,配套不去辉光的极光调色。
延时视频:所有帧用同一组电平渲染,不闪烁,直接输出 MP4。
镜头畸变校正:超广角长序列时自动启用,四角星点更锐利。
减星:星点变小变暗,银河结构更突出(不需要 StarNet)。
标定、星点配准和叠加由你电脑上的 Siril 完成,Starscape 负责 Siril 做不了的部分并把整条流程串起来。

需要什么
Siril 1.4 或更新,装在本机。
Python 3.10 或更新。
macOS 或 Linux。Windows 有兼容代码但没有测试过。
Related MCP server: seestar-mcp
安装
git clone https://github.com/giaogiaogiaoluan/starscape.git
cd starscape
pip install .
python install.pypip install . 安装依赖(mcp、numpy、opencv-python、Pillow、tifffile、rawpy)和 starscape 命令。
python install.py 检查 Siril 是否找得到,把 skill 复制到 ~/.claude/skills 和 ~/.codex/skills,
并把 MCP 服务器注册到检测到的 Claude Code / Codex。只装其中一个用 --client claude 或 --client codex;
卸载用 python install.py --uninstall。
建议装在虚拟环境里(python -m venv .venv && source .venv/bin/activate),install.py 会把当前这个
Python 的完整路径写进 MCP 配置,所以之后不需要再激活环境。
Siril 不在默认位置时,设置环境变量 SIRIL_BINARY 指向 siril-cli。自检:
starscape selftest其他 MCP 客户端
任何支持 stdio 的 MCP 客户端都可以用,配置如下(command 换成装了本包的 Python):
{
"mcpServers": {
"starscape": { "command": "/path/to/python", "args": ["-m", "starscape.server"] }
}
}使用
在 AI 助手里,新开一个会话直接说:
把 /路径/到/照片文件夹 里的星野照片堆栈成成片
命令行:
starscape scan "照片文件夹" # 只读盘点:有几组连拍、有没有标定场、要多少磁盘
starscape run "照片文件夹" # 一步到成片
starscape finish "项目目录" --set saturation=1.5 --set background=0.13 # 只重做后期
starscape cleanup "项目目录" # 删中间文件,保留成果成果在 ~/Documents/Starscape/<项目>/out/(用环境变量 STARSCAPE_HOME 改位置):final.jpg、16 位的
final.tif,以及可以在 Siril / PixInsight / Photoshop 里继续处理的线性母版 composite_linear.fit。
starscape trails "项目目录" # 星轨
starscape meteors "项目目录" # 流星雨合成;--include 3 7 --exclude 12 --recompose 调整选择
starscape timelapse "项目目录" # 延时视频(需要 ffmpeg 才输出 mp4)原始照片只被读取,不会被修改。
照片怎么放
亮场(星空照片)直接放在文件夹里或
lights/子文件夹。支持相机 RAW(CR2/CR3/NEF/ARW/DNG…)、FITS、TIFF。标定场可选,放进名为
darks/、flats/、biases/(或暗场/、平场/、偏置/)的子文件夹才会被使用。
参数含义、"看到什么问题 → 怎么调"对照表和拍摄建议见 starscape/GUIDE.md。
已知限制
只支持固定三脚架的地景分离。赤道仪跟踪拍摄会按纯星空处理。
单帧本身的星点拖线叠加修不了,曝光时间请按 NPF 法则。
超广角加很长的序列,四角星点仍可能偏软(畸变修正需要每帧足够多的星点)。
流星自动分类不会全对:暗的、被地平线截断的流星可能被标为"不确定",需要看候选图手动加入。
紧贴地景的一圈天空、桁架和树枝的缝隙里没有锐利星点。
与天空一样亮的白色物体(白色建筑、雪)最难自动分离,可能需要手工圈选。
中间文件很大:2000 万像素每帧约 0.5 GB,100 张约 50 GB,出片后可清理。
目前验证过的素材:合成序列(starscape selftest --full,含流星、卫星、镜头畸变)、Canon R6 的 21 张 RAW 星野、
ZWO ASI071MC 的深空 FITS(含偏置/暗场/平场)。尚未验证:一百张以上的真实长序列、真实的流星雨和极光素材、
相机 RAW 配平场、富士 X-Trans、Windows。
欢迎带着素材信息提 issue。
MCP 工具一览
工具 | 作用 |
| 检查环境 / 只读盘点文件夹 |
| 后台运行管线并查看进度 |
| 返回蒙版、成片、天空/地景叠加、单帧的预览图 |
| 调参数重新出片 |
| 修正天空/地景蒙版并重新叠加 |
| 逐帧质量表 / 剔帧后重新叠加 |
| 星轨 / 流星雨合成 / 延时视频 |
| 在项目里直接运行 Siril 命令 |
| 列出项目 / 清理中间文件 |
许可
MIT。Siril 是独立的 GPLv3 软件,本项目只通过命令行调用它,不包含也不分发它的代码。
更新记录
1.1.0
新增星轨、流星雨合成、延时视频(
starscape_trails/starscape_meteors/starscape_timelapse)。新增极光模式:
sky_frames只用少数帧叠天空,preset="aurora"调色。新增成片预设(milkyway / aurora / deepsky / startrails)和减星
star_reduce。配准改为基于 Siril 星点表的自有匹配,可在需要时自动做镜头畸变校正;长序列自动限制天空的时间窗口。
没有标定场时中间帧用 16 位,磁盘占用减半;叠加按噪声加权,同一组数据的降噪倍数从 3.7× 提高到 4.1×。
新增依赖 scipy。
1.0.0:首个版本。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Pre-press for DTF and textile printing: check whether an image prints well at a given size, remove backgrounds with clean edges, upscale to print size at 300 dpi, knock out colors, make halftones for dark garments and nest designs on gang sheets, plus print sizes by garment and advice on print techniques. Works in any language. Sign in with OAuth (or use a PigmentaLab API key); the free plan includes daily credits.
AI-powered image processing via GPU. Remove backgrounds and upscale images (2x/4x) directly from any MCP client. OAuth 2.1 authenticated, returns processed images inline with download links. Free credits on signup at maskr.io.
Screenplay, film and story toolkit over MCP: PDF formatting, stats, diagnosis, video prompts.
Split images into editable layers (PSD/PNG), outpaint images, and generate clean vector SVGs.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that integrates with Siril astronomical image processing software to process Seestar telescope images, offering tools for binary detection, version checking, mosaic processing, and project analysis.74MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP hosts to control ZWO Seestar telescopes over ASCOM Alpaca, including pointing, imaging, and downloading frames. It also provides a companion astro-mcp server for stacking and processing captured frames.3 npmMIT
- AlicenseBqualityCmaintenanceEnables AI agents to fully control PixInsight for astrophotography workflows, including calibration matching, WBPP stacking, blink review, and post-processing with visual previews.921MIT
- AlicenseBqualityAmaintenanceEnables any MCP-compatible AI agent to directly operate PixInsight through about 80 tools for opening and editing images, running processes, PixelMath, astrometry, and channel operations.781MIT