aiwiki-mcp
Search and read AiWiki — an encyclopedia of AI-coding pitfalls and LLM privacy protection written from the AI's first-person perspective. 120+ bilingual (EN/中文) entries with mechanism analysis and cited evidence, fetched live from the site index.
README
<p align="center"> <img src="./static/img/logo.svg" alt="AiWiki logo" width="120" /> </p>
<h1 align="center">AiWiki</h1>
<p align="center"> <strong>An encyclopedia of AI-coding pitfalls & best practices — written from the AI's own first-person perspective.</strong><br/> <sub>用 AI 第一人称视角写的「AI 编码误区与最佳实践」百科</sub> </p>
<p align="center"> <a href="https://xuebinma.github.io/AIWiki/en/"><img src="https://img.shields.io/badge/read-online-2ea44f" alt="Read online" /></a> <a href="https://github.com/xuebinma/AIWiki/actions/workflows/deploy.yml"><img src="https://github.com/xuebinma/AIWiki/actions/workflows/deploy.yml/badge.svg" alt="Deploy" /></a> <a href="./LICENSE"><img src="https://img.shields.io/badge/License-CC%20BY--SA%204.0-blue.svg" alt="License: CC BY-SA 4.0" /></a> <a href="https://github.com/xuebinma/AIWiki/stargazers"><img src="https://img.shields.io/github/stars/xuebinma/AIWiki?style=social" alt="Stars" /></a> </p>
<p align="center"> <b>English</b> · <a href="./README.zh-CN.md">中文</a> · <a href="https://xuebinma.github.io/AIWiki/en/">Live site</a> · <a href="https://xuebinma.github.io/AIWiki/en/tool-matrix">Tool matrix</a> </p>
You said "just start," so I did. I assumed "multi-tenant" meant splitting the database by header — you meant routing by subdomain. Eight files later, you noticed I'd misread you.
That's the opening of a real entry. The whole book reads in that voice: not a third-person tutorial on how to use AI, but the AI telling you, in the first person, where you most often go wrong working with it.
📖 Fully bilingual. Every entry exists in both English and 中文 — Chinese is the writing source, English is a 1:1 mirror. Switch languages from the top-right of the site, or read the 中文 README.
<p align="center"> <a href="https://xuebinma.github.io/AIWiki/en/"><img src="./static/img/og-cover.png" alt="AiWiki — AI-coding pitfalls, written in the AI's own voice" width="840" /></a> </p>
Why this is different
Plenty of "best-practice lists" and "config dumps" for AI coding tools already exist. AiWiki fills a gap none of them do:
- First-person AI narration — "here's what I, the model, see you doing," not a detached how-to.
- Root cause from mechanism — every pitfall is traced back to how the model actually works, so the fix becomes something you can re-derive yourself.
- Verifiable, not vibes — each entry tags its evidence (official docs / arXiv / CVE & security advisories) and is version-stamped; the case library cites real incidents, three of them with CVE numbers.
- Cross-tool, honestly scoped — the same pitfall compared across five coding tools, with each tool's coverage depth labeled rather than padded out.
What's inside
- 76 pitfall entries across the 8 phases of the software lifecycle
- 5 real-world case studies (3 CVE-backed)
- 13 toolkit pieces — checklists, prompt templates, and ready-to-copy workflows
- 5 coding tools covered, indexed in one tool matrix
| Phase | Directory |
|---|---|
| Setup & collaboration | docs/00-setup-collaboration/ |
| Ideation & feasibility | docs/01-ideation-feasibility/ |
| Requirements | docs/02-requirements/ |
| Architecture | docs/03-architecture/ |
| Detailed design | docs/04-detailed-design/ |
| Implementation | docs/05-implementation/ |
| Testing | docs/06-testing/ |
| Acceptance & release | docs/07-acceptance-release/ |
Every entry follows one structure: what I see you doing → why it happens → consequences → best practice → example → version notes → sources.
Start here
New here? A few ways in:
- 🌐 Read the site (English) · 中文站点
- 🧭 Tool matrix — what differs between Claude Code, Cursor, Copilot, Codex, and Gemini
- 👤 Browse by role — PM / architect / engineer / QA / ops
- A few representative pitfalls: Skipping plan mode and just letting me change things · Context-file overload · You ask me to "fix the test," I make it green instead of correct
Covered tools
Claude Code has the deepest coverage and is the book's default reference. Cursor, GitHub Copilot, Codex CLI, and Gemini CLI each get their own "tool differences" sections, plus a standalone entry wherever a pitfall comes from a mechanism unique to one tool. Coverage depth is labeled honestly — proprietary, fast-changing tools lean on security disclosures and official docs, and are thinner. See the tool matrix.
Use it from your editor (MCP)
The whole encyclopedia is available as an MCP server — ask your AI assistant "search AiWiki for why long sessions get dumber" and it pulls the entry, mechanism, and sources:
claude mcp add aiwiki -- npx -y aiwiki-mcp
Works with any MCP client (Cursor, Windsurf, Claude Desktop…). Details in mcp/README.md.
Run locally
Built on Docusaurus (native versioning, bilingual i18n, full-text search).
npm install
npm run start # Chinese site
npm run start -- --locale en # English site
npm run build # full build (both locales)
Contributing
An open, long-running project. New pitfall entries, corrections, and translation fixes are all welcome.
- 📖 CONTRIBUTING.md — entry template & submission flow
- ✍️ STYLE-GUIDE.md — how to write human, reliable, well-sourced prose
License
Content is shared under CC BY-SA 4.0; sources are cited at the foot of each entry. Diagrams are self-drawn (Mermaid) where possible; external material is used only when clearly licensed and attributed. Spot a problem? Open an issue.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。