ctx
io.github.vanshulgoyal101/ctx
Turn a GitHub repo or docs site into agent-ready context: pack it or search it, over MCP.
This endpoint completed initialize and tools/list. No tool was called.
- Rank
- #1443
- Score
- 82
- Tool tokens
- 1,117
- Tools
- 6
Tools
Token cost is the o200k count of the tools list JSON, including schemas, before any tool is called.
pack_repo
Fetch a GitHub repository and return it as one agent-ready context blob: text files concatenated with clear "==== path ====" headers, binaries/lockfiles/build dirs stripped, with a token estimate. Use
search_context
Search a GitHub repository and return only the passages that match a query — each with its file path, line number and a relevance score. Far more token-efficient than pack_repo when you need a specifi
list_files
List the text files ctx would include for a repository (after stripping binaries, lockfiles and build dirs), with their byte sizes. Cheap way for an agent to see the layout before packing.
get_file
Return the full text of a single file in a repository, by path. Use after list_files or search_context to drill in.
pack_docs
Crawl a documentation site from a start URL and return it as one agent-ready context blob: each page extracted to clean Markdown, concatenated with its URL. Stays within the same site section; bounded
search_docs
Crawl a documentation site and return only the passages that match a query — each with its page URL, line and a relevance score. Token-efficient way to answer a question from docs without packing the
Nearby in GitHub
Up-to-date code docs for any prompt
MCP server for Financial Modeling Prep API with 250+ financial data tools
Official SerpApi MCP server for Google, Bing, and other search engines.
Comprehensive PostgreSQL documentation and best practices, including ecosystem tools