Skip to content
LangChain

CycleCalcs Astronomy for LangChain

com.cyclecalcs/astronomy

Astronomy: sun, moon, planet, eclipse, twilight and star position calculations.

client:LangChain transport:streamable-http tools:11

Install CycleCalcs Astronomy in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "astronomy": {
            "transport": "streamable_http",
            "url": "https://www.cyclecalcs.com/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

What LangChain can do once it is connected

CycleCalcs Astronomy in other clients