Microsoft Learn MCP server
online · 100% uptimecom.microsoft/microsoft-learn-mcp·v1.0.0·1.9k starsOfficial Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
1.9k stars
Reviews
Write oneNobody has reviewed Microsoft Learn MCP yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Microsoft Learn MCP tools (3)
write = sends, deletes, buys or postsmicrosoft_code_sample_searchFreeSearch for code snippets and examples in official Microsoft Learn documentation. This tool retrieves relevant code samples from Microsoft documentation pages providing developers with practical implementation examples and best practices for Microsoft/Azure products and services related coding tasks. This tool will help you use the **LATEST OFFICIAL** code snippets to empower coding capabilities. ## When to Use This Tool - When you are going to provide sample Microsoft/Azure related code snippets in your answers. - When you are **generating any Microsoft/Azure related code**. ## Usage Pattern Input a descriptive query, or SDK/class/method name to retrieve related code samples. The optional parameter `language` can help to filter results. Eligible values for `language` parameter include: csharp javascript typescript python powershell azurecli al sql java kusto cpp go rust ruby php
microsoft_docs_fetchFreeFetch and convert a Microsoft Learn documentation webpage to markdown format. This tool retrieves the latest complete content of Microsoft documentation webpages including Azure, .NET, Microsoft 365, and other Microsoft technologies. ## When to Use This Tool - When search results provide incomplete information or truncated content - When you need complete step-by-step procedures or tutorials - When you need troubleshooting sections, prerequisites, or detailed explanations - When search results reference a specific page that seems highly relevant - For comprehensive guides that require full context ## Usage Pattern Use this tool AFTER microsoft_docs_search when you identify specific high-value pages that need complete content. The search tool gives you an overview; this tool gives you the complete picture. ## URL Requirements - The URL must be a valid HTML documentation webpage from the microsoft.com domain - Binary files (PDF, DOCX, images, etc.) are not supported ## Output Format markdown with headings, code blocks, tables, and links preserved.
microsoft_docs_searchFreeSearch official Microsoft/Azure documentation to find the most relevant and trustworthy content for a user's query. This tool returns up to 10 high-quality content chunks (each max 500 tokens), extracted from Microsoft Learn and other official sources. Each result includes the article title, URL, and a self-contained content excerpt optimized for fast retrieval and reasoning. Always use this tool to quickly ground your answers in accurate, first-party Microsoft/Azure knowledge. ## Follow-up Pattern To ensure completeness, use microsoft_docs_fetch when high-value pages are identified by search. The fetch tool complements search by providing the full detail. This is a required step for comprehensive results.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- –Code scanremote-only server, no package to scann/a
- Live reliabilityremote reachable in 767ms20/20
- Tool poisoning3 tool descriptions checked15/15
- Auth qualityopen endpoint, read-only tools10/15
- Maintenancelast push 18 days ago15/15
- Maintainer identitynamespace and repository owner differ; GitHub account older than a year6/10
How Microsoft Learn MCP compares
Against every graded Productivity MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 75% of 1,299 Productivity servers
- Tools
- 3
- the typical Productivity server has 7
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- Uptime
- 100%
- of our recent checks; the typical remote Productivity server answers 100%
- Response time
- 377 ms
- faster than 37% of 655 Productivity servers
- GitHub stars
- 1,916
- more than 95% of 854 Productivity servers
What its tools let an agent do: 3 read
Install Microsoft Learn MCP in Claude Code, Cursor or VS Code
claude mcp add --transport http microsoft-learn-mcp https://learn.microsoft.com/api/mcp
What the publisher says
From the Microsoft Learn MCP repository's README, as published. We do not edit it. Read it on GitHub
🌟 Microsoft Learn MCP Server
Stop AI Hallucinations. Give your AI assistant (Claude, Cursor, Copilot, Codex, ...) direct access to the latest official Microsoft documentation.
✨ Free. One-click install. No key needed.
🎯 Why install this?
Stop relying on outdated training data or risky web searches. Learn MCP server provides secure, direct access to Microsoft official docs.
Stop your AI from inventing non-existent Azure SDK methods or hallucinating library packages. Get code that actually compiles.
- 🧠 Eliminate Hallucinations.
No API keys, no logins, no sign-ups required. Just one-click install and start coding immediately.
- 🔌 Plug & Play (No Auth).
Protect your supply chain. Unlike generic web searches that may scrape insecure blogs or malicious sites, this tool only accesses official 1st-party Microsoft documentation.
- 🛡️ 100% Trusted & Safe.
- 💸 Completely Free. High search capacity tailored for seamless, heavy coding sessions.
✨ Example Prompts
"Give me the Azure CLI commands to create an Azure Container App with a managed identity."
"Is gpt-5.4 available in Azure EU regions?"
"Are you sure this is the right way to implement IHttpClientFactory in a .NET 8 minimal API?"
"Show me runnable Python code to do harms eval using the Azure AI Foundry evaluation SDK."
🌐 The Microsoft Learn MCP Server Endpoint
The Microsoft Learn MCP Server is accessible to any IDE, agent, or tool that supports the Model Context Protocol (MCP). Any compatible client can connect to the following remote MCP endpoint:
https://learn.microsoft.com/api/mcpNote: This URL is intended for use within a compliant MCP client via Streamable HTTP, such as the recommended clients listed in our Getting Started section. It does not support direct access from a web browser and may return a 405 Method Not Allowed error if accessed manually. For developers who need to build their own solution, please follow the mandatory guidelines in the Building a Custom Client section to ensure your implementation is resilient and supported.
Standard config works in most clients:
{
"servers": {
"microsoft-learn": {
"type": "http",
"url": "https://learn.microsoft.com/api/mcp"
}
}
}For experimental features, see the Experimental Features section below.
🧪 Experimental Features
The Microsoft Learn MCP Server offers experimental features that are under active development. These features may change or be refined based on user feedback and usage patterns.
OpenAI-Compatible Endpoint
For applications that require OpenAI Deep Research model compatibility, you can use the OpenAI-compatible endpoint:
https://learn.microsoft.com/api/mcp/openai-compatibleThis endpoint supports OpenAI Deep Research models and follows the OpenAI MCP specification.
Token Budget Control
To manage token usage and control costs, you can append the maxTokenBudget query parameter to the MCP endpoint URL. This parameter limits the token count in search tool responses by truncating the content to meet your specified budget.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Microsoft Learn MCP: common questions
- Is Microsoft Learn MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the Microsoft Learn MCP safety report
- How do I install Microsoft Learn MCP?
- It runs remotely at learn.microsoft.com. Add it to Claude Code, Cursor, VS Code or Claude Desktop with the snippets above, or call it through the mcp.market gateway without installing anything.
- Does Microsoft Learn MCP need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Microsoft Learn MCP maintained?
- The last commit was 55 days ago (2026-09-10). The latest release is v1.0.0.
- Is Microsoft Learn MCP up?
- 100% of our last 28 checks got an answer. We check remote servers about four times a day.
- What can I use instead of Microsoft Learn MCP?
- Servers from other publishers that do the same job: Sceneview MCP server, SceneView MCP server and Sceneview MCP server. Compare all Microsoft Learn MCP alternatives.
- How does Microsoft Learn MCP compare with other Productivity MCP servers?
- safety score 88/100 (higher than 75% of 1,299 Productivity servers); tools 3 (the typical Productivity server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Microsoft Learn MCP
Same job from other publishers: the closest match first, then the best rated.
- Sceneview3D & AR SDK for Android, iOS, Web — API docs, samples, validation, and code generation.not reviewedEstablishedA
- SceneView3D & AR SDK for Android, iOS, Web — API docs, samples, validation, and code generation.not reviewedEstablishedA
- Sceneview3D & AR SDK for Android, iOS, Web — API docs, samples, validation, and code generation.not reviewedEstablishedA
- Electrik SlateRead-only MCP for Electrik Slate: Blade component docs, blocks gallery, source, and llms.txt.not reviewedGrowingA
Context7Up-to-date docs for AI agentsnot reviewedWidely usedA