Skip to content
LangChain

Statistical Centre of Iran for LangChain

io.github.sepehr071/amar-mcp

Read-only Statistical Centre of Iran (amar.org.ir): CPI inflation, unemployment, census, any table.

client:LangChain transport:stdio runtime:pypi

Install Statistical Centre of Iran in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "amar-mcp": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["amar-mcp"],
        }
})

tools = await client.get_tools()

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

Statistical Centre of Iran in other clients