MCPVault

get_billing_usage

MCP tool from Langsmith MCP Server by langchain-ai

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-server
FULL LANGSMITH MCP SERVER LISTING

Other tools in Langsmith MCP Server (17)

create_dataset

Documentation-only: how to create datasets in LangSmith.

fetch_runs

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_prompt_by_name

Get a specific prompt by its exact name, returning the prompt details and template.

get_thread_history

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.

list_datasets

Fetch datasets with filtering by ID, type, name, name substring, or metadata.

list_examples

Fetch examples from a dataset by dataset ID/name or example IDs, with filter, metadata, splits, and optional asof version.

list_experiments

List experiment projects (reference projects) for a dataset. Requires referencedatasetid or referencedatasetname. Returns key metrics (latency, cost, feedback stats).

list_projects

List LangSmith projects with optional filtering by name, dataset, and detail level (simplified vs full).

list_prompts

Fetch prompts from LangSmith with optional filtering by visibility (public/private) and limit.

mcp-session-id

Session or thread id; stored in trace metadata as sessionid

push_prompt

Documentation-only: how to create and push prompts to LangSmith.

read_dataset

Read a single dataset by ID or name.

read_example

Read a single example by ID, with optional asof version.

run_experiment

Documentation-only: how to run experiments and evaluations in LangSmith.

update_examples

Documentation-only: how to update dataset examples in LangSmith.

x-request-id

Fallback for request-scoped grouping

x-session-id

Fallback if mcp-session-id is not set