mcpbeat

Microsoft Learn MCP Server

com.microsoft/microsoft-learn-mcp
answering

Microsoft Learn MCP is answering right now. Last checked 10 min ago. It exposes 3 tools. Last commit 10 May 2026.

Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.

Uptime history 41 hours of history
41 hours agonow
100.0%
Uptime 24h
91 of 91 checks
3
Tools
read from the server
223 ms
Response time
average over 24h
1809
Stars
last commit 10 May 2026

Connect this server

Endpoint below is the one we actually reach during checks — not the one copied from a README. Last verified 10 min ago.

run in your terminal
claude mcp add microsoft-learn-mcp --transport http https://learn.microsoft.com/api/mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "microsoft-learn-mcp": {
      "url": "https://learn.microsoft.com/api/mcp"
    }
  }
}
~/.codex/config.toml
[mcp_servers.microsoft-learn-mcp]
url = "https://learn.microsoft.com/api/mcp"
.cursor/mcp.json
{
  "mcpServers": {
    "microsoft-learn-mcp": {
      "url": "https://learn.microsoft.com/api/mcp"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "microsoft-learn-mcp": {
      "url": "https://learn.microsoft.com/api/mcp"
    }
  }
}

Available tools 3

Read directly from the server with tools/list, grouped by what they act on. If a tool disappears, we record the date.

microsoft
microsoft_code_sample_search
Search 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_fetch
Fetch 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_search
Search 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.

Endpoints

URLTransportStateLatencyChecked
https://learn.microsoft.com/api/mcp streamable-http answering 217 ms 10 min ago

Microsoft Learn MCP — questions

Answers built from our own checks of this server.

What can Microsoft Learn MCP do?
It exposes 3 tools, read directly from the server on our last check. Among them: microsoft_code_sample_search, microsoft_docs_fetch, microsoft_docs_search. The full list with descriptions is on this page — we take it from the server itself via tools/list, not from a README. How MCP servers expose tools in the first place →
Is Microsoft Learn MCP working right now?
We send a real MCP handshake every 15 minutes. Over the last 24 hours 91 of 91 checks got a reply (100.0%), average response time 223 ms. The bar chart above shows every period we have measured.
How do I connect Microsoft Learn MCP?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It is a remote server, so there is nothing to install — the client connects to the address.
Does Microsoft Learn MCP need an API key?
No. Microsoft Learn MCP completed a full MCP handshake with us as an anonymous client and listed its tools without asking for anything. All 3 of them are readable on this page. This is what we observed, not what the docs claim.
How fast is Microsoft Learn MCP?
It answers our handshake in 223 ms on average, which is faster than 58% of all working MCP servers we measure. The comparison comes from our own checks across the whole registry, every 15 minutes.
Is Microsoft Learn MCP open source?
Yes — it is published under the CC-BY-4.0 licence, written in TypeScript, 1 809 stars on GitHub and 8 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.