
deadends.dev
dev.deadends由 deadends.dev 发布官方发布者v0.9.0更新于 Oct 24, 2026
Structured failure knowledge for AI agents — dead ends, workarounds, error chains
概览
一个结构化失败知识库,让助手在动手前查询已知的代码错误和特定国家的现实陷阱,以及可行的绕行方案。
- 可以做什么
- 将错误信息与数千条已知模式匹配,返回应避免的死路和有效的解决办法,并可按 ID 查看完整条目、一次批量查询最多十条错误(lookup_error、get_error_detail、batch_lookup)。按关键词、领域或国家浏览和搜索目录,查看领域与国家的条目数、修复率等汇总(search_errors、list_error_domains、list_errors_by_domain、list_errors_by_country、get_country_summary、get_domain_stats)。沿错误关联图查看某个故障通常会导致哪个故障(get_error_chain)。上报某个解决办法是否真的有效,反馈会更新成功率(report_outcome)。
- 适用场景
- 适合在助手排查反复出现的代码错误、需要跳过已知无效的修复方法时使用;也适合回答特定国家关于签证、银行开户、法律红线、礼仪或食品安全的问题,这类问题通用建议往往出错。
- 运行要求
- 可作为无需认证的远程 HTTP 端点使用,也可作为本地 Python 包(pip install deadends-dev)通过 stdio 运行;README 的本地配置示例使用 python 命令并指定工作目录路径。未声明任何 API 密钥或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 deadends.dev,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/dev.deadends%2Fdeadends-dev/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"deadends-dev": {
"type": "http",
"url": "https://deadends.dev/mcp"
}
}
}README
deadends.dev
[Precision@1] [MRR] [Entries] [Domains] [Countries] [MCP Tools] [PyPI] [License]
Stop AI agents from repeating known failures - in code AND in the real world.
AI assistants reliably fumble two kinds of problems: known-failed code fixes, and country-specific real-world rules they've never been exposed to in training. deadends.dev now covers both:
- Code errors (2,089 entries, 51 domains): what NOT to try when an agent
hits
ModuleNotFoundError,CUDA OOM,CrashLoopBackOff, etc. - Country-scoped dead ends (250+ entries across 52 countries): visa rules (ETA/eVisitor, NZeTA, e-visas, arrival cards), banking requirements, legal red lines (lèse-majesté, §86a, Article 301), cultural taboos (chopsticks in rice, clock gifts in China, red-ink names in Korea), food safety (tap-water safety by country), emergency numbers, driving norms (left-hand traffic), housing contracts - all the friction where a plausible-sounding global answer is wrong locally.
Why the expansion? Coding dead ends are largely solved by a good LLM. Country-specific friction - Japanese hanko requirements, Schengen 90/180 math, Ramadan business hours, Saudi alcohol ban, Indian beef taboos - is where generic AI advice breaks hardest. The codebase and schema are identical; the env segment just carries a country code.
90% Precision@1 · 0.935 MRR · Data Quality Dashboard
Website: deadends.dev · MCP Server: Smithery · PyPI: deadends-dev · API: /api/v1/index.json Repository: https://github.com/dbwls99706/deadends.dev
Why Use This?
What makes this different from asking an LLM?
- Deterministic: Same query → same answer, every time. No hallucination.
- Country-scoped: ID format
{domain}/{slug}/{env}- env holds the country code (kr,jp,us,de...) so the same taboo can be answered differently for different jurisdictions. - Primary-sourced: Every country canon cites government sites, embassies, or verifiable reporting. No "based on general knowledge" answers.
- Community-validated: Fix success rates updated from real outcome reports.
- Sub-millisecond: Local regex matching, no API roundtrip.
현실적인 한계 (운영 관점)
- 모든 에러를 다 커버하지는 못합니다. 없는 케이스는 이슈/PR/
report_outcome로 빠르게 보완합니다. - 설명의 깊이보다 실전 해결 우선(dead end/workaround 중심)으로 설계되어 있습니다.
- 신뢰성은 도메인/케이스마다 다를 수 있으므로, 고위험 변경은 공식 문서/벤더 가이드와 교차 검증을 권장합니다.
Quick Start (30 seconds)
MCP Server (Claude Desktop / Cursor)
Add to ~/.claude/claude_desktop_config.json:
Or install via Smithery (no local setup):
MCP Unauthorized 빠른 해결 가이드 (사람용)
deadend: calling "initialize": sending "initialize": Unauthorized 에러가 보이면 아래를 순서대로 그대로 실행/확인하세요.
- 로컬 서버 모드인지, 원격(Smithery) 모드인지 하나만 사용
- Claude Desktop 설정 파일 점검 (
cwd는 실제 경로여야 함)
- 로컬 서버 직접 실행 테스트
- Smithery 모드라면 재설치(토큰/설정 꼬임 복구)
- 마지막으로 Claude Desktop 완전 재시작
팁:
Unauthorized는 보통 잘못된cwd, 중복 서버 설정(로컬+원격 동시), 또는 만료된 인증 상태에서 발생합니다.
Antigravity (Google AI IDE)
Add as a remote MCP server - no authentication required:
Note: Antigravity uses
serverUrl(noturl). If you getUnauthorized, remove any existing deadend entries from the MCP Store and re-add manually using the config above. See the Antigravity MCP auth guide for general troubleshooting.
Python SDK
Example Response
MCP Tools (11)
API Endpoints
Covered Domains (54)
Code error domains (51)
Country-scoped real-world domains (new, growing)
Data Quality
All metrics are publicly available on the Data Quality Dashboard:
- 2,204 canon entries across 54 domains and 39+ countries
- Benchmark: 90% Precision@1, 95% Precision@3, 0.935 MRR (on code scenarios)
- Error transition graph: 4,330+ edges connecting related errors
- Community feedback loop:
report_outcomeupdates fix success rates from real usage - Country canons: every entry cites primary gov/embassy/regulator sources,
reviewed by humans (
review_status: human_reviewed), no LLM bulk generation
Country coverage (52 countries as of v0.10)
kr · jp · us · de · uk · fr · it · es · nl · ch · pt ·
ie · at · be · se · no · dk · fi · pl · gr · cn · hk ·
tw · th · in · vn · id · sg · ph · my · pk · bd · sa ·
ae · tr · il · ru · br · mx · ar · cl · co · pe · au ·
nz · eg · ma · et · ng · ke · za · ca
See /country/ hub or /api/v1/countries.json for the authoritative list with counts.
See docs/country-canon-guide.md for the
authoring workflow, sourcing requirements, and confidence calibration.
Contributing
See CONTRIBUTING.md for full details.
-
GitHub 자동 수집 운영안:
docs/GITHUB_DATA_COLLECTION_STRATEGY.md -
자동 수집 주기: 6시간마다(하루 4회), 기본 품질 필터:
min_score=2 -
수집 데이터는 후보이며, 최종 반영은 maintainer 검수 후 진행
-
Use
report_outcomevia MCP after trying a workaround
Development
SEO 점검 가이드 (모든 페이지 공통)
아래 명령은 템플릿에 핵심 SEO 신호가 있는지 빠르게 점검합니다.
실제 빌드 결과물까지 확인하려면:
그 후 브라우저에서 아래를 점검:
view-source:http://localhost:8080/search/view-source:http://localhost:8080/dashboard/- canonical / og / twitter / JSON-LD 유효성
Changelog
v0.10.0 - Country coverage expansion
- 250+ country canons across 52 countries (up from 56 across 20): emergency numbers for nearly every supported country, modern visa gateways (ETA/eVisitor, NZeTA, e-visas, digital arrival cards), medication-import rules, tap-water safety, left-hand-traffic safety, and banking access - all primary-sourced and human-reviewed
- By-destination cross-linking: country summary pages now link to other dead ends for the same country across domains (a "More dead ends in {country}" section), strengthening topical internal linking
- SEO: sitemap
<priority>weighted by page strength (country/high-evidence pages ranked higher); JSON-LD omits empty dates - Style: em-dash removed site-wide in favor of the hyphen
v0.9.0 - Country pivot
- New axis: country-scoped real-world dead ends alongside code errors
- 56+ country canons across 20+ countries - visa, banking, legal red lines, cultural taboos, food safety, emergency numbers, driving norms
- 3 new domains:
visa,banking,emergency(plus extended use of existinglegal,culture,medical,communication,food-safety,safetydomains with country env segment) - Per-country landing pages at
/country/{cc}/(e.g. /country/jp/) generator.country_canon_templatehelper for authoring new country canons with validated env-segment + audience + jurisdiction metadatadocs/country-canon-guide.md: sourcing standards (primary > embassyreputable media), confidence calibration, slug/regex conventions
- Schema unchanged (backward-compatible enum extensions); existing 2,089 code canons preserved
v0.8.0
- Benchmark suite: 20 error scenarios, Precision@1=90%, MRR=0.935
- Data quality dashboard at
/dashboard/- transparent metrics - Outcome feedback loop:
report_outcome→ aggregated stats → fix_success_rate updates - Usage analytics: anonymous tool usage tracking (domain/match only, no PII)
- Community contribution: GitHub Issue templates for new errors and workaround reports
- TF-IDF search: improved relevance with smoothed IDF scoring
- Error transition graph: materialized graph with 4,330+ edges, hub node analysis
- 9 MCP tools (added
report_outcome)
v0.7.0
- Expanded to 2089 error entries across 51 domains (from 1028/20)
- Added 23 new domains
- Fixed 73 regex patterns that didn't match their own signatures
v0.5.0
page_urlfield added to index.json, errors.ndjson, and all SDK/MCP responses- SEO fixes for canonical summary URLs
v0.4.0
- Initial public release with 1028 error entries across 20 domains
License
MIT (code) · CC BY 4.0 (data)
Ops Docs
- SEO 운영 가이드:
docs/SEO_OPERATIONS_GUIDE.md - PyPI 릴리즈 매뉴얼:
docs/PYPI_RELEASE_MANUAL.md
来源:README.md,提交 9223b7f
工具
0版本历史
1- v0.9.0最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具必需15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分