Skip to main content
Glama

repomix-estimate

Estimate repository output size before retrieval to manage AI context limits. Use with file filters to preview token counts and plan efficient codebase processing.

Instructions

Estimate repomix output size before retrieval. ALWAYS use this first with the "include" parameter to filter only relevant files (e.g., ".md,.ts,.js" for TypeScript, ".md,*.py" for Python). If estimated tokens are reasonable (<50K), proceed with repomix using the same filters. This helps load the entire relevant context efficiently.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoPath to the directory to pack
styleNoOutput format style
compressNoCompress output to reduce token count
includeNoFiles to include (glob pattern). Examples: "*.md,*.ts,*.js" for TypeScript projects, "*.md,*.py" for Python, "*.md,*.go" for Go. Always specify to avoid large outputs!
ignoreNoFiles to exclude (glob pattern). Use to filter out test files, build outputs, etc. Example: "*test*,*spec*,dist/**,build/**"
remoteNoRemote repository URL to process

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Aeolun/repomix-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server