Skip to content

New: deep research, balance and auto-reload tools in the keyless MCP server. Install in one line

Rank 10 in the Majestic Million · checked October 19, 2026

Does github.com block AI crawlers?

Yes, 1 of 17. As of October 19, 2026, github.com's robots.txt blocks Bytespider from the whole site. It keeps the other 16 out of parts of the site. 6 of them are named in a group of their own; the others follow its rules for every crawler.

It serves an llms.txt (28,658 bytes, starting with a Markdown title). Its homepage is 143,069 tokens of raw HTML, 173 as Markdown (0.1%) and 140 pruned for the question “What is github.com?”.

Each crawler, by its robots.txt rules

From https://github.com/robots.txt (14,489 bytes, 5 user-agent groups), parsed per RFC 9309. Blocked: no path allowed. Partly blocked: some paths disallowed. The rule counts are those of the groups that apply.

CrawlerOperatorVerdictRules that applyDisallow rulesAllow rules
GPTBotOpenAIPartly blockedIts own group1623
ChatGPT-UserOpenAIPartly blockedRules for all crawlers (*)1623
OAI-SearchBotOpenAIPartly blockedIts own group1623
ClaudeBotAnthropicPartly blockedIts own group1623
Claude-UserAnthropicPartly blockedRules for all crawlers (*)1623
Claude-SearchBotAnthropicPartly blockedRules for all crawlers (*)1623
anthropic-aiAnthropicPartly blockedIts own group1623
PerplexityBotPerplexityPartly blockedIts own group1623
Perplexity-UserPerplexityPartly blockedRules for all crawlers (*)1623
Google-ExtendedGooglePartly blockedRules for all crawlers (*)1623
Applebot-ExtendedApplePartly blockedRules for all crawlers (*)1623
CCBotCommon CrawlPartly blockedRules for all crawlers (*)1623
BytespiderByteDanceBlockedIts own group10
AmazonbotAmazonPartly blockedRules for all crawlers (*)1623
meta-externalagentMetaPartly blockedRules for all crawlers (*)1623
cohere-aiCoherePartly blockedRules for all crawlers (*)1623
DiffbotDiffbotPartly blockedRules for all crawlers (*)1623
ContextFetchBot (us)ContextFetchPartly blockedRules for all crawlers (*)1623
Checked October 19, 2026 by ContextFetchBot. Google-Extended and Applebot-Extended are robots.txt tokens that control use of content for AI, not separate crawlers.

Its homepage in tokens

https://github.com/, fetched once and converted locally with the ContextFetch engine. Tokens are characters divided by four, rounded up, the count the API reports in its X-Raw-Tokens and X-Output-Tokens headers.

Tokens of the github.com homepage as raw HTML, Markdown and pruned context, October 19, 2026
GroupRaw HTMLMarkdownPruned
Tokens143,069173140

Read github.com through ContextFetch

GET /r/ returns a page as Markdown, with X-Raw-Tokens and X-Output-Tokens headers. Add ?q= and a question to get only the passages that answer it. No key needed for 25 requests a day; a free key has 2,500 credits. github.com's robots.txt partly blocks ContextFetchBot: our index and crawls skip what it disallows, and a page you ask for is fetched once on your behalf (see the bot page).

curl -si "https://api.contextfetch.dev/r/https://github.com/"

How ContextFetchBot behaves · All sites and the method · Raw data

Give your agent the web

Your free key comes with 2,500 credits, no signup. One credit reads one page.