search_docs
Search documentation inside a GitHub repository zip: downloads the repo, indexes markdown files, and returns the most relevant matching documents.
Instructions
Search documentation from a GitHub repository zip file.
This tool downloads documentation from a GitHub repository (as a zip), indexes the markdown files, and returns the most relevant documents matching the query. The index is cached for subsequent searches.
Args: query: The search query string. zip_url: URL to the GitHub zip file (default: FastMCP docs). Format: https://github.com/{owner}/{repo}/archive/refs/heads/{branch}.zip num_results: Maximum number of results to return (default: 5).
Returns: A list of matching documents with filename and content preview.
Examples: # Search FastMCP docs (default) search_docs("demo")
# Search minsearch docs
search_docs("index", zip_url="https://github.com/alexeygrigorev/minsearch/archive/refs/heads/main.zip")Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| zip_url | No | https://github.com/jlowin/fastmcp/archive/refs/heads/main.zip | |
| num_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |