Skip to content
LangChain

Pyth Pro MCP Server for LangChain

io.github.pyth-network/mcp

Real-time and historical price feeds for 500+ crypto, equities, FX, and commodities assets.

client:LangChain transport:streamable-http tools:5

Install Pyth Pro MCP Server in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "mcp": {
            "transport": "streamable_http",
            "url": "https://mcp.pyth.network/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

Pyth Pro MCP Server in other clients