Structured failure knowledge for AI agents โ dead ends, workarounds, error chains
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
๐ก Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
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:
ModuleNotFoundError, CUDA OOM, CrashLoopBackOff, etc.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
| Without deadends.dev | With deadends.dev |
|---|---|
Agent tries sudo pip install โ breaks system Python โ wastes 3 retries | Agent sees "dead end: sudo pip - fails 70%" โ skips it immediately |
| Agent tells user to tip 15% at a Tokyo restaurant | Agent knows tipping is refused in Japan (culture/tipping-refused/jp) |
| Agent drafts a Thai social post referencing King Rama X | Agent stops: Article 112 lรจse-majestรฉ risk (legal/lese-majeste-article-112/th) |
| Agent fixes error A, gets confused by error B | Agent knows "A leads to B 78% of the time" โ handles both |
| Agent tells unmarried couple to kiss publicly in Dubai | Agent flags UAE public decency law (legal/unmarried-public-affection/ae) |
What makes this different from asking an LLM?
{domain}/{slug}/{env} - env holds the country
code (kr, jp, us, de...) so the same taboo can be answered
differently for different jurisdictions.report_outcome๋ก ๋น ๋ฅด๊ฒ ๋ณด์ํฉ๋๋ค.Add to ~/.claude/claude_desktop_config.json:
Or install via Smithery (no local setup):
Unauthorized ๋น ๋ฅธ ํด๊ฒฐ ๊ฐ์ด๋ (์ฌ๋์ฉ)deadend: calling "initialize": sending "initialize": Unauthorized ์๋ฌ๊ฐ ๋ณด์ด๋ฉด ์๋๋ฅผ ์์๋๋ก ๊ทธ๋๋ก ์คํ/ํ์ธํ์ธ์.
cwd๋ ์ค์ ๊ฒฝ๋ก์ฌ์ผ ํจ)ํ:
Unauthorized๋ ๋ณดํต ์๋ชป๋cwd, ์ค๋ณต ์๋ฒ ์ค์ (๋ก์ปฌ+์๊ฒฉ ๋์), ๋๋ ๋ง๋ฃ๋ ์ธ์ฆ ์ํ์์ ๋ฐ์ํฉ๋๋ค.
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.
| Tool | Description |
|---|---|
lookup_error | Match an error message against 2000+ known patterns |
get_error_detail | Full canon by ID |
list_error_domains | All 54 domains with counts |
search_errors | TF-IDF keyword search across all domains |
list_errors_by_domain | All errors in a domain |
list_errors_by_country | All country-scoped dead ends for an ISO alpha-2 code |
get_country_summary | Country-level summary (entries, fix rate, domain mix) |
batch_lookup | Look up multiple errors at once (max 10) |
get_domain_stats | Domain quality metrics and confidence levels |
get_error_chain | Traverse the error transition graph |
report_outcome | Report whether a workaround worked (feeds back into success rates) |
| Endpoint | Description |
|---|---|
/api/v1/match.json | Lightweight regex matching (fits in context window) |
/api/v1/index.json | Full error index with metadata (entries include country field for country canons) |
/api/v1/{id}.json | Individual ErrorCanon |
/api/v1/countries.json | Country index with counts and update dates |
/api/v1/country/{cc}.json | Per-country aggregate (one call returns all entries for that country) |
/api/v1/openapi.json | OpenAPI 3.1 spec |
/api/v1/stats.json | Dataset quality metrics by domain |
/api/v1/errors.ndjson | NDJSON streaming |
/llms.txt | LLM-optimized listing (llmstxt.org) |
/dashboard/ | Data quality dashboard |
| Domain | Errors | Examples |
|---|---|---|
| Python | 88 | ModuleNotFoundError, TypeError, KeyError, MemoryError, RecursionError |
| Node | 70 | ERR_MODULE_NOT_FOUND, EACCES, EADDRINUSE, heap OOM, ERR_REQUIRE_ESM |
| Docker | 65 | no space left, exec format error, bind address in use, healthcheck |
| Kubernetes | 61 | CrashLoopBackOff, ImagePullBackOff, OOMKilled, RBAC forbidden, HPA |
| Git | 60 | failed to push, merge conflicts, detached HEAD, stash apply, tags |
| CUDA | 57 | OOM, device-side assert, NCCL, cuDNN, tensor device mismatch |
| Go | 54 | nil pointer, unused import, interface conversion, slice out of range |
| Java | 54 | NullPointerException, ClassNotFound, OutOfMemoryError, connection pool |
| Database | 52 | deadlock, connection pool, slow query, replication lag |
| AWS | 51 | AccessDenied, S3 NoSuchBucket, Lambda timeout, CloudFormation rollback |
| .NET | 50 | NullReferenceException, LINQ translation, DI circular, EF concurrency |
| ROS 2 | 50 | node spin, launch error, QoS mismatch, tf2 transform |
| TypeScript | 49 | TS2307, TS2322, TS2345, TS2532, TS7053 |
| Rust | 48 | E0382 borrow, E0308 mismatch, E0277 trait, E0106 lifetime |
| + 37 more domains | 40+ each | CI/CD, PHP, Terraform, Networking, Next.js, React, pip, Android, ... |
| Domain | Covers | Example dead ends |
|---|---|---|
visa | Pre-travel authorization, overstay, re-entry bans | ESTA 90-day rule (US), K-ETA (KR), ETIAS/EES (Schengen), Schengen 90/180 (DE) |
banking | Account opening, KYC, foreigner rules | ARC required (KR), residence card 6-month (JP), SSN/ITIN (US) |
emergency | Correct emergency numbers, transit | 112 not 911 (DE), 999/101/111 (UK) |
medical | Insurance, Rx import, coverage | Shaho/Kokuho (JP), NHIS 6-month (KR), EHIC ineligibility (DE), Adderall import ban (JP) |
legal | Criminal liability, contract norms | ยง86a Nazi symbols (DE), Article 112 (TH), Article 301 (TR), alcohol ban (SA), key money (JP) |
culture | Etiquette, taboos, social norms | Chopsticks in rice (JP), clock gifts (CN), Tiananmen silence, red ink names (KR), bonjour (FR) |
food-safety | Water, pathogens, religious taboos | Tap water (MX), fugu license (JP), beef in India, pork in Indonesia |
communication | Language register, terminology | Honorifics (KR), American War framing (VN), 'gringo' (MX), Cantonese vs Mandarin (HK) |
safety | Driving, public-safety norms | Left-side drive (JP), Autobahn rules (DE), horn-language (IN) |
All metrics are publicly available on the Data Quality Dashboard:
report_outcome updates fix success rates from real usagereview_status: human_reviewed), no LLM bulk generationkr ยท 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.
See CONTRIBUTING.md for full details.
GitHub ์๋ ์์ง ์ด์์: docs/GITHUB_DATA_COLLECTION_STRATEGY.md
์๋ ์์ง ์ฃผ๊ธฐ: 6์๊ฐ๋ง๋ค(ํ๋ฃจ 4ํ), ๊ธฐ๋ณธ ํ์ง ํํฐ: min_score=2
์์ง ๋ฐ์ดํฐ๋ ํ๋ณด์ด๋ฉฐ, ์ต์ข ๋ฐ์์ maintainer ๊ฒ์ ํ ์งํ
Use report_outcome via MCP after trying a workaround
์๋ ๋ช ๋ น์ ํ ํ๋ฆฟ์ ํต์ฌ SEO ์ ํธ๊ฐ ์๋์ง ๋น ๋ฅด๊ฒ ์ ๊ฒํฉ๋๋ค.
์ค์ ๋น๋ ๊ฒฐ๊ณผ๋ฌผ๊น์ง ํ์ธํ๋ ค๋ฉด:
๊ทธ ํ ๋ธ๋ผ์ฐ์ ์์ ์๋๋ฅผ ์ ๊ฒ:
view-source:http://localhost:8080/search/view-source:http://localhost:8080/dashboard/<priority> weighted by page strength (country/high-evidence
pages ranked higher); JSON-LD omits empty datesvisa, banking, emergency (plus extended use of
existing legal, culture, medical, communication, food-safety,
safety domains with country env segment)/country/{cc}/ (e.g.
/country/jp/)generator.country_canon_template helper for authoring new country
canons with validated env-segment + audience + jurisdiction metadatadocs/country-canon-guide.md: sourcing standards (primary > embassy
reputable media), confidence calibration, slug/regex conventions
/dashboard/ - transparent metricsreport_outcome โ aggregated stats โ fix_success_rate updatesreport_outcome)page_url field added to index.json, errors.ndjson, and all SDK/MCP responsesMIT (code) ยท CC BY 4.0 (data)
docs/SEO_OPERATIONS_GUIDE.mddocs/PYPI_RELEASE_MANUAL.mdShowcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/deadends-dev)<a href="https://allmcps.com/mcp/deadends-dev"><img src="https://allmcps.com/api/badge/deadends-dev?style=directory" alt="Deadends.dev on AllMCPs" /></a>