Github Search

Search GitHub code, repositories, issues, and PRs via MCP

thedixitjain a6822ca 1.2 KB Updated 2 repo stars

File contents

GitHub Search Skill

When to Use

  • Search code across repositories
  • Find issues or PRs
  • Look up repository information

Instructions

uv run python -m runtime.harness scripts/mcp/github_search.py \
    --type "code" \
    --query "your search query"

Parameters

  • --type: Search type - code, repos, issues, prs
  • --query: Search query (supports GitHub search syntax)
  • --owner: (optional) Filter by repo owner
  • --repo: (optional) Filter by repo name

Examples

# Search code
uv run python -m runtime.harness scripts/mcp/github_search.py \
    --type "code" \
    --query "authentication language:python"

# Search issues
uv run python -m runtime.harness scripts/mcp/github_search.py \
    --type "issues" \
    --query "bug label:critical" \
    --owner "anthropics"

MCP Server Required

Requires github server in mcp_config.json with GITHUB_PERSONAL_ACCESS_TOKEN.


Source: parcadei/Continuous-Claude-v3.claude/skills/github-search/SKILL.md

thedixitjain/the-mega-skill-library/tree/main/library/mcp-and-integrations/github-search commit a6822caf68

Frequently asked questions

npx skillmds add thedixitjain/github-search