Microsoft Learn MCP
Search Microsoft Learn documentation and official code samples, then fetch pages as Markdown through a remote MCP endpoint.
Install Microsoft Learn MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"microsoft-learn-mcp": {
"command": "npx",
"args": [
"-y",
"@microsoft/learn-cli"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
We couldn’t confirm it starts correctly
The install command installed and started the server, which then stopped for configuration (such as an API key) that our sandbox does not have — expected for servers that connect to your account.
npx -y @microsoft/learn-cliNo response to initialize.
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 20d ago.
Overview
Use cases
- Search Microsoft documentation for Azure configuration guidance
- Fetch a Microsoft Learn page as Markdown for an AI agent
- Find official Azure code samples by programming language
- Verify Microsoft API usage against current first-party documentation
Key features
- Semantic search across official Microsoft documentation
- Markdown conversion for Microsoft Learn pages
- Search for official Microsoft and Azure code samples
- Optional programming-language filtering
- Remote Streamable HTTP access without an API key
- Experimental OpenAI-compatible endpoint
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 3d ago via OSV.dev · @microsoft/learn-cli (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Microsoft Learn MCP works
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Microsoft Learn MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/microsoft-learn-mcp)<a href="https://allmcps.com/mcp/microsoft-learn-mcp"><img src="https://allmcps.com/api/badge/microsoft-learn-mcp?style=directory" alt="Microsoft Learn MCP on AllMCPs" /></a>