Skip to content
LangChain

PromptBill for LangChain

io.github.danielneuron/promptbill

Local-first AI coding cost attribution per Git repo & client PDF/Xero/QuickBooks invoice MCP server.

client:LangChain transport:stdio runtime:oci

Install PromptBill in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "promptbill": {
            "transport": "stdio",
            "command": "docker",
            "args": ["run", "-i", "--rm", "ghcr.io/danielneuron/promptbill:1.7.0"],
        }
})

tools = await client.get_tools()

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

PromptBill in other clients