Supercharge your agents
Connect AI agents and applications to your Sourcegraph’s code intelligence. Works with Claude Code, Cursor, Amp, and more.
Trusted by world-class engineering teams
Give your agents the most precise search. Find the matches they need across every codebase, filtered by file paths, languages, or custom patterns.
Search your codebase. Keyword search, semantic/natural language search across all repos.
Search history & changes. Search commits, diffs, compare revisions, find contributor activity
Read files & explore repos. Read file contents, list directories, browse repositories
Deep Search. Access and read Deep Search conversations for complex questions.
Compatible with any MCP aware agent:

And more
How to integrate with Claude Code
Learn how to integrate Sourcegraph's MCP server with Claude Code for whole codebase access
How to integrate with Cursor
Learn how to integrate Sourcegraph MCP server with Cursor for powerful code search capabilities.
“(Stripe's) Minions are connected to MCP...this is how they gather context like internal documentation, ticket details, build statuses, code intelligence via Sourcegraph search...”
Enable Sourcegraph MCP
Check our docs to understand everything needed to get up and running with Sourcegraph's MCP.
