orb for LangChain
io.usefulapi/orb
Read Orb customers, subscriptions, invoices, usage and costs; create or update customers.
client:LangChain
transport:streamable-http
tools:26
Install orb in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"orb": {
"transport": "streamable_http",
"url": "https://orb.usefulapi.io/mcp",
}
})
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
- orb_ping
- orb_list_customers
- orb_get_customer
- orb_get_customer_by_external_id
- orb_get_customer_costs
- orb_get_customer_credits
- orb_get_customer_credits_ledger
- orb_list_plans
- orb_get_plan
- orb_list_subscriptions
- orb_get_subscription
- orb_get_subscription_costs
- orb_get_subscription_usage
- orb_get_subscription_schedule
- orb_list_invoices
- orb_get_invoice
- orb_get_upcoming_invoice
- orb_list_items
- orb_get_item
- orb_list_prices
- orb_get_price
- orb_list_metrics
- orb_list_coupons
- orb_list_alerts