English | 中文
A lightweight, SEO-friendly tool (English at /, plus zh, ru, fa, es, ar, my under path prefixes) that scans your
browser environment and tells you whether Claude Code would flag you as a China
user. One click runs an animated scan of each signal, the gauge climbs as risk adds
up, and you get a verdict plus the list of matched signals. Everything runs 100%
locally — no network requests, no data upload.
Built with Claude Fable 5.
When Claude Code is pointed at a non-official endpoint via ANTHROPIC_BASE_URL, it
was reported to read the system timezone and the proxy hostname, then encode
the result steganographically into the Today's date is … line of the system prompt
(date separator - → / on a China timezone; the apostrophe swapped among four
near-identical Unicode variants to encode domain-list / AI-lab-keyword hits).
A web page can only read browser-visible signals. Crucially, Intl reads the same
OS timezone Claude Code does, so timezone is the one signal that maps directly onto
Claude's real check. The other signals are general "Chinese environment" fingerprints.
| 🏆 Sponsors 🏆 | Introduction |
|---|---|
![]() |
APIMart.AI — GPT-Image-2 from $0.006 per image Thanks to APIMart for sponsoring this project! A low-cost API platform focused on AI image and video generation, stable and fast. GPT-Image-2 starts at $0.006 per image, so $1 generates 160+ images. Try now. |
| CDND · CODE NEVER DIE Thanks to CDND for sponsoring this project! 100% official pass-through Claude Code gateway — full power, zero injection, domestic direct access, unlimited concurrency, ~28% of list price. Try now. |
|
![]() |
AdsPower — Several accounts in one browser? Thanks to AdsPower for sponsoring this project! AdsPower gives each account its own browser profile, with cookies, fingerprint settings and proxy kept separate. Use for free. |
![]() |
Claude妈妈 — A complete Claude setup for users in China Thanks to Claude妈妈 for sponsoring this project! Dedicated Claude accounts, 1:1 remote anti-ban setup on your computer in China, or a dedicated physical Mac mini in Vietnam with 24/7 hosting. Every plan includes Keep Claude, their anti-ban checker, at no extra charge. New customers use code VPG6 for a first-order discount: ¥20 off Pro, ¥50 off Max 5x, or ¥100 off Ultra. Try now. |
| Signal | Weight | How it's detected |
|---|---|---|
| System timezone | 24 | Intl.DateTimeFormat().resolvedOptions().timeZone vs. Asia/Shanghai, Asia/Urumqi, … (used by Claude) |
| Browser language | 18 | navigator.language(s); zh-CN / zh-Hans scores highest |
| Installed Chinese fonts | 14 | Canvas width-probing for SC/TC fonts (Microsoft YaHei, PingFang SC, …) |
| Chinese vendor fonts | 10 | Canvas probing for vendor/software faces (MiSans, HarmonyOS Sans, OPPO Sans, WPS Founder FZ*, …) — any hit is a strong tell |
| WebRTC IP leak | 10 | RTCPeerConnection ICE candidates via STUN — local / real public IP leaks |
| Chinese browser / WebView | 8 | UA + UA-CH brands vs. WeChat, QQ, Quark, UC, Baidu, 360, Sogou, Douyin … |
| Chinese-brand device | 6 | UA-CH high-entropy model (navigator.userAgentData) + UA vs. HarmonyOS, Huawei, Xiaomi, OPPO, vivo, … |
| Intl locale | 4 | Intl resolved locale (date/number formatting) |
| Timezone offset | 3 | getTimezoneOffset() === -480 (UTC+8) |
| Emoji rendering style | 3 | OS-vendor guess from platform/UA; weakly correlated |
Each signal returns a 0–1 "China-like" score, multiplied by its weight; the ten
weights sum to 100, so the total score is the sum of contributions. Bands: Low
0–30, Medium 31–60, High 61–100. A signal counts as a "hit" when its score
≥ 0.25.
Claude Cage is an independent community virtual-machine desktop workbench. It provides network, time zone, and isolation checks. This is not an official endorsement, and it does not guarantee that an account stays unrestricted.
Bilingual knowledge base at /guides/
(English) and /zh/guides/ (中文):
Claude Code steganography, environment cleanup, registration & payment, API
safety, appeal SOP, and domestic / open-source failover.
- One-click share — after a scan, share your verdict together with an auto-generated result image via the native share sheet (Web Share API, so mobile clients get their real app list), or straight to X, Weibo, Telegram, Facebook, LinkedIn or Reddit, plus copy-to-clipboard. A Save result image button also appears next to Scan again.
- curl / HTTP endpoint — the site is static, but a tiny Vercel Function at
/api/checkreturns a server-side estimate for terminals and scripts. It scores what the request exposes — the Vercel geo timezone (x-vercel-ip-timezone), country, theAccept-Languageheader and the User-Agent (emoji vendor + Chinese browser + Chinese device brand) — over the measurable 62/100 of the weight (Chinese fonts, vendor fonts, Intl locale and WebRTC leaks are browser-only) and normalises it to 0–100, reusing the exact same scorers as the browser scan. The response language follows yourAccept-Languageheader automatically.
# Text report — replies in the language of your Accept-Language header
curl https://fuck-claude.vercel.app/api/check
# Force a language via the request header
curl -H "Accept-Language: zh" https://fuck-claude.vercel.app/api/check
# JSON
curl "https://fuck-claude.vercel.app/api/check?format=json"The API is an IP/header estimate and differs from the in-browser OS scan; the geo headers only exist on the Vercel deployment.
GET /api/ip (send Accept: application/json) is a separate purity score for
the visitor’s own egress IP. Reputation comes from proxycheck.io and AbuseIPDB.
ipwho.is is only the geo/ASN/org fallback. It ignores ?ip=. Server keys:
PROXYCHECK_API_KEY, ABUSEIPDB_API_KEY (see .env.example). This score is
never merged into the China-user score. Missing keys do not produce a high score.
- Astro
7.x, static output (output: 'static') @astrojs/verceladapter so the on-demand routes/api/checkand/api/iprun as Vercel Functions (every page still prerenders to static HTML)- Built-in i18n: English at
/, Chinese at/zh/, plus@astrojs/sitemap - No UI framework; the scan/scoring logic is a single bundled TypeScript module
- Package manager: pnpm
src/
├── config/signals.ts # signal definitions, weights, detectors, icons
├── config/guides.ts # guide metadata: slug, category, summary, dates, related guides, official sources
├── config/official-rules.ts # Anthropic rules shown on the guides hub, each linked to its source
├── config/sponsors.ts # sponsor list (logo, link, EN/ZH taglines)
├── config/cn-models.ts # domestic-model picks (DeepSeek / GLM / Kimi name-only links)
├── config/socials.ts # header social profiles (Xiaohongshu / Douyin / X) + QR payloads
├── content/guidesData.ts # registers the bilingual article bodies in content/guides/
├── utils/guide-html.ts # table of contents, table wrappers, reading time
├── i18n/ui.ts # EN/ZH copy dictionary + translator
├── scripts/detect.ts # animated scan + scoring + verdict + share wiring (client)
├── scripts/track.ts # GA click tracking for outbound promo links
├── layouts/BaseLayout.astro # <head> SEO + GA + global styles
├── components/ # Detector (+ share buttons), Sponsors, CnModels, ScoreRing, Mascot, LangToggle, SocialLinks (QR popovers), Footer
└── pages/ # index.astro (en) + zh/index.astro + guides/ + zh/guides/ + api/check.ts + api/ip.ts
public/mascot/ # cartoon CEO state images (doze / search / low / medium / high)
public/sponsors/ # sponsor logos
scripts/
└── gen-assets.mjs # regenerates favicon / PWA icons / og.png (node scripts/gen-assets.mjs)
skills/
└── detection-signals/SKILL.md # agent playbook for adding/tuning detection signals
pnpm install
pnpm dev # http://localhost:4321
pnpm build # -> dist/
pnpm previewOptimised for Vercel (@astrojs/vercel): every page prerenders to static
HTML and only /api/check and /api/ip run as Vercel Functions. /api/check
reads the request's geo headers; /api/ip scores the visitor's egress IP.
It also works on any static host (Cloudflare Pages, Netlify,
GitHub Pages) — the site is fully functional there, only those API
endpoints are Vercel-specific. Before deploying, set your real origin in
astro.config.mjs (site) and
public/robots.txt so canonical URLs, hreflang links and the
sitemap point to the correct domain.
For reference only, based on public reverse-engineering reports of Claude Code's former proxy-fingerprinting behaviour. Not an official statement or advice.
Released under the MIT License, © LinXiaoTao.
You are free to use, modify and redistribute this project, but any copy or
substantial portion must keep the original copyright and license notice (i.e.
credit the original project LinXiaoTao/FuckClaude).
If you redeploy it, please keep the footer credit / repo link so visitors can
find the original project.
English | 中文
一个轻量、SEO 友好、中英双语的单页工具:扫描你的浏览器环境,判断你是否会被 Claude Code 标记为中国用户。点击后会有逐项检测的扫描动效,分数环随风险累加而增长, 最后给出结论与命中的信号列表。所有检测都在本地浏览器完成——不发起任何网络请求, 不上传任何数据。
本网站使用 Claude Fable 5 开发。
当 Claude Code 通过 ANTHROPIC_BASE_URL 指向非官方中转时,据公开逆向分析它会读取
系统时区与中转 hostname,再把结果用隐写术编码进 system prompt 的
Today's date is … 这一行(命中中国时区时日期分隔符 - 变 /;撇号在 4 种视觉几乎
相同的 Unicode 变体间切换,编码是否命中域名清单 / AI 实验室关键词)。
网页只能读取浏览器可见信号。关键在于:Intl 读到的时区与 Claude Code 读的是同一个
操作系统时区,因此时区是唯一能直接对应 Claude 真实判定的信号;其余信号属于更广义的
「中文环境指纹」。
| 🏆 赞助商 🏆 | 介绍 |
|---|---|
![]() |
APIMart.AI — GPT-Image-2 低至 $0.006/张 感谢 APIMart 赞助本项目!专注 AI 图片/视频生成的低价 API 平台,长期稳定、响应快。GPT-Image-2 低至 $0.006/张,1 美元可出图 160+ 张。欢迎立即体验。 |
| CDND · CODE NEVER DIE 感谢 CDND 赞助本项目!100% 官方透传 Claude Code 中转,全功能、零注入、国内直连、无限并发,约官方价格 28%。立即体验。 |
|
![]() |
AdsPower — 多个账号共用一个浏览器? 感谢 AdsPower 赞助本项目!AdsPower 为每个账号提供独立的浏览器配置文件,Cookie、指纹参数与代理互相隔离。免费使用。 |
![]() |
Claude妈妈 — 最懂国内用户的全套 Claude 解决方案 感谢 Claude妈妈 赞助本项目!支持单 Claude 号、国内 1v1 远程防封部署、越南独享物理 Mac mini 24h 托管;任意服务随单免费赠送 Keep Claude 防封检测。新客使用优惠码 VPG6,首单立减:Pro ¥20 / Max 5x ¥50 / Ultra ¥100。欢迎立即体验。 |
英文 / 与中文 /zh/ 使用 cn 档案(下表,十项合计 100,与改造前一致)。/ru/、/fa/、/es/、/ar/、/my/ 各用 src/config/regions.ts 中的区域档案:仅 weight>0 的信号出现在扫描列表与 JSON-LD 中,时区 / 语言 / 字体 / 浏览器等列表随国家变化。signalsFor(regionId) 与 npm run signals:check 负责校验。
| 信号 | 权重 | 检测方式 |
|---|---|---|
| 系统时区 | 24 | Intl.DateTimeFormat().resolvedOptions().timeZone 对比 Asia/Shanghai、Asia/Urumqi 等(Claude 实际使用) |
| 浏览器语言 | 18 | navigator.language(s);zh-CN / zh-Hans 得分最高 |
| 已安装中文字体 | 14 | canvas 宽度探测简/繁体中文字体(微软雅黑、PingFang SC 等) |
| 国产厂商字体 | 10 | canvas 探测厂商 / 软件字体(MiSans、鸿蒙黑体、OPPO Sans、WPS 方正 FZ* 等),命中即强信号 |
| WebRTC IP 泄露 | 10 | RTCPeerConnection 经 STUN 收集 ICE 候选,探测本机 / 真实公网 IP 泄露 |
| 国产浏览器 / WebView | 8 | UA + UA-CH brands 匹配微信、QQ、夸克、UC、百度、360、搜狗、抖音等 |
| 国产品牌设备 | 6 | UA-CH 高熵 model(navigator.userAgentData)+ UA 匹配鸿蒙、华为、小米、OPPO、vivo 等 |
| Intl 区域设置 | 4 | Intl 解析出的 locale(日期 / 数字格式) |
| 时区偏移 | 3 | getTimezoneOffset() === -480(UTC+8) |
| Emoji 渲染风格 | 3 | 由平台 / UA 推断 OS 厂商,弱相关 |
每个信号输出 0–1 的「中国相似度」,乘以权重;十项权重合计为 100,所以总分即各项
贡献之和。分档:低 0–30、中 31–60、高 61–100。信号得分 ≥ 0.25 记为「命中」。
台湾不在 Anthropic 的封禁名单内,因此
Asia/Taipei时区与zh-TW语言 / locale 不计分;繁体中文字体只保留极低的模糊分(无法区分台湾与港澳)。香港、澳门 属于受限地区,相关信号保留部分风险分。
Claude Cage:独立社区的虚拟机桌面工作台,提供网络、时区与隔离检查。不代表官方背书,也不保证账号不受限制。
中英双语资料库:/guides/(英文)与
/zh/guides/(中文),覆盖 Claude Code
隐写原理、环境纯化、注册支付避坑、API 安全、申诉 SOP 与国产 / 开源灾备。
- 一键分享 —— 检测完成后,可连同自动生成的结果图片一起,通过系统原生分享面板 (Web Share API,移动端会弹出真实的应用列表)分享结论,或直达 X、微博、Telegram、 Facebook、LinkedIn、Reddit,以及复制链接。「重新扫描」按钮旁还会出现 保存结果图片。
- curl / HTTP 接口 —— 网站是静态的,但
/api/check是一个极小的 Vercel Function, 为终端与脚本返回服务端估算。它基于请求可见的信息评分 —— Vercel 归属地时区 (x-vercel-ip-timezone)、国家、Accept-Language头与 User-Agent(emoji 厂商 + 国产浏览器 + 国产品牌设备)—— 在该区域服务端可测的权重之和上(字体、Intl locale、 WebRTC 等仅浏览器可测)归一化到 0–100,复用与浏览器扫描完全一致的score*ForRegion评分器。 响应语言会自动跟随你的Accept-Language请求头。
# 纯文本报告 —— 语言自动跟随 Accept-Language 请求头
curl https://fuck-claude.vercel.app/api/check
# 通过请求头指定语言
curl -H "Accept-Language: zh" https://fuck-claude.vercel.app/api/check
# JSON
curl "https://fuck-claude.vercel.app/api/check?format=json"该接口是基于 IP / 请求头的估算,与浏览器端读取操作系统的检测结果不同;geo 头仅在 Vercel 部署上存在。
GET /api/ip(请求头带 Accept: application/json)是另一项纯净度分数,只评估访客自己的出口 IP。信誉来自 proxycheck.io 与 AbuseIPDB,ipwho.is 只做地理 / ASN / 组织回退。它忽略 ?ip=。服务端密钥为 PROXYCHECK_API_KEY、ABUSEIPDB_API_KEY(见 .env.example)。该分数不会并入中国用户分。缺少密钥时不会给出高分。
- Astro
7.x,静态输出(output: 'static') @astrojs/vercel适配器,让按需路由/api/check与/api/ip作为 Vercel Function 运行(其余页面仍全部 预渲染为静态 HTML)- 内置 i18n:英文在
/,中文在/zh/,并使用@astrojs/sitemap - 不依赖任何 UI 框架;扫描 / 打分逻辑是单个打包的 TypeScript 模块
- 包管理器:pnpm
src/
├── config/regions.ts # 区域档案 (时区/语言/字体/权重)
├── config/signals.ts # signalsFor、纯评分函数、检测器
├── config/guides.ts # 指南元数据:slug、分类、摘要、日期、相关指南、官方来源
├── config/official-rules.ts # 指南首页展示的 Anthropic 官方规则,每条附来源链接
├── config/sponsors.ts # 赞助商列表(logo、链接、中英文案)
├── config/cn-models.ts # 国产模型推荐(DeepSeek / GLM / Kimi 纯文字链接)
├── config/socials.ts # 头部社交主页(小红书 / 抖音 / X)+ 二维码内容
├── content/guidesData.ts # 注册 content/guides/ 下的双语正文
├── utils/guide-html.ts # 目录、表格容器、阅读时长
├── i18n/ui.ts # 中英文案字典 + 取值 helper
├── scripts/detect.ts # 扫描动效 + 打分 + 结论 + 分享逻辑(客户端)
├── scripts/track.ts # 出站推广链接的 GA 点击埋点
├── layouts/BaseLayout.astro # <head> SEO + GA + 全局样式
├── components/ # Detector(含分享按钮)、Sponsors、CnModels、ScoreRing、Mascot、LangToggle、SocialLinks(二维码浮层)、Footer
└── pages/ # index.astro(英)+ zh/index.astro + guides/ + zh/guides/ + api/check.ts + api/ip.ts
public/mascot/ # 卡通 CEO 各状态图(打瞌睡 / 检测中 / 低 / 中 / 高风险)
public/sponsors/ # 赞助商 logo
scripts/
└── gen-assets.mjs # 重新生成 favicon / PWA 图标 / og.png(node scripts/gen-assets.mjs)
skills/
└── detection-signals/SKILL.md # 新增 / 调整检测信号的 agent 操作手册
pnpm install
pnpm dev # http://localhost:4321
pnpm build # 产物在 dist/
pnpm preview针对 Vercel 优化(@astrojs/vercel):所有页面都会预渲染为静态 HTML,只有
/api/check 与 /api/ip 作为 Vercel Function 运行。/api/check 读取请求的 geo 头,
/api/ip 评估访客出口 IP 的纯净度。它同样支持任意静态托管
(Cloudflare Pages、Netlify、GitHub Pages)—— 网站在这些平台上完全可用,只有
这些 API 接口是 Vercel 特有的。部署前请把 astro.config.mjs 的
site 和 public/robots.txt 换成你的真实域名,以保证 canonical、
hreflang 与 sitemap 指向正确。
本工具仅供参考,基于对 Claude Code 早期中转指纹行为的公开逆向分析,不构成任何官方结论 或建议。
基于 MIT 协议 开源,© LinXiaoTao。
你可以自由使用、修改与再分发本项目,但任何副本或实质性部分都必须保留原始的版权与许可
声明(即注明来自原项目 LinXiaoTao/FuckClaude)。
若你重新部署,请保留页脚署名 / 仓库链接,方便访问者找到原项目。


