Skip to content
LangChain

İETT Istanbul Buses for LangChain

io.github.mohamedzeina/iett-mcp

Istanbul İETT buses: stops, lines, timetables, live bus positions and place lookup.

client:LangChain transport:stdio runtime:npm

Install İETT Istanbul Buses in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "iett-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "iett-mcp"],
        }
})

tools = await client.get_tools()

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

İETT Istanbul Buses in other clients