How to Use the LangSmith (LLM Observability & Hub) MCP in Claude Code
Inspect LLM traces and audit prompt templates directly from your terminal using Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect LangSmith (LLM Observability & Hub) MCP to Claude Code
Create your Vinkius account to connect LangSmith (LLM Observability & Hub) to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Query run telemetry from the command line
The `list_runs` tool isolates the raw interactions containing prompts sent to and responses received from the AI models directly inside your shell. Claude Code uses this MCP Server to pipe recent production traces into terminal outputs, letting you audit application behavior without a browser. It is the fastest way to check what your production models are actually outputting. To drill down, Claude Code calls `get_run` to get precise telemetry for a single LLM invocation run. This returns execution latency, token usage, and exact error messages directly to your terminal. You can easily script this to flag high-latency runs or trigger automated alerts in your CI/CD pipelines.
Manage prompts with Claude Code MCP Server
The `list_prompts` tool extracts prompt templates hosted in the LangChain Hub right into your terminal session. Our CLI agent uses this to quickly print, diff, or test active templates without leaving the command line. It keeps your terminal-centric workflow fast and distraction-free. It pairs this with `list_projects` to map out the boundaries of distinct AI pipelines currently monitored by LangSmith. This allows you to verify which project is receiving traces and ensure your CLI environment is configured correctly before running integration tests.
Track datasets and review queues from the CLI
The `list_datasets` tool lists all evaluation and fine-tuning datasets mapped in LangSmith for quick terminal inspection. Claude Code queries this list to find active evaluation sets, making it easy to reference test data when writing shell scripts. You can quickly see which datasets are available for your testing runs. For team workflows, the agent calls `list_annotation_queues` to list active human-in-the-loop annotation queues. This lets you monitor human review backlogs directly from your command line interface. It helps SREs and developers keep tabs on queue sizes without opening a heavy web application.
Set up LangSmith (LLM Observability & Hub) MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seelangsmith-llm-observability-hub-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest LangSmith (LLM Observability & Hub) transactions." It will automatically discover and invoke the available LangSmith (LLM Observability & Hub) tools.
claude mcp add --transport http langsmith-llm-observability-hub-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about LangSmith (LLM Observability & Hub) MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the LangSmith (LLM Observability & Hub) MCP today
We host it, we monitor it, we maintain it. You just paste one token.