get_billing_usage
Fetch organization billing usage (e.g. trace counts) for a date range. Optional workspace filter; returns metrics with workspace names inline.
How to use it
get_billing_usage is exposed by the Langsmith MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_billing_usage tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Langsmith MCP Server
docker run -p 8000:8000 langsmith-mcp-serverOther tools in Langsmith MCP Server (17)
Documentation-only: how to create datasets in LangSmith.
Fetch LangSmith runs (traces, tools, chains, etc.) from one or more projects. Supports filters (runtype, error, isroot), FQL (filter, tracefilter, treefilter), and ordering. When traceid is set, returns char-based paginated pages; otherwise returns one batch up to limit. Always pass limit and pagenu
Get a specific prompt by its exact name, returning the prompt details and template.
Retrieve message history for a conversation thread. Uses char-based pagination: pass pagenumber (1-based), and use returned totalpages to request more pages. Optional maxcharsperpage and previewchars control page size and long-string truncation.
Fetch datasets with filtering by ID, type, name, name substring, or metadata.
Fetch examples from a dataset by dataset ID/name or example IDs, with filter, metadata, splits, and optional asof version.
List experiment projects (reference projects) for a dataset. Requires referencedatasetid or referencedatasetname. Returns key metrics (latency, cost, feedback stats).
List LangSmith projects with optional filtering by name, dataset, and detail level (simplified vs full).
Fetch prompts from LangSmith with optional filtering by visibility (public/private) and limit.
Session or thread id; stored in trace metadata as sessionid
Documentation-only: how to create and push prompts to LangSmith.
Read a single dataset by ID or name.
Read a single example by ID, with optional asof version.
Documentation-only: how to run experiments and evaluations in LangSmith.
Documentation-only: how to update dataset examples in LangSmith.
Fallback for request-scoped grouping
Fallback if mcp-session-id is not set