fuel prices for LangChain
io.github.johnisanerd/fuel-prices
Gas and fuel prices by station and area, as structured data via a hosted MCP server.
client:LangChain
transport:streamable-http
Install fuel prices in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"fuel-prices": {
"transport": "streamable_http",
"url": "https://mcp.apify.com/?tools=johnvc/fuelprices",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs