data
Celestial MCP Integration for Claude Agent SDK
Connect Celestial to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Celestial to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
Celestial MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"mcpServers": {
"kosmokrator-celestial": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=celestial",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=celestial --write=deny Why Use KosmoKrator Here
Expose only Celestial instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
Celestial Tools Visible to Claude Agent SDK
Claude Agent SDK sees stable MCP tool names generated from the Celestial integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__celestial__celestial_moon_phase | celestial.celestial_moon_phase | Read | Get current moon phase, illumination percentage, age, zodiac sign, and dates of next new/full moon. |
integration__celestial__celestial_sun_info | celestial.celestial_sun_info | Read | Get sunrise/sunset times, solar altitude/azimuth, twilight phase, day length, and zodiac position for a location. |
integration__celestial__celestial_moon_info | celestial.celestial_moon_info | Read | Get moon position, illumination, and visibility from a specific location. |
integration__celestial__celestial_planet_position | celestial.celestial_planet_position | Read | Get planet altitude/azimuth, zodiac position, and rise/set times. Set planet to "all" for an overview of all planets. |
integration__celestial__celestial_solar_eclipse | celestial.celestial_solar_eclipse | Read | Get solar eclipse data for a specific date and location — eclipse type, obscuration, contacts, and magnitude. |
integration__celestial__celestial_lunar_eclipse | celestial.celestial_lunar_eclipse | Read | Get lunar eclipse data for a specific date — eclipse type, magnitude, gamma, contact times (P1-P4, U1-U4), and semi-durations. |
integration__celestial__celestial_night_sky | celestial.celestial_night_sky | Read | Get what's visible in the night sky right now: sun/moon/planet positions, darkness level, and stargazing quality for a location. |
integration__celestial__celestial_zodiac_report | celestial.celestial_zodiac_report | Read | Get all celestial bodies mapped to zodiac signs with alignments for a given date. |
integration__celestial__celestial_time_info | celestial.celestial_time_info | Read | Get astronomical time data — Julian Day, sidereal time (GMST/GAST), and equation of time. |