Microsoft Learn MCP Server
Search and read official Microsoft documentation and code samples, no sign-in needed.
Officialby MicrosoftHosted, nothing to installChecked November 8, 2026
Microsoft Learn MCP Server is Microsoft's free, official server for its documentation: Claude can search Microsoft Learn, fetch whole articles as Markdown and find official code samples on Azure, .NET, Microsoft 365, Power Platform and more. It is hosted at learn.microsoft.com/api/mcp, needs no account or API key, and has been generally available since November 7, 2025. Microsoft updates the index as docs change and runs a full refresh once a day.
Who is Microsoft Learn MCP for?
- Developers building on Azure, .NET or Microsoft 365
- IT admins looking up configuration steps
- Anyone who wants answers based on current Microsoft docs
What can you ask Microsoft Learn MCP to do?
Once it is connected, ask in plain words. Your AI tool decides when to use the server and asks before it changes anything important.
Search Microsoft Learn for how to set up a managed identity for an Azure Function and summarize the steps.Find an official C# code sample for uploading a file to Azure Blob Storage.Look up the Microsoft Learn docs on Power Automate approval flows and outline how to build one.How to connect Microsoft Learn to Claude
MCP is an open standard. The setup steps below cover this server in Claude Code, Claude app, Codex, ChatGPT, Cursor, VS Code, Gemini CLI, Antigravity, OpenCode, Windsurf. Pick your tool:
New to MCP? Read what an MCP server is and how to add one.
Connect the Microsoft Learn MCP server to Claude Code for me: run this command: claude mcp add --transport http microsoft-learn https://learn.microsoft.com/api/mcp
If a value starts with YOUR_, ask me for it first. When it is connected, help me sign in if needed and show me one thing I can ask it to do.Or do it yourself:
claude mcp add --transport http microsoft-learn https://learn.microsoft.com/api/mcpType /mcp inside Claude Code, pick the server and choose Authenticate to sign in.
Hosted address: https://learn.microsoft.com/api/mcp
Unlock the setup steps
Free. Leave your email once to open the setup steps for all 152 servers, and get the best new connectors each month.
Good to know
Microsoft also documents a Claude Code plugin route (/plugin install microsoft-docs@claude-plugins-official) that adds this server plus skills; the URL returns 405 in a web browser, which is expected.
How did we check Microsoft Learn MCP?
On November 8, 2026 we reread Microsoft's Learn MCP overview (updated May 22, 2026) and release notes, then called the hosted endpoint with no sign-in: it listed 3 tools and answered a docs search and a C# code sample search with 10 results each. The server itself is closed source; the MicrosoftDocs/mcp repo holds docs, the CLI and the plugin. Microsoft's MCP Server overview (learn.microsoft.com/en-us/training/support/mcp) showed a last update of May 22, 2026, checked November 22, 2026.
What do people ask about Microsoft Learn MCP?
Is the Microsoft Learn MCP server free?
Yes. Microsoft says there is no charge and no authentication. By using it you agree to the Microsoft Learn Terms of Use.
What does a Microsoft Learn search return?
In our check on November 8, 2026, a search for setting up a managed identity for an Azure Function returned 10 excerpts from 6 different Learn pages, each with a link to its section. Several excerpts came from the same article, so let Claude fetch the best page in full before it answers.
Can I use it without an MCP client?
Yes. Microsoft's @microsoft/learn-cli package, released March 10, 2026, offers the same search, fetch and code sample tools in a terminal, without any AI tool in between.
Does it include my Microsoft Learn training or private content?
No. It covers publicly available documentation only, not training records or user profile information.
We wrote these answers from the official pages of each product named, read on November 8, 2026.
More developer tool servers
Using servers like Microsoft Learn from Claude Code? Our Claude Code course, in early access, goes from your first command to a landing page, an AI video and a working agent.
