Skip to content
LangChain

AWS Billing for LangChain

io.github.mcp-dir/aws_billing-mcp

AWS Cost Explorer cost, forecast, and anomaly reporting through user-connected IAM credentials.

client:LangChain transport:streamable-http tools:10

Install AWS Billing in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "aws_billing-mcp": {
            "transport": "streamable_http",
            "url": "https://api.mcp.ai/p_aws_billing",
        }
})

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

AWS Billing in other clients