@MozDevNet: Introducing the MDN MCP server! Bring MDN's docs and browser compat data straight into your AI agent or IDE for accurat…
Summary
Mozilla released the MDN MCP server, enabling AI agents and IDEs to access up-to-date MDN documentation and browser compatibility data via the Model Context Protocol, reducing reliance on outdated training data.
View Cached Full Text
Cached at: 06/16/26, 01:35 PM
Introducing the MDN MCP server! Bring MDN’s docs and browser compat data straight into your AI agent or IDE for accurate, up-to-date answers about the web platform. No more outdated guesses from training data. Learn more http://developer.mozilla.org/en-US/blog/introducing-mdn-mcp-server/…
Introducing the MDN MCP server | MDN Blog
Source: https://developer.mozilla.org/en-US/blog/introducing-mdn-mcp-server/ We’re excited to announce the release of theMDN MCP server.MCP (Model Context Protocol)is an open standard that enables AI tools to connect to external data sources. The MDN MCP server uses this protocol to bring MDN’s documentation and browser compatibility data directly into your AI agent orIDE.
Why we built the MDN MCP
More and more AI tools are being integrated into web development workflows, but they can surface outdated web platform information based on their training data and knowledge cutoff.
For example, an LLM or coding agent may not know that a feature like@view\-transitionCSS at-ruleexists, or whether it has reached“Widely Available” baselineand is safe to use across browsers.
The MDN MCP gives your coding agent access to accurate, up-to-date web platform information. It also makes it easier for you to access the latest documentation without leaving your preferred tools.
The server is currently experimental. See ourprivacy noticefor details about data handling during this phase.
How to use the MDN MCP
The MDN MCP server works with any MCP-compatible client, including:
- Editors:VS Code,Zed, andCursor.
- Agent CLIs:Claude Code,Codex CLI, andAntigravity CLI(previously Gemini CLI).
- Chat apps:Claude Desktop.
See the links in this list for how to set up MCP with each tool. For installation instructions and other details, check ourMDN MCP serverpage .
As a quick example, to use it with Claude Code, you would run the following:
claude mcp add --transport http mdn https://mcp.mdn.mozilla.net/
We’re looking forward to seeing how you integrate it into your web development workflow, and the scenarios where you find it most useful.
What difference does the MCP make?
Given the non-deterministic nature of LLMs and the variety of available models, it’s often challenging to compare their behavior with or without certain skills, prompts, tools, and MCPs enabled.
We tested Claude Code Opus 4.7 with and without the MDN MCP on a few features recently shipped inFirefox 151, asking how to use the features and what the browser support is. Specifically:
- How to use the
light\-dark\(\)CSS function for images and which browsers support it? - How to use the
:bufferingCSS pseudo-class and which browsers support it? - How to use the
shadowrootslotassignmentattribute on<template\>and which browsers support it? - How to use the Web Serial API and which browsers support it?
We noticed certain patterns in the results. In most cases, the usage notes from Claude Code with and without the MDN MCP enabled were comparable. Some answers which used the MCP were better structured and more complete. For example, the notes for thelight\-dark\(\)CSS functionalso included examples with linear gradients that weren’t directly mentioned in the question but are also supported.
When it came to browser support information, the winner was clear: the MDN MCP produced much better and more reliable results. Claude Code without the MCP got the browser support right only in one case: for the:bufferingpseudo-class. For example, Claude Code without the MCP insisted that the declarativeshadowrootslotassignmentattribute is supported in Chrome 120 and Safari 18.3, possibly conflating it with theElement\.attachShadow\(\)’sslotAssignmentoption. But in fact, Firefox 151 is the first browser toship support for this attribute.
Without the MCP, Claude Code also didn’t provide any concrete browser support information about using images in thelight\-dark\(\)function: “support is less uniform than the color variant”, while with the MCP, it provided the full table listing Firefox 150 and Chrome (behind a flag) as supported browsers.
The worst performance of Claude Code without the MCP came from the Web Serial API question. Firefox 151shipped support for the Web Serial APIin May 2026. However, Claude Code without the MCP correctly mentioned Chromium-based browsers as supporting this feature, but also insisted that in Firefox it’s:
Not implemented (and not on the roadmap — see Mozilla’s standards position: “harmful”)
With the MCP enabled, Claude Code correctly identified that Firefox 151 ships support for the Web Serial API, in line with therelease notes.
Additionally, we noticed that in our tests, responses which used the MDN MCP were roughly twice as fast. Without the MCP, Claude Code had to fetch and parse quite a few HTML pages to find current information, which took some time, but even then didn’t provide accurate results.
Get involved
Your feedback helps us improve. If you encounter issues, have comments or suggestions, or want to share how you’re using the MDN MCP, we’d love to hear from you. Please feel free to come chat with us in theplatform channelin our Discord. If you spot any issues, please raise them in themdn/mcp GitHub repository.
What’s next
As AI tools become a bigger part of web development workflows, we’re committed to making MDN’s documentation available wherever you need it. This release is one step toward that goal, and we’re excited to continue improving the experience with your input.
Similar Articles
Introducing the MDN MCP server
Mozilla announced the MDN MCP server, which uses the Model Context Protocol to provide AI coding tools with up-to-date MDN documentation and browser compatibility data, enabling more accurate web platform information in development workflows.
ChromeDevTools/chrome-devtools-mcp
Chrome DevTools MCP is an open-source Model Context Protocol server that lets AI coding agents (Gemini, Claude, Cursor, Copilot) control and inspect a live Chrome browser for automation, debugging, and performance analysis. It integrates Chrome DevTools with Puppeteer to provide AI assistants full browser inspection and automation capabilities.
Built upgraded Playwright MCP with ability to view DOM (for those who are writing their own AI testing agents)
Upgraded Playwright MCP to provide full DOM serialization for AI agents, improving visibility of interactive elements compared to the default ARIA snapshot. Open-sourced for developers building AI test agents.
Building AI-powered features that generate HTML? This MCP server gives you 15 tools
Fast HTML MCP is a server that provides 15 MCP tools for HTML assembly, patching, reading, and more, enabling AI agents to autonomously generate and manipulate HTML with zero network overhead.
@sourcebot_dev: Give agents context across your entire codebase. Open source, 1 min install.
Sourcebot has launched an open-source MCP (Model Context Protocol) server that connects AI coding agents like Cursor, Claude Code, and Copilot to an entire codebase for search, file reading, and reference resolution. It supports OAuth 2.0 and API key authorization with a quick 1-minute install.