惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
A
About on SuperTechFans
小众软件
小众软件
Hugging Face - Blog
Hugging Face - Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 叶小钗
博客园 - 聂微东
博客园 - Franky
Apple Machine Learning Research
Apple Machine Learning Research
罗磊的独立博客
量子位
博客园 - 三生石上(FineUI控件)
Recent Announcements
Recent Announcements
The GitHub Blog
The GitHub Blog
B
Blog RSS Feed
T
The Blog of Author Tim Ferriss
GbyAI
GbyAI
云风的 BLOG
云风的 BLOG
Last Week in AI
Last Week in AI
宝玉的分享
宝玉的分享
B
Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Stack Overflow Blog
Stack Overflow Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
The Day AI Argued With MDN (And Lost)
Giuseppe Ciullo · 2026-06-16 · via DEV Community

AI coding assistants have changed how we write software. They generate components, explain APIs, write tests, and even review pull requests. But there's still one area where they regularly fail: knowing what's actually supported in browsers today.

Mozilla recently demonstrated this problem in a surprisingly direct way. While testing Claude Code on recently released Firefox features, they found that the model confidently claimed Firefox didn't support the Web Serial API—and that Mozilla wasn't even planning to implement it. There was just one problem: Firefox had already shipped it.

That's the story behind Mozilla's new MDN MCP Server, and why it might be one of the most important AI tools released for frontend developers this year.


The Real Problem Isn't Hallucination

When people talk about AI mistakes, they usually talk about hallucinations. But browser compatibility is a different problem. The issue isn't necessarily that the model is inventing information—it's that the web moves faster than training datasets.

Every few weeks browsers ship new APIs, new CSS features, new HTML capabilities, updated compatibility data, and new Baseline statuses. A model trained months ago may simply not know about those changes, and when it doesn't know, it often fills in the gaps with outdated information. The result is something that looks correct, until you check MDN.


Mozilla Decided to Test This

Mozilla's team wanted to measure how well an AI coding assistant could answer questions about modern browser features, so they tested Claude Code Opus 4.7 on recently released Firefox 151 functionality, including:

  • light-dark() support for images
  • The :buffering pseudo-class
  • The shadowrootslotassignment attribute
  • The Web Serial API

These are exactly the kinds of features that expose weaknesses in AI systems: they're new, they're niche, and they often weren't widely documented when the model was trained.


The Web Serial API Failure

The most striking result involved the Web Serial API. When Mozilla asked about browser support, Claude Code confidently responded that Firefox did not support the API—and even more surprisingly, it claimed Mozilla had no plans to ever support it. The answer sounded authoritative. The problem? Firefox 151 had already shipped Web Serial support.

Not only was the information wrong, it was wrong in a way that many developers would probably trust. This is what makes browser compatibility such a difficult problem for AI: a response can be articulate, detailed, and completely disconnected from reality.


Why This Happens

Imagine asking an AI:

Does Firefox support the Web Serial API?

Without access to current documentation, the model has only two options: remember information from training, or infer an answer. If the feature shipped after training—or wasn't prominent enough to appear frequently in training data—the answer can easily be outdated. And because language models are designed to produce coherent responses, they rarely say "I don't know." Instead, they produce an answer that sounds plausible. That's exactly what Mozilla observed.


Enter MCP

To address this problem, Mozilla launched the MDN MCP Server. MCP stands for Model Context Protocol, an open standard that allows AI models to interact with external tools and data sources. Instead of relying entirely on memory, the model can retrieve information when it needs it.

Think of it as the difference between:

Developer → AI Memory → Answer

and:

Developer → AI → MDN → Answer

The answer is no longer constrained by what the model remembers—it can be grounded in current documentation.


What Does the MDN MCP Server Provide?

The server exposes MDN resources in a format optimized for AI systems, including documentation search, full MDN documentation, and Browser Compatibility Data (BCD). Instead of scraping web pages and parsing HTML, an AI assistant can access structured information directly. And that's where things get interesting.


Mozilla Ran the Same Tests Again

After enabling the MDN MCP Server, Mozilla repeated the evaluation and the difference was significant. Rather than relying on outdated knowledge, Claude Code could retrieve information directly from MDN and Browser Compatibility Data. As a result:

  • Compatibility information became more accurate
  • Recently released features were correctly identified
  • Fewer unsupported assumptions appeared in responses
  • Answers aligned much more closely with current browser reality

In other words, the model stopped guessing and started checking.


It Was Also Faster

This was the part that surprised me most. Mozilla reported that responses generated with the MDN MCP Server enabled were roughly twice as fast. At first glance, that sounds backwards—shouldn't querying an external service make things slower?

Apparently not. Without MCP, the assistant often needed to search the web, open multiple pages, parse HTML, extract relevant information, and then synthesize a response. With MCP, documentation is already available through structured tools designed specifically for machine consumption. Less searching, less parsing, less guesswork—the result was both faster and more accurate answers.


Practical Examples

This becomes useful almost immediately in day-to-day frontend work. With MCP enabled, you can ask questions that would previously have returned outdated answers:

Is the View Transitions API safe to use in production?

Using the latest MDN documentation, create a React hook
for the View Transitions API.

Using MDN compatibility data, explain whether
requestIdleCallback is safe to use in production.

Instead of relying entirely on training data, the assistant can validate its answer against current documentation before responding. That kind of real-time verification is a significant improvement for anyone building modern web applications.


Compatible Clients

Although Mozilla demonstrates the setup using Claude Code, the MDN MCP Server is not tied to a specific AI provider. It can be used with any MCP-compatible client, including:

  • Claude Code
  • Claude Desktop
  • Cursor
  • VS Code MCP integrations
  • Zed
  • Codex CLI
  • Antigravity CLI
  • Other MCP-enabled tools

As MCP becomes more widely adopted, access to authoritative documentation will likely become a standard feature rather than a nice-to-have.

To add the MDN MCP Server in Claude Code, run:

claude mcp add --transport http mdn https://mcp.mdn.mozilla.net/


The Bigger Story

The most important takeaway isn't that Mozilla launched another developer tool—it's that they exposed a fundamental limitation of modern AI systems. The Web Serial API example is fascinating because it demonstrates that an AI can be completely confident and completely wrong at the same time. The solution isn't necessarily a bigger model; it's better access to reliable information.

For years, we've treated AI as a replacement for documentation. Mozilla's experiment suggests something different: the future may be AI that reads the documentation with us.


Final Thoughts

For a long time, the safest workflow looked like this: ask the AI, open MDN, verify everything. Mozilla's MCP Server doesn't eliminate that responsibility, but it significantly reduces the distance between the answer and the source of truth. And if an AI can stop arguing with documentation that already exists, that's probably a good place to start.