MCP server · Documentation + context
Microsoft Learn MCP
Search Microsoft Learn docs and code samples and fetch full pages from Microsoft's hosted MCP server: no key, three tools, all marked read-only.
Quick verdict
A low-risk, no-setup, first-party documentation server and the obvious companion for anyone writing code against Microsoft's platforms. Prefer microsoft_docs_fetch on the pages search finds when exact parameters or limits matter.
- MaintainerMicrosoft (official)
- Security scopeRead-only
- Transportsstreamable-http
- Install channelremote · https://learn.microsoft.com/api/mcp
- EvidenceNot tested yet (sources checked)
- LicenseProprietary · Proprietary hosted service
Microsoft Learn MCP is Microsoft's hosted MCP server for its official documentation, an interface to the knowledge service behind Ask Learn and Copilot for Azure. It has three tools: microsoft_docs_search returns up to 10 excerpts with titles and URLs, microsoft_code_sample_search returns up to 20 code samples with an optional language filter, and microsoft_docs_fetch returns a full Microsoft documentation page as Markdown. Microsoft annotates all three as read-only. No key or sign-in is needed and Microsoft says there is no charge, though the endpoint is rate limited and the limits are not published. It covers public documentation, not Learn training or profile content, and Microsoft says the index refreshes incrementally after content changes, with a full refresh daily. Use is under the Microsoft Learn Terms of Use.
Install Microsoft Learn MCP
Microsoft-hosted endpoint; nothing to install and no key or sign-in. The server key microsoft-learn is the one Microsoft's own configuration uses, so a reader who also installs Microsoft's plugin ends up with one server, not two. Visual Studio 2022 17.13 and later include it as a built-in server; Microsoft says to remove a manually added entry with the same name. Microsoft documents an experimental maxTokenBudget query parameter that caps search results. Microsoft's Azure MCP Server is a different server.
http https://learn.microsoft.com/api/mcp
{
"mcpServers": {
"microsoft-learn": {
"type": "http",
"url": "https://learn.microsoft.com/api/mcp"
}
}
}Credentials
No credentials required.
Verified configurations
Not run by us yet. This profile is Not tested yet (sources checked): the install channel, config entry, credentials and license were checked against the source and upstream metadata, but no configuration has been installed, discovered and executed in a recorded environment. When one is, it appears here with the eight scope dimensions below.
Best for
Coding agents and developers working with Azure, .NET, Microsoft 365, Windows, Power BI, Dynamics or other Microsoft technologies who want answers and code grounded in Microsoft's current official documentation rather than model memory.
Why use it
It is Microsoft's own, generally available server over Microsoft's own documentation, with no key, sign-up or charge, a narrow surface of three tools that Microsoft marks read-only, and a dedicated code sample search alongside page search and fetch.
Tradeoffs
Queries go to Microsoft, and no MCP page says how they are logged or retained. Use is under the Microsoft Learn Terms of Use, which say the services are for personal and non-commercial use unless otherwise specified, while Microsoft's MCP FAQ says you can build agents for others, so check the terms before building a commercial product on it. It is rate limited without published figures. Microsoft says the tools and their formats can change at any time. Fetch returns whole pages, which can be long. Coverage is Microsoft's documentation only, and Microsoft does not say which languages are indexed. It is a closed, hosted service with no self-hosted option; the GitHub repository holds plugins, skills and a CLI, not the server.
Upstream state
in the official MCP Registry (active). Lifecycle is derived from a committed upstream snapshot at build time, never authored by hand.
Official MCP Registry name: com.microsoft/microsoft-learn-mcp
Editorial details
Grade B: Not tested yet (sources checked). Re-review is due by 2027-05-14. Config entries, credential names and package status can change upstream; verify against the official documentation before granting an agent access.
Sources
- Microsoft Learn: Microsoft Learn MCP Server overview (endpoint, transport, no auth, no charge, terms, corpus, refresh)
- Microsoft Learn: MCP Server developer reference (endpoint, tools, changing tool list)
- Microsoft Learn: MCP Server release notes (release 2025-06-12, GA 2025-11-07)
- Microsoft Learn: MCP Server FAQ (rate limits, data changes, no filtering, use under the terms)
- Microsoft Learn: MCP Server best practices (maxTokenBudget, dynamic tool discovery)
- Microsoft Learn Terms of Use
- MicrosoftDocs/mcp repository (README, tools, client configs, CLI, plugins)
- MicrosoftDocs/mcp .mcp.json (Microsoft's client config)
- Official MCP Registry: com.microsoft/microsoft-learn-mcp
Related MCP servers
- monday.com MCPmonday.com's hosted server for boards, items, updates, docs and automations. It acts as the signed-in user and can create, change and delete.
- AWS Documentation MCPSearch and read official AWS documentation through MCP without giving the agent credentials to your AWS account.
- Cloudflare Docs MCPGive MCP agents current Cloudflare documentation context without granting any access to your Cloudflare account.