Skip to main content
MCP server CX Codex

Microsoft Learn MCP — Claude Code MCP server: what it does, install

Search Microsoft’s official technical docs and code samples, or fetch a documentation page as Markdown. Useful when an agent needs current guidance for Azure or .NET.

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http microsoft-learn-mcp https://learn.microsoft.com/api/mcp
Open on GitHub

What Microsoft Learn MCP does

The server offers three tools: semantic search across Microsoft technical documentation, fetching a documentation page as Markdown, and searching official Microsoft and Azure code samples. Code sample searches can include a programming language filter.

Connect over HTTP at https://learn.microsoft.com/api/mcp; no API key is needed. Use an MCP client to connect. Opening the endpoint directly in a browser may return 405 Method Not Allowed.

What it helps with

  • find Microsoft documentation for an Azure service or API
  • fetch a documentation page as Markdown
  • search for an official code sample in a chosen language

Example prompts for the agent

  • Find Microsoft documentation on setting up managed identity for Azure Container Apps.
  • Search for an official IHttpClientFactory example in a .NET minimal API.
  • Fetch the Microsoft documentation page for Azure Functions as Markdown.

How to install Microsoft Learn MCP

Platform CLI: remote server

claude mcp add --transport http microsoft-learn-mcp https://learn.microsoft.com/api/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Microsoft Learn MCP

How do I install Microsoft Learn MCP in Claude Code?

Run claude mcp add --transport http microsoft-learn-mcp https://learn.microsoft.com/api/mcp.

What does Microsoft Learn MCP do?

It searches Microsoft’s official technical documentation and code samples, and can fetch documentation pages as Markdown.

Do I need an API key to connect?

No. Connect over HTTP to https://learn.microsoft.com/api/mcp without an API key.

Similar MCP servers

Everything for Writing and docs →

From the same set2

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor