Skip to content
LangChain

Cosmic's Coast Map for LangChain

io.github.brendoncampbell/coast-map

Tides, currents, marine forecasts and warnings for paddlers, anglers and small boats, 26 countries.

client:LangChain transport:streamable-http tools:11

Install Cosmic's Coast Map in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "coast-map": {
            "transport": "streamable_http",
            "url": "https://coast.cosmicotter.ca/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

Cosmic's Coast Map in other clients