# searchcode

> Use this tool when you need to analyze, search, and retrieve specific code snippets from public git repositories, solving problems such as finding examples of coding techniques or identifying open-source solutions to common development challenges. It takes repository URLs or keywords as input and returns relevant code snippets as output. This tool is ideal for use cases where code discovery, reuse, or learning from existing implementations is necessary.

Canonical page: https://skillsregistry.net/skills/com-searchcode-mcp  
JSON: https://api.skillsregistry.net/v1/skills/com-searchcode-mcp

## Description

Code intelligence for LLMs. Analyze, search, and retrieve code from any public git repository.

## Trust

- **Trust score (0–1):** 0.30
- **Verification tier:** unverified
- **Last scanned:** 2026-09-02

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** version-control
- **Updated:** 2026-09-02

## Source

- **Source listing:** [MCP Registry](https://registry.modelcontextprotocol.io/v0/servers/com.searchcode%2Fmcp)

## Use it

MCP endpoint published by the skill: `https://api.searchcode.com/v1/mcp`

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "com-searchcode-mcp"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/com-searchcode-mcp` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/com-searchcode-mcp/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
