Bots by company
Mastodon bots and crawlers
Mastodon is open source software for decentralized social networks.
Mastodon bots at a glance
- Mastodon runs 1 bot listed in this directory.
- They belong to: Social and Messaging Previews.
- Each Mastodon bot has its own robots.txt token, so each purpose can be allowed or blocked separately.
- Website: joinmastodon.org
Every Mastodon bot
| Bot | Group | Purpose | robots.txt | For GEO |
|---|---|---|---|---|
| Mastodon | Social and Messaging Previews | Link previewReported | Not documented | Allow |
Block or allow all Mastodon bots
The rules below name every Mastodon token in this directory. To block training but keep AI search, delete the search and assistant tokens from the block rule.
robots.txt: block
# Block all Mastodon bots
User-agent: Mastodon
Disallow: /robots.txt: allow
# Allow all Mastodon bots
User-agent: Mastodon
Allow: /robots.txt: partial
# Keep all Mastodon bots out of private areas only
User-agent: Mastodon
Disallow: /wp-admin/
Disallow: /cart/
Disallow: /checkout/
Disallow: /my-account/
Allow: /Nginx
# Nginx: return 403 to all Mastodon bots
if ($http_user_agent ~* "(Mastodon)") {
return 403;
}Apache
# Apache .htaccess: return 403 to all Mastodon bots
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} (Mastodon) [NC]
RewriteRule .* - [F,L]Cloudflare WAF
# Cloudflare > Security > WAF > Custom rule, action: Block
(http.user_agent contains "Mastodon")See which of these bots actually reach your website
The AI Log File Analyzer by Justin Hà counts visits from GPTBot, ClaudeBot, PerplexityBot and other AI crawlers in your server log, for free. The GEO Technical Package sets up robots.txt, llms.txt and crawler access for AI search.