Mdn

Browser automation

MDN's prototype MCP server.

Your AI app calls the Mdn MCP server, which does the browser automation work and sends the result back to the chat.

About Mdn

Mdn is a community MCP server from mdn, filed in our directory under browser automation. MDN's prototype MCP server.

At a glance

Publisher
mdn (community)
Runs
See the README for setup
Written in
JavaScript
License
MPL-2.0
GitHub stars
197

How to set up Mdn

  1. Follow the install steps in the Mdn README; it is written in JavaScript, so have that toolchain ready.
  2. Check the Mdn README for keys or settings; the registry lists none that Mdn requires.
  3. Add Mdn to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Mdn tools to confirm the connection.
  5. Run one read-only task with Mdn first, and keep your app asking before each tool call until the results look right.

Mdn compared with similar servers

  • Dash by Kapeli has fewer GitHub stars than Mdn (192 against 197); both are community servers, and both run locally.
  • Ghidra Headless by mrphrazer has more GitHub stars than Mdn (200 against 197); both are community servers, and both run locally.
  • Charlotte by TickTockBent has fewer GitHub stars than Mdn (184 against 197); both are community servers, and both run locally.

Before you connect Mdn

  • Give Mdn its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Mdn tool call until you trust what it does with them.
  • Treat text that Mdn fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Mdn on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Mdn

How marketing and sales teams put Mdn to work, by company size. Pick the size closest to yours and start Mdn on one use case.

Small business

  • A small business can use Mdn to check its own site after every change: forms submit, links work and checkout still loads.
  • Owners can have Mdn collect competitor prices or offers from public pages once a week, instead of doing it by hand.
  • Mdn runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing teams can run Mdn to test landing pages and signup flows on every release, catching a broken form before paid traffic hits it.
  • Growth teams can use Mdn to capture screenshots of ads and pages across markets for reviews and audits.
  • Start Mdn on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can run Mdn in isolated environments with allow-listed sites, so browsing agents never reach internal or unknown pages.
  • Large web teams can use Mdn for regression checks across many locales and devices, feeding results into release gates.
  • Mdn is a community server, so have security review the code and pin a version before Mdn touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Mdn README

From mdn/mcp on GitHub, shared under its MPL-2.0 license. Images are left out; the original has them.

README.md

MDN MCP server

This is an experimental MCP server that 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

This 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 this 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 our 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 remote 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/

Browser clients can connect directly using Streamable HTTP, without a CORS proxy.

Using locally

  • Install dependencies: npm install
  • Start the server: npm start

Add the server to your tool of choice. For example, in Claude Code:

claude mcp add --transport http mdn-local http://localhost:3002/

Local development

  • Install dependencies: npm install
  • Start the development server, MCP inspector, and tests: npm run dev

Your browser should automatically open the MCP inspector, and the server will restart when you make changes.

Questions about Mdn

What is the Mdn MCP server?

MDN's prototype MCP server. Mdn is maintained by mdn on GitHub at mdn/mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Mdn MCP server?

Mdn doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (mdn/mcp). Like most servers, Mdn ends with a command or URL you paste into your AI app's MCP config.

Does Mdn need an API key?

The registry lists no required keys for Mdn. Check the Mdn README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Mdn an official MCP server?

No. Mdn is a community server maintained by mdn. Community servers can be excellent; read the code and the open issues before you give Mdn access to company data.

What license is Mdn under?

Mdn is released under the MPL-2.0 license, according to its GitHub repository. The license covers the code of Mdn; the service it connects to has its own terms.