Verified OfficialVendor MaintainedHosted on smith.langchain.com
LangSmith logo

LangSmith Official MCP Server

Install Now

LangSmith MCP Server: fetch conversation history, prompts, runs and traces, datasets, experiments, and billing usage from LangSmith. Tools: get_thread_history, list_prompts, get_prompt_by_name, fetch_runs, list_projects, list_datasets, list_examples, read_dataset, read_example, list_experiments, get_billing_usage. Auth: LANGSMITH-API-KEY header. Hosted on Render; also runnable via Docker or stdio.

What is LangSmith?

LangSmith langsmith mcp server: fetch conversation history, prompts, runs and traces, datasets, experiments, and billing usage from langsmith. powerful tools: get_thread_history, list_prompts, get_prompt_by_name, fetch_runs, list_projects, list_datasets, list_examples, read_dataset, read_example, list_experiments, get_billing_usage. auth: langsmith-api-key header. hosted on render; also runnable via docker or stdio.. The official LangSmith MCP server provides AI agents with standardized access to LangSmith's services, enabling powerful automation and integration capabilities that enhance developer productivity and streamline workflows.

This official MCP server is maintained and verified by LangSmith, ensuring reliability, security, and up-to-date functionality. Unlike community-maintained servers, this official integration provides long-term support, comprehensive documentation, and direct vendor assistance. The server is hosted on smith.langchain.com, guaranteeing secure and reliable access to LangSmith's services.

Whether you're building AI-powered applications, automating workflows, or enhancing your development tools, the LangSmith MCP server provides a standardized way to connect AI agents with LangSmith's extensive platform capabilities. This integration enables natural language interactions with LangSmith, making it easier than ever to leverage LangSmith's features through AI assistants like Claude, ChatGPT, and Cursor.

Installation Instructions

Installation Instructions
Add LangSmith to your MCP-compatible client
https://langsmith-mcp-server.onrender.com/mcp
Cursor logoCursor Instructions
1

Go to Settings → Cursor Settings

2

Click "Add new global MCP Server"

3

Paste the MCP configuration into mcp.json and restart

Install with Cursor

Or manually add to your mcp.json:

{ "mcpServers": { "langsmith": { "url": "https://langsmith-mcp-server.onrender.com/mcp" } } }

LangSmith MCP Server Capabilities

The official LangSmith MCP server enables AI agents to:

  • Query and analyze user behavior and product metrics
  • Generate reports and insights from analytics data
  • Track events and user interactions
  • Create custom dashboards and visualizations
  • Automate data analysis and reporting workflows
  • Access LangSmith's REST APIs and endpoints programmatically

These capabilities make it easy for AI agents to work with LangSmith as part of a larger automation strategy, enabling seamless integration between AI assistants and your existing tools.

Available Tools

The LangSmith MCP server provides 11 tools for AI agents to interact with the platform. Use the search below to find specific tools.

Tool NameDescription
fetch_runsFetch LangSmith runs (traces, tools, chains) from one or more projects. Supports filters, FQL, ordering. Char-based pagination when trace_id is set.
get_billing_usageFetch organization billing usage (e.g. trace counts) for a date range. Optional workspace filter.
get_prompt_by_nameGet a specific prompt by exact name, returning prompt details and template.
get_thread_historyRetrieve message history for a conversation thread. Uses char-based pagination (page_number, total_pages). Optional max_chars_per_page and preview_chars.
list_datasetsFetch datasets with filtering by ID, type, name, name substring, or metadata.
list_examplesFetch examples from a dataset by dataset ID/name or example IDs, with filter, metadata, splits, optional as_of version.
list_experimentsList experiment projects (reference projects) for a dataset. Requires reference_dataset_id or reference_dataset_name. Returns latency, cost, feedback metrics.
list_projectsList LangSmith projects with optional filtering by name, dataset, and detail level.
list_promptsFetch prompts from LangSmith with optional filtering by visibility (public/private) and limit.
read_datasetRead a single dataset by ID or name.
read_exampleRead a single example by ID, with optional as_of version.

Last updated: March 13, 2026 at 12:00 PM

Common Use Cases

Automated Workflow Management

AI agents can use the LangSmith MCP server to automate repetitive tasks and manage workflows within LangSmith's platform.

Data Retrieval and Analysis

The MCP server allows AI agents to query and retrieve data from LangSmith, enabling intelligent data analysis and insights.

Integration with Development Tools

Developers can integrate LangSmith capabilities directly into their AI coding assistants for seamless workflows.

Frequently Asked Questions

How do I get a LangSmith API key?

Visit https://smith.langchain.com, create an account, and generate an API key from your dashboard. Most tools offer a free tier to get started, making it easy to begin using the LangSmith MCP server.

Is this the official LangSmith MCP server?

Yes, this MCP server is officially provided and maintained by LangSmith. The endpoint https://langsmith-mcp-server.onrender.com/mcp is hosted on their official domain smith.langchain.com, ensuring reliability and security.

What permissions does LangSmith MCP need?

The LangSmith MCP server requires appropriate API credentials and permissions based on the operations you want to perform. Check the documentation for specific permission requirements.

Can I use LangSmith MCP with multiple clients?

Yes, you can configure the same MCP server across Cursor, Claude Desktop, Cline, and other MCP-compatible clients simultaneously. Each client maintains its own configuration.

Is LangSmith MCP server free?

The MCP server itself is free to use, but you may need a LangSmith account and API access, which may have its own pricing tiers. Check https://smith.langchain.com for current pricing information.

What can LangSmith MCP server do?

The LangSmith MCP server enables AI agents to analyze data and generate insights. LangSmith MCP Server: fetch conversation history, prompts, runs and traces, datasets, experiments, and billing usage from LangSmith. Tools: get_thread_history, list_prompts, get_prompt_by_name, fetch_runs, list_projects, list_datasets, list_examples, read_dataset, read_example, list_experiments, get_billing_usage. Auth: LANGSMITH-API-KEY header. Hosted on Render; also runnable via Docker or stdio. This allows you to interact with LangSmith's platform through natural language commands in your AI assistant.

Troubleshooting

Connection Failed

Ensure your API key is correctly configured and your network allows outbound connections to smith.langchain.com. Verify that the MCP endpoint URL https://langsmith-mcp-server.onrender.com/mcp is accessible from your network.

Authentication Error

Verify your API key is valid and has not expired. Generate a new key from https://smith.langchain.com if needed. Make sure you're using the correct authentication method as specified in the documentation.

Server Not Responding

Check LangSmith's status page for any ongoing incidents. Try restarting your MCP client and verify that the server endpoint is correct. If issues persist, consult the official documentation or support channels.

Related MCP Servers

Explore other official MCP servers that work well with LangSmith:

Airwallex Developer MCP server enables coding agents to search Airwallex documentation and interact with the sandbox. Tools: search_public_docs, read_integration_best_practices; sandbox tools (list_global_accounts, create_transfer, create_payment_link, etc.); billing tools on local deployment.
Remote MCP server that gives LLMs access to run network commands with Globalping
MCP server for Statsig API - interact with Statsig's feature flags, experiments, and analytics

About Model Context Protocol

The Model Context Protocol (MCP) is an open standard that enables AI models to securely connect to external APIs, tools, and data sources. This official MCP server from LangSmith provides standardized access to their services, allowing AI agents to interact with LangSmith's platform seamlessly.

To manage all your MCP servers in one place, use Apigene's MCP Gateway, which provides centralized management, security, and governance for all your MCP server connections.

Learn more about MCP in our complete guide or browse our FAQ for common questions.

Server Information

Domain

smith.langchain.com

MCP Endpoint

https://langsmith-mcp-server.onrender.com/mcp