Back to search
C
69.4 /100

sourcegraph-mcp-server

Author madhukarkumar
Scanned 3d ago

A Model Context Protocol (MCP) server that connects AI assistants to Sourcegraph code search with natural language capabilities

Versions

No versions found.

Trust breakdown

PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 22

echo
annotations: none low

Simple echo tool for testing that returns your message with

message string
search-commits
annotations: none low

Search for commits in Sourcegraph repositories with flexible filtering options.\n\n WHEN TO USE THIS TOOL:\n - When you need to find specific commits across repositories\n - When searching for code changes by a particular author\n - When looking for commits within a particular timeframe\n - When searching for specific commit messages or fixes\n\n PARAMETER USAGE:\n - author: The username of the commit author (e.g.,

after string author string message string
search-diffs
annotations: none low

Search for code changes (diffs) in Sourcegraph repositories with detailed filtering.\n\n WHEN TO USE THIS TOOL:\n - When looking for specific code changes or modifications\n - When you need to find added or removed code\n - When tracking changes by specific authors\n - When investigating changes made during a particular time period\n\n PARAMETER USAGE:\n - query: Terms to search for in the changed code (e.g.,

after string query string author string
search-github-repos
annotations: none low

Search for code, commits, or diffs specifically in GitHub repositories.\n\n WHEN TO USE THIS TOOL:\n - When you need to search within specific known GitHub repositories\n - When searching across multiple GitHub repos simultaneously\n - When you need targeted searches in open source projects\n - When you want to limit searches to verified repositories\n\n PARAMETER USAGE:\n - query: What to search for (e.g.,

query string repos string
natural-search
annotations: none low

Search code repositories using natural language queries instead of precise syntax.\n\n WHEN TO USE THIS TOOL:\n - When you want to search using plain English instead of specific query syntax\n - When you

query string max_results number
get-hover-documentation
annotations: none low

Get hover documentation and type information for a symbol.\n\n

line number path string character number repository string
get-document-symbols
annotations: none low

Get all symbols (functions, classes, variables, etc.) in a file.\n\n

path string repository string
get-file-content
annotations: none low

Get the raw content of a file from any repository.\n\n

path string revision string repository string
get-file-blame
annotations: none low

Get git blame information for a file.\n\n

path string endLine number startLine number repository string
lookup-cve
annotations: none low

Search for CVEs affecting repositories or packages.\n\n

cveId string package string repository string
lookup-package-vulnerability
annotations: none low

Check if specific packages have known vulnerabilities.\n\n

package string version string
search-exploits
annotations: none low

Search for exploit code for known vulnerabilities.\n\n

cveId string
find-vendor-advisory
annotations: none low

Find vendor security advisories.\n\n

vendor string product string
debug
annotations: none low

Lists all available tools and methods in the MCP server. Use this to discover capabilities.\n\n WHEN TO USE THIS TOOL:\n - When you need to see what tools are available in the server\n - When you want to check which methods are supported\n - When debugging or exploring the MCP server capabilities\n - When you

deep-code-researcher
annotations: none low

Conduct deep research on code patterns and architecture across repositories with advanced analysis capabilities.\n\n

repo string limit number query string language string
get-definition
annotations: none low

Find the definition of a symbol in code.\n\n

line number path string character number repository string
find-references
annotations: none low

Find all references to a symbol across repositories.\n\n

line number path string limit number character number repository string
find-implementations
annotations: none low

Find implementations of interfaces, classes, or methods across repositories.\n\n

line number path string limit number character number repository string
test-nl-search
annotations: none low

Test natural language search functionality with debugging information

query string
test-connection
annotations: none low

Test if the MCP server can connect to Sourcegraph API

nl-search-help
annotations: none low

Get help on using natural language search

natural-search-debug
annotations: none low

Search code repositories using natural language queries (debug version)

query string max_results number

Permissions 2

network Server uses network capabilities via: axios
medium
env_vars Server uses env_vars capabilities via: process.env
low

Scan Findings 0

No scan findings.