MDN's MCP server
MDN's MCP server provides access to MDN's search, documentation, and browser compatibility data.
Our goal is to give LLMs and coding agents a reliable and up-to-date source of web platform documentation - so developers can get accurate information instead of potentially outdated content their LLMs were trained on.
Privacy and data retention
The MDN MCP server is being run as an experiment. While it is an experiment, we will be storing data about the queries we receive. Please see our privacy notice for more information on interaction data we may collect. This data will not be associated with any information designed to identify users. However, while unlikely, it is possible that private information that you divulge to the LLM could be included in these queries. If this is a concern to you, we recommend not using the MDN MCP server.
To opt out of first-party analytics, send the X-Moz-1st-Party-Data-Opt-Out: 1 header along with requests to the MCP.
By using the MDN MCP server, you agree to comply with our Acceptable Use Policy.
As this MCP server is experimental, it may be withdrawn at any time.
Using the MDN MCP server
Add the remote server to your tool of choice. For example, in Claude Code:
claude mcp add --transport http mdn https://mcp.mdn.mozilla.net/
Feedback and contribution
We welcome any feedback you have on using the MCP server. You can chat to us in our Discord, or open an issue on the MDN MCP repository.
To learn more about how you can contribute, see the MDN MCP repository.