MD3-Docs MCP
Use this server to list/browse, search, and read live official Material Design 3 documentation through MCP.
List/browse docs (
list_md3_docs): list live Foundations, Styles, and Components documents, optionally filtered by category or path prefix, with cursor pagination and limits.Search docs (
search_md3_docs): search the live MD3 site in natural language, restricted to Foundations, Styles, and Components, with category filtering and paginated ranked results.Read docs (
read_md3_doc): read a selected MD3 document by path as English Markdown, optionally focus a section, paginate, and cap returned characters.The provided schema exposes read-only, open-world tools for live site access; the README also describes
get_md3_contextfor gathering cited sources, though it is not present in the schema.
Provides access to the official Material Design 3 documentation, including Foundations, Styles, and Components, returning content as Markdown.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MD3-Docs MCP get the documentation for the top app bar component"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MD3 Docs MCP
Live Material Design 3 documentation for MCP clients.
md3-docs-mcp is a stdio Model Context Protocol server that gives Codex, ChatGPT, and other
MCP clients concise access to the official English Foundations, Styles, and Components
documentation at m3.material.io. It reads the live site; it does not
bundle a documentation snapshot, translate content, call another model, or use unofficial
sources.
Tools
Tool | Use it for |
| Browse the official directory by category or canonical path prefix. |
| Search the site in natural language and get clean, ranked results. |
| Read one document or section as semantic Markdown, with heading focus and cursor pagination. |
| Gather several cited sources for implementation, review, or research work. |
browse_md3_docs and search_md3_docs return canonical paths (prefix them with
https://m3.material.io/); read_md3_doc and get_md3_context return full source URLs.
Related MCP server: Material UI MCP Server
Quick start
Add the server to your MCP configuration:
{
"mcpServers": {
"MD3-Docs": {
"command": "npx",
"args": ["-y", "md3-docs-mcp@latest"]
}
}
}Alternatively, install it globally and use md3-docs-mcp as the command:
npm install --global md3-docs-mcpThe server communicates only over stdio. Protocol messages go to stdout and diagnostics to stderr.
Requirements
Node.js 20 or later
Network access to
https://m3.material.io
Behavior
Reads the live site with a thirty-minute in-process cache keyed by the Carbon content version, so a content revision invalidates entries on its own; concurrent requests share one upstream operation.
Warms the directory at startup (
MD3_WARMUP=0disables it) so the first browse or search does not pay for the site index, main bundle, and sitemap.Returns line-oriented text (one entry per line, tab-separated) instead of pretty-printed JSON, keeps one URL per source instead of repeating it under every excerpt, and sends the document outline on the first page of a paginated read (or again on request, through
includeOutline).Context gathering reads only the documents it cites, topping up when a candidate fails.
Requests time out after ten seconds and retry transient failures once, honoring
Retry-Afterup to ten seconds.Pagination breaks only between sections, content blocks, paragraphs, tables, and complete code fences, so rendered Markdown stays intact.
Paths are restricted to clean official URLs under
foundations,styles, andcomponents.Errors are stable JSON objects with a code, message, and
retryableflag.No persistent cache is written.
The Material site uses unpublished structured endpoints. If their schema changes, tools return
UPSTREAM_SCHEMA; the opt-in live test diagnoses compatibility.
Development
git clone https://github.com/ChouChiu/MD3-Docs-MCP.git
cd MD3-Docs-MCP
bun install --frozen-lockfile
bun run check
bun run test
bun run test:live
bun run buildThe source is feature-driven: each feature owns its tool registration, service, and supporting
modules, while the live-site client and shared capabilities stay outside the features. Tests
live in src/test/; published packages contain compiled JavaScript in dist/ and do not
install TypeScript or tsx.
Live tests contact m3.material.io only when MD3_LIVE_TESTS=1.
License
The server source is available under the MIT License. Material Design documentation, media, trademarks, and remotely fetched content remain the property of their respective owners and are not covered by this repository's license. All returned evidence retains its official source URL.
Available Tools
3 toolslist_md3_docsList Material Design 3 documentationARead-only
List live Material Design 3 Foundations, Styles, and Components documents.
Inputs: limit, cursor, prefix, category. Returns: object
read_md3_docRead Material Design 3 documentationARead-only
Read a live Material Design 3 document as English Markdown, with section selection and cursor pagination.
Inputs: path (required), cursor, section, maxCharacters. Returns: object
search_md3_docsSearch Material Design 3 documentationBRead-only
Search the live Material Design 3 site, restricted to Foundations, Styles, and Components.
Inputs: query (required), limit, cursor, category. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clear, distinct purpose: listing available documents, searching for content, and reading a specific document. There is no overlap or ambiguity between them.
All tools follow a consistent verb_md3_doc pattern with snake_case, using 'list', 'search', and 'read' as clear action prefixes.
Three tools is a perfect fit for a documentation-focused server: discover (list), find (search), and retrieve (read). Not too few, not too many.
The set covers the core workflow of discovering, searching, and reading docs. A minor gap might be the absence of a direct document listing by category, but list_md3_docs already returns all docs, and search can filter.
Maintenance
Related MCP Connectors
Web search, fetch, extract, and research for AI agents. Markdown output + AI-synthesized answers.
Web pages as Markdown, text or HTML, plus Google Maps places and reviews, for AI agents.
Tailor Platform for AI assistants: search, list and read the platform documentation.
Read authorized public pages as Markdown or HTML metadata. Operated by an autonomous AI agent.
Related MCP Servers
- FlicenseBqualityDmaintenanceProvides real-time access to Material-UI component documentation, enabling users to search, browse, and generate MUI React components with up-to-date props and examples directly from official documentation.5-
- FlicenseNot gradedqualityCmaintenanceProvides AI assistants with comprehensive access to Material UI documentation, component details, and setup guides for building React applications. It enables searching through 50+ components and provides structured information on imports, customization, and best practices.2-
- AlicenseNot gradedqualityCmaintenanceEnables browsing Material Design 3 documentation by listing top-level sections and retrieving page content as Markdown.GPL 3.0
- AlicenseAqualityDmaintenanceProvides programmatic access to Material Web documentation and components for AI agents, enabling documentation search, template generation, and HTML validation.714 npm1MIT