Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Microsoft Learn MCP

MCP server by MicrosoftDocs Verified · microsoft.com

Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.

  • Score 94
  • 2k stars
  • CC-BY-4.0
  • Updated

Install Microsoft Learn MCP

Built from the published package, never by AI.

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

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Microsoft Learn MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the microsoft-learn-mcp block.

About

Microsoft Learn MCP is an MCP server from MicrosoftDocs. It connects an AI assistant to the official Microsoft Learn documentation so the assistant can search docs, fetch pages as markdown, and find official code snippets. The server is reached through a remote endpoint at https://learn.microsoft.com/api/mcp using Streamable HTTP, and the source says no API key, login or sign-up is required.

The source says the tools only access official first-party Microsoft documentation. It is aimed at developers who use clients such as VS Code, Claude Code, Cursor, Codex and Visual Studio and want code and API answers that match current Microsoft guidance. The project also offers agent skills, an optional terminal CLI called @microsoft/learn-cli, and experimental endpoint options.

Written from the project's README and checked against it.

Tools it gives your assistant

  • microsoft_docs_searchPerforms semantic search against Microsoft official technical documentation.
  • microsoft_docs_fetchFetches a Microsoft documentation page and converts it into markdown.
  • microsoft_code_sample_searchSearches official Microsoft and Azure code snippets and examples, with an optional language filter.

What you need

  • An MCP-compatible client that supports Streamable HTTP
  • A supported client such as VS Code, Claude Code, Cursor or Codex

Try asking

  • Give me Azure CLI commands to create a Container App with a managed identity.
  • Is gpt-5.4 available in Azure EU regions?
  • Show me runnable Python code for harms eval with the Azure AI Foundry SDK.

Good to know

  • Experimental features such as the OpenAI-compatible endpoint and token budget may change.
  • The endpoint is meant for MCP clients and may return 405 Method Not Allowed in a browser.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Microsoft Learn MCP

All alternatives →
Azure MCP Server microsoft
100

Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.

AAA Local 261k/wk
openstatus openstatusHQ
98

Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.

ACA Remote 9.3k
SmartBear MCP SmartBear
97

SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.

AAC Local and remote 20k/wk
Fettle fettlesh
97

Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.

AAC Local and remote 22k/wk
Superlog superloglabs
95

Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.

AAA Remote 1.5k
OneUptime OneUptime
94

OneUptime is an open-source observability platform for monitoring, incidents, on-call paging, status pages and telemetry. Its MCP server lets assistants like Claude and Cursor look into incidents, query logs and traces, acknowledge alerts and set up monitors.

AFA Remote 7.9k

Compare with Azure MCP Server, openstatus or SmartBear MCP

Microsoft Learn MCP: common questions

Does Microsoft Learn MCP need an API key?

No. The source says there are no API keys, logins or sign-ups required to use the server.

What sources does Microsoft Learn MCP search?

The source says it only accesses official first-party Microsoft documentation, not general web search results or third-party blogs.

Can I use Microsoft Learn MCP without an MCP client?

The source says the @microsoft/learn-cli npm package gives terminal access to the same search, fetch and code sample tools.

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. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Microsoft Learn MCP the official server?

Microsoft Learn MCP is published by microsoft.com from its verified domain in the official MCP Registry.

Is Microsoft Learn MCP free?

The code is published under the CC-BY-4.0 licence. The service it connects to may have its own pricing.

Is Microsoft Learn MCP safe to use?

It scores 94 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Microsoft Learn MCP?

Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.

Does Microsoft Learn MCP work with ChatGPT?

Yes. Add its server URL in ChatGPT as a custom connector. See MCP in ChatGPT.

Microsoft Learn MCP Install

Add to stack

Loading.