MDN MCP Server
MDN publishes an official MCP server at https://mcp.mdn.mozilla.net/ that gives any MCP-compatible client direct access to MDN's documentation and browser compatibility data. Instead of relying on a model's training-data snapshot, your agent or IDE pulls live, authoritative web platform information at inference time.
The server is experimental but publicly available with no authentication required.
Why it matters
AI tools trained on a fixed dataset go stale. Browser compatibility tables shift with every release cycle, and new web platform APIs land constantly. Without a live source, a model can confidently recommend a CSS property or JS API that has poor support on a browser your users actually run.
The MDN MCP server solves this by giving your tools a real-time lookup channel:
- Browser support data grounded in BCD (Browser Compatibility Data), MDN's compatibility dataset that also feeds parts of Can I Use
- Up-to-date documentation -- spec changes, deprecations, and new APIs appear as MDN publishes them
- Faster answers in MDN's own comparison -- MDN reported that Claude Code responses using the server were roughly twice as fast in a small experiment; treat that as directional, not a general benchmark
Setup
The server uses remote HTTP transport. Add it once; any MCP client that supports remote HTTP servers can use the same URL.
Claude Code
claude mcp add --transport http mdn https://mcp.mdn.mozilla.net/
This stores the server in your Claude Code config. Confirm it's active with claude mcp list.
VS Code (GitHub Copilot)
Add to .vscode/mcp.json in your project, or to the MCP user configuration:
{
"servers": {
"mdn": {
"type": "http",
"url": "https://mcp.mdn.mozilla.net/"
}
}
}
See the VS Code MCP docs for workspace, portable, and user-level config paths.
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"mdn": {
"url": "https://mcp.mdn.mozilla.net/"
}
}
}
See the Cursor MCP docs for project vs global scope.
Zed
Add to your Zed settings under context_servers:
{
"context_servers": {
"mdn": {
"url": "https://mcp.mdn.mozilla.net/"
}
}
}
See the Zed MCP docs for details.
Claude Desktop
Remote MCP servers are configured as Claude custom connectors, not by editing
claude_desktop_config.json. In Claude Desktop, add a custom Web connector and use
https://mcp.mdn.mozilla.net/ as the remote MCP server URL.
See the Claude custom connector docs for the current setup flow and network requirements.
What the server exposes
The MDN MCP server is a read-only data source -- it does not execute code or modify anything. Current tools exposed by the official server include:
get-compat-- given a BCD feature key, returns browser compatibility dataget-doc-- returns a specific MDN documentation page as Markdownsearch-- finds MDN documentation pages by keyword
The exact tool list evolves as MDN expands the server; check the mdn/mcp repository for the current spec.
Privacy
Queries sent to the MDN MCP server are processed by Mozilla's infrastructure. Review MDN's data retention and privacy notes at https://developer.mozilla.org/en-US/mcp#privacy_and_data_retention before using it in contexts where query confidentiality matters (e.g. internal codebases with proprietary feature names).
See also
- MCP & A2A in Production - current MCP transport, authorization, registry, and security guidance
- AI Agents - how MCP works and the N+M problem it solves
- Tooling and Frameworks - MCP, A2A, and the broader connectivity stack
- AI-Assisted Development - practical patterns for using AI tools in a dev workflow