|
|
3 روز پیش | |
|---|---|---|
| src | 3 روز پیش | |
| tests | 3 روز پیش | |
| .env.example | 3 روز پیش | |
| .gitignore | 3 روز پیش | |
| AGENTS.md | 3 روز پیش | |
| IMPLEMENTATION_PLAN.md | 3 روز پیش | |
| README.md | 3 روز پیش | |
| RELEASE_NOTES.md | 3 روز پیش | |
| initial_idea.md | 3 روز پیش | |
| killserver.sh | 3 روز پیش | |
| main.py | 3 روز پیش | |
| requirements.txt | 3 روز پیش | |
| restart.sh | 3 روز پیش | |
| run.sh | 3 روز پیش | |
| tests.sh | 3 روز پیش |
Ephemeris MCP is a standalone celestial computation engine exposed through MCP. v0.1 ships the core sky-state slice: planetary positions, solar events, lunar state, moon phase, sidereal time, constellation lookup, discovery, health, and root. Satellite tooling remains planned for later slices.
The server binds to 0.0.0.0 and the current reachable instance is
192.168.0.249:7015.
The implementation is intentionally split between:
The current design and tool intent are described in:
initial_idea.mdIMPLEMENTATION_PLAN.mdAGENTS.md/home/lucky/wiki/entities/projects/ephemeris-mcp.mdmain.py - uvicorn entry pointsrc/ephemeris_mcp/ - application codetests/ - automated checksrun.sh / restart.sh / killserver.sh - service helperstests.sh - test runnerdata/ - local ephemeris/cache datalogs/ - runtime logsmcporter - preferred manual client for smoke testsUse the repo's configured MCP client pattern:
mcporter --config "$CONFIG" list ephemeris
Tool calls follow the same shape:
mcporter --config "$CONFIG" call ephemeris.get_moon_phase --args '{"datetime":"2026-05-10T12:00:00Z"}'
The moon-phase response includes the next major phase as both an ISO timestamp and a compact relative string:
{
"phase_name": "Last Quarter",
"next_major_phase": {
"phase_name": "New Moon",
"at_utc": "2026-05-16T03:18:00Z",
"in_text": "5d 15h 18m"
}
}
mcporter --config "$CONFIG" call ephemeris.get_lunar_state --args '{"datetime":"2026-05-10T12:00:00Z","lat":52.52,"lon":13.405}'
mcporter --config "$CONFIG" call ephemeris.get_planetary_positions --args '{"datetime":"2026-05-10T12:00:00Z","lat":52.52,"lon":13.405}'
The server is exposed on the LAN at 192.168.0.249:7015 and mounts MCP at
/mcp/sse.