Zread
Allows browsing, searching, and reading documentation and source files from GitHub repositories, and discovering trending or recommended GitHub projects.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Zread - AI Repository Reading Assistant
δΈζ | English
Zread helps you and your AI understand codebases faster. Skip the manual source dive and ask directly. It connects to Zread.ai, an AI-powered GitHub project documentation service.
Two roles:
π₯οΈ CLI tool - run directly in your terminal with minimal setup
π MCP server - integrate with AI assistants such as Claude and Cline
Highlights:
π Browse docs, search code, and discover repositories without a token
π€ AI Q&A powered by repository documentation
π Multiple transports: stdio, HTTP, and SSE
β‘ One command to run, zero-friction startup
Features
π Read docs - browse GitHub repository docs directly in the terminal
π Search docs - search keywords across repository documentation
π Discover repos - browse trending rankings and recommended projects
π₯ Export docs - export repository docs locally and generate
llms.txtandllms-full.txt(CLI only)π€ AI Q&A - ask the repository AI assistant questions (requires a free account token)
π Read source files - inspect source file contents directly
π MCP integration - connect seamlessly with AI assistants
Related MCP server: github-repos
Screenshots
Quick Start
CLI Tool
# Run with uvx
uvx zread
# Or with pipx
pipx run zreadMCP Server
# stdio mode
uvx zread mcp
# HTTP mode
uvx zread mcp httpAI Q&A
AI Q&A requires a free token from your Zread.ai account.
Set your token:
export ZREAD_TOKEN=your-tokenUsage:
# Interactive multi-turn chat
zread ai openclaw/openclaw
# Single question
zread ai facebook/react "How is this project structured?"CLI Commands
# Start the MCP server
zread mcp [stdio|http|sse] [address] [options]
# Show the documentation outline
zread ls <repo> [-l zh|en] [-j] [-p]
# Read a documentation page or a source file
zread cat <repo> [slug_or_path] [-l zh|en] [-j] [-p]
#
# Automatic argument detection:
# - If the first argument is only repo and the second is a slug/index (for example 1-overview, 1), it reads a zread doc page
# - Other forms (for example README.md, owner/repo/README.md#L1-10, github.com/owner/repo/README.md#L1-10) read a GitHub file
# Search
zread find <query> # Search GitHub repositories
zread find <repo> <query> # Search within a repository's docs
# Discover recommended repositories
zread rand [topic] [-l zh|en] [-j] [-p]
# Show trending repositories
zread top [weeks] [-l zh|en] [-j] [-p]
# Show repository status and metadata (silently submits unindexed repos and refreshes stale docs)
zread stat <repo> [-l zh|en] [-j] [-p]
# Ask the repository AI (requires a free account token)
zread ai <repo> [question] [-l zh|en] [-t token] [-p] [-j] [-m model]
# Export repository docs locally and generate llms.txt / llms-full.txt
zread cp <repo> [output_dir] [-l zh|en] [-c concurrency]Global Options
The CLI supports plain text and JSON output and works well in pipelines:
Option | Description |
| Language priority: |
| Output as JSON |
| Output plain text |
| ZREAD_TOKEN |
| Show help |
| Show version |
Examples
# MCP server
uvx zread mcp # stdio mode (default)
uvx zread mcp http # HTTP mode
uvx zread mcp http :8080 # Custom port
uvx zread mcp http 0.0.0.0:3000/custom # Custom address and path
# Docs
uvx zread ls golang/go
uvx zread cat vuejs/vue
uvx zread cat vuejs/vue 1
uvx zread cat vuejs/vue 1-overview
uvx zread cat golang/go README.md
uvx zread cat python/cpython Lib/http/client.py
uvx zread cat github.com/facebook/react/README.md#L1-10
uvx zread cat facebook/react/README.md#L1-10
uvx zread cat facebook/react README.md 5 10
uvx zread cat facebook/react README.md 5-10
uvx zread cat facebook/react README.md 5~
uvx zread cat facebook/react/README.md 5:
uvx zread find facebook/react hooks
# Discovery
uvx zread top
uvx zread top 4
uvx zread rand python
uvx zread rand awesome-list
# Repository info
uvx zread stat torvalds/linux
# AI Q&A
uvx zread ai golang/go "How do I choose between channels and mutexes?" -t your-token
uvx zread ai python/cpython --model claude-sonnet-4.6 -t your-token
uvx zread ai rust-lang/rust
# Export docs
uvx zread cp golang/go
uvx zread cp python/cpython -l zh
uvx zread cp vuejs/vue -c 20MCP Client Configuration
Add the following configuration to any MCP-compatible client:
{
"mcpServers": {
"zread": {
"command": "uvx",
"args": ["--env", "ZREAD_TOKEN=your-token", "zread", "mcp"]
}
}
}MCP Tools
Tool | Description |
| Get the content of a specific documentation page |
| Search keywords in repository documentation |
| Get the repository documentation outline |
| Discover a recommended repository at random |
| Get trending repository rankings |
| Get repository information and indexing status |
| Read source code file contents |
| Ask the repository AI a question (token required), supports |
Get a Token
AI Q&A requires a free JWT token from your Zread.ai account:
Visit https://zread.ai and sign in
Press F12 to open the browser console
Run:
prompt( "copy token", JSON.parse(localStorage.getItem("CGX_AUTH_STORAGE")).state.token, );Copy the token from the popup dialog
Environment Variables
Variable | Description |
| Free JWT token from your zread.ai account, only required for AI Q&A |
| Default language ( |
| Default AI model ( |
Configuration File
You can also configure zread using a config file. The priority is: CLI arguments > Environment variables > Config file.
Config file locations:
macOS:
~/.config/zread/zread.tomlLinux:
$XDG_CONFIG_HOME/zread/zread.toml(if set) or~/.config/zread/zread.tomlWindows:
%APPDATA%\zread\zread.toml
Config file format (TOML):
[zread]
token = "your-token-here"
lang = "zh" # optional, defaults to "zh"
model = "glm-5.1" # optional, defaults to "glm-5.1", also supports "claude-sonnet-4.6"Contributing
Contributions are welcome. See CONTRIBUTING.md for details.
License
MIT License. See LICENSE for details.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
GitHub Copilot MCP: code, repo, PR, workflow tools for AI assistants.
Access the GitHub API, enabling file operations, repository management, search functionality, andβ¦
Ask any GitHub repository a question. Get source-backed answers.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI-powered GitHub interactions including repository analysis, code search, PR reviews, and more through the MCP protocol.4MIT
- FlicenseNot gradedqualityDmaintenanceEnables read-only browsing and querying of GitHub repositories, including listing repos, reading files, fetching READMEs, searching code, and viewing commit history via MCP.-
- FlicenseNot gradedqualityAmaintenanceEnables MCP clients to extract and inspect GitHub repository information, including repository summaries, directory structure, and file contents.-
- FlicenseNot gradedqualityAmaintenanceEnables MCP clients to extract GitHub repository information, including repository summaries, project directory structure, and file content.-