Ephemeris Mcp

io.github.scottchronicity由 GitHub 账号 scottchronicity 发布v1.2.0更新于 Oct 24, 2026

Precision astronomical ephemeris and planetary positions via the Swiss Ephemeris.

已验证STDIO仅桌面位置与生活

概览

AI 生成的概览

一个本地 MCP 服务器,借助 Swiss Ephemeris 为助手提供精确的天文星历数据,计算行星位置与星盘角度。

可以做什么
计算行星位置:根据给定的 ISO-8601 时间与观测者坐标,返回太阳、月亮及行星在回归黄道中的位置,包括星座、度数、顺行或逆行、速度与赤纬,以及上升点与中天等星盘角度。
适用场景
适合需要助手针对特定日期、时间和地点计算或讨论天文与占星位置(例如星盘角度或行星运动)的场景,无需离开对话。
运行要求
以本地进程通过 stdio 运行,由 MCP 客户端按需启动。可通过 uvx 或 pip 从 PyPI 安装(Python),或运行已发布的 Docker 镜像。未声明需要账户、API 密钥或环境变量。
安装前请注意
观测者经纬度默认值为密歇根州底特律,其他地点需显式传入坐标。结果由 Swiss Ephemeris 计算得出,用于重要用途前应自行核实。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Ephemeris Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

Ephemeris MCP 🌌

[PyPI version] [CI] [License: AGPL v3]

mcp-name: io.github.scottchronicity/ephemeris-mcp

Precision Astronomical Ephemeris for AI Agents.

Ephemeris MCP is a Model Context Protocol (MCP) server that provides AI agents with precision planetary positions using the Swiss Ephemeris.

To use this in Claude Desktop, add this to your claude_desktop_config.json:

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

Quick Start

Install via PyPI (Recommended)

bash
# Install with uvx (recommended - fast & isolated, no local install needed)uvx ephemeris-mcp
# Or install globally with pippip install ephemeris-mcppython -m ephemeris_mcp

Register with MCP Clients

Add to your MCP client configuration (client will start server on-demand):

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

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

VS Code/Cursor/Windsurf (Cline MCP settings):

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

The client starts the server process automatically, communicates over stdin/stdout, then terminates it when done.

Alternative: Docker

If you prefer container isolation:

bash
# Pull latest imagedocker pull ghcr.io/scottchronicity/ephemeris-mcp:latest
# Test itdocker run --rm -i ghcr.io/scottchronicity/ephemeris-mcp:latest

Configure MCP client with Docker:

json
{  "mcpServers": {    "ephemeris-mcp": {      "command": "docker",      "args": ["run", "--rm", "-i", "ghcr.io/scottchronicity/ephemeris-mcp:latest"]    }  }}

Local Development

bash
# Clone and installgit clone https://github.com/scottchronicity/ephemeris-mcp.gitcd ephemeris-mcpuv sync
# Run testsmake test
# Run locallyuv run ephemeris-mcp
# Test the engine directlymake validate-happycase

Available Tools

get_planetary_positions

Returns precise Tropical Zodiac positions for all planets, Sun, Moon, and chart angles.

Parameters:

  • iso_time (string): ISO-8601 timestamp (e.g., "2025-12-16T15:28:00Z")
  • latitude (float): Observer latitude (default: 42.3314 - Detroit, MI)
  • longitude (float): Observer longitude (default: -83.0458 - Detroit, MI)

Returns:

  • bodies: Sun, Moon, planets with sign, degrees, motion (direct/retrograde), speed, declination
  • houses: Ascendant (ASC) and Midheaven (MC) with sign and degrees

Architecture

See docs/adr/ for architectural decisions:

  • ADR 001: Geocentric Tropical Ecliptic coordinates specification
  • ADR 002: Semantic versioning with Conventional Commits
  • ADR 003: CI/CD pipeline architecture

License

AGPLv3

来源:README.md,提交 2f9055c

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.2.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分