LangChain Support
Back to LangSmith Observability

How do I connect Claude Code/Cursor to LangSmith Cloud for trace investigation?

LangSmith Observability·1 min read·Jun 30, 2026··

Context

You want to connect Claude Computer (CC) or Cursor to LangSmith Cloud to directly investigate and analyze traces. This integration would allow you to use AI assistance for analyzing performance issues and optimizing queries or code based on trace data.

Answer

While LangSmith doesn't have a dedicated MCP (Model Context Protocol) server, you can use langsmith-trace skill from langsmith-skills to enable this integration.

To set this up:

  1. Access the langsmith-trace skill from the GitHub repository: https://github.com/langchain-ai/langsmith-skills

  2. Configure the tool to connect to your LangSmith Cloud instance

Once configured, you can use Claude to analyze slow traces, identify performance bottlenecks, and receive suggestions for optimizing queries or code. This setup is particularly effective when combined with other tools like Neo4j for comprehensive database query analysis and optimization.