Microsoft Learn MCP
What it does
Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
- Connects Läuft in der Cloud
- Account or key No key needed
- Category Suche & KI-Gedächtnis
Installation
Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.
4/4 Prüfungen bestanden · Was du fragst, läuft über den Server des Anbieters (learn.microsoft.com) · ✓ Befehle geprüft am 13. Nov. 2026
Zuerst: Welche KI nutzt du?
Wähle deine App, dann erscheinen die Schritte unten.
Direkt in der Claude-App installieren, ohne Einrichtung
Microsoft Learn steht in der Liste, die Claude bereits ausgewählt hat. Folge den Schritten unten.
Claude hat eine eingebaute Liste geprüfter Werkzeuge, die du ohne Kopieren von Einstellungen installieren kannst. · In Claudes Liste · geprüft am 13. Nov. 2026
Öffne Claude im Web (claude.ai) oder die App Claude Desktop
Klicke links in der Seitenleiste auf „Customize“
Customize
Wähle den Tab „Connectors“ und klicke auf „+“ neben Connectors
CustomizeConnectors+
Gib „Microsoft Learn“ ins Suchfeld ein oder suche in der Liste und klicke darauf
Klicke auf „Connect“ (manche zeigen „Install“)
Melde dich beim Dienst an, falls gefragt
Im Chat einschalten: „+“ unten links im Chat → „Connectors“ → Microsoft Learn einschalten
Ausprobieren
Nutze Microsoft Learn MCP und sag mir, was du für mich tun kannst; zeig mir dann eine Sache✓ Wenn Claude sagt, dass es Microsoft Learn MCP nutzt, oder ein Werkzeug von Microsoft Learn MCP in der Antwort zeigt, bist du verbunden
Menünamen sind englisch wie auf Claudes Bildschirm
Menünamen am 13. Nov. 2026 mit der Hilfe von Anthropic abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen
Anderer Weg: selbst per URL hinzufügen (custom connector)
Klappt mit Claude · etwa 2 Min.
Kein Schlüssel, nichts zu installieren · Einmal auf claude.ai oder in der Desktop-App einrichten, dann im Chat nutzen · kostenlose Konten können 1 hinzufügen · bei Team/Enterprise fügt ein Owner ihn hinzu
Öffne die Connectors-Seite von Claude
CustomizeConnectors
Klicke „Add“ → „Custom“ → „Web“ und fülle diese 2 Felder aus
Kopiere jeden Wert in das gleichnamige Feld in Claude und klicke Continue
Name · NameMicrosoft Learn MCPRemote MCP server URL · Adressehttps://learn.microsoft.com/api/mcpKlicke auf der von Claude erkannten Anmelde-Seite auf Continue · wähle bei Authentication, was der Anbieter angibt (Sign in now, Sign in when needed oder No sign in), dann Add
Im Chat einschalten
+ConnectorsMicrosoft Learn MCP
Ausprobieren
Nutze Microsoft Learn MCP und sag mir, was du für mich tun kannst; zeig mir dann eine Sache✓ Wenn Claude sagt, dass es Microsoft Learn MCP nutzt, oder ein Werkzeug von Microsoft Learn MCP in der Antwort zeigt, bist du verbunden
Menünamen am 11. Nov. 2026 mit der Hilfe von Anthropic abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen
Klappt mit ChatGPT je nach Tarif
Volles MCP: ChatGPT Business, Enterprise oder Edu im Web · Pro: verbindet mit Lese-/Abrufrechten, Werkzeuge, die Daten ändern, gehen evtl. nicht · Plus: in der Doku nicht bestätigt; siehst du auf der Plugins-Seite eine Option für eigene MCP-Server, kannst du es versuchen · nur Web
In ChatGPT im Web die Seite zum Hinzufügen von MCP öffnen
Plugins+Add custom MCP server
Name und Adresse eintragen
Namen eingeben, Adresse unter Connection einfügen, Risikohinweis abhaken und Create as a plugin klicken
Name · NameMicrosoft Learn MCPConnection · Adressehttps://learn.microsoft.com/api/mcpMicrosoft Learn MCP im Chat auswählen
Neuen Chat öffnen und vor dem Tippen Microsoft Learn MCP aus deinen Plugins wählen
Ausprobieren
Nutze Microsoft Learn MCP und sag mir, was du für mich tun kannst; zeig mir dann eine Sache✓ Wenn ChatGPT sagt, dass es Microsoft Learn MCP nutzt, oder ein Werkzeug von Microsoft Learn MCP in der Antwort zeigt, bist du verbunden
Menünamen am 11. Nov. 2026 mit der Hilfe von OpenAI abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen
Klappt mit Claude Code · etwa 2 Min.
Kein Schlüssel, nichts zu installieren
Terminal öffnen
Mac: Command+Leertaste drücken und Terminal tippen · Windows: PowerShell öffnen
Diesen Befehl einfügen und Enter drücken
claude mcp add --transport http --scope user microsoft-learn https://learn.microsoft.com/api/mcp/mcp in Claude Code eingeben
Microsoft Learn MCP sollte in der Liste als verbunden erscheinen
Ausprobieren
Nutze Microsoft Learn MCP und sag mir, was du für mich tun kannst; zeig mir dann eine Sache✓ Wenn Claude Code sagt, dass es Microsoft Learn MCP nutzt, oder ein Werkzeug von Microsoft Learn MCP in der Antwort zeigt, bist du verbunden
Menünamen am 11. Nov. 2026 mit der Hilfe von Anthropic abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen
Klappt mit Cursor · etwa 2 Min.
Kein Schlüssel, nichts zu installieren
KI-Chat in Cursor im Agent-Modus öffnen
Ausprobieren
Nutze Microsoft Learn MCP und sag mir, was du für mich tun kannst; zeig mir dann eine Sache✓ Wenn Cursor sagt, dass es Microsoft Learn MCP nutzt, oder ein Werkzeug von Microsoft Learn MCP in der Antwort zeigt, bist du verbunden
Menünamen am 11. Nov. 2026 mit der Hilfe von Cursor abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen
Klappt mit VS Code · etwa 2 Min.
Kein Schlüssel, nichts zu installieren
Mit diesem Button VS Code öffnen
VS Code fragt nach einer Bestätigung; klicke Install
KI-Chat in VS Code im Agent-Modus öffnen
Ausprobieren
Nutze Microsoft Learn MCP und sag mir, was du für mich tun kannst; zeig mir dann eine Sache✓ Wenn VS Code sagt, dass es Microsoft Learn MCP nutzt, oder ein Werkzeug von Microsoft Learn MCP in der Antwort zeigt, bist du verbunden
Menünamen am 11. Nov. 2026 mit der Hilfe von VS Code abgeglichen · dein Bildschirm kann je nach App-Version leicht abweichen
Andere Apps mit MCP, etwa Windsurf, Zed oder Gemini CLI, fügen Server unterschiedlich hinzu. Sieh in der App-Liste nach
Adresse für Apps, die über das Web verbinden
https://learn.microsoft.com/api/mcpJSON-Einstellungen stehen unten unter „Für Entwickler“
Für Entwickler: Terminal-Befehle und JSON-Einstellungen
Über das Web
Claude Code
claude mcp add --transport http --scope user microsoft-learn https://learn.microsoft.com/api/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"microsoft-learn": {
"url": "https://learn.microsoft.com/api/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"microsoft-learn": {
"type": "http",
"url": "https://learn.microsoft.com/api/mcp"
}
}
}Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.
Auf einen Blick
- GitHub-Sternei
- 1.985
- Downloads pro Wochei
- Nicht auf npm/PyPI
- Bestätigte Domain
- ✓ microsoft.com
- Verbindung
- Läuft in der Cloud
- Transport
- streamable-http
- Neueste Versioni
- 1.0.0
- Kategoriei
- Suche & KI-Gedächtnis
- In der Registry veröffentlichti
- 21. Nov. 2025
- Code zuletzt geänderti
- 30. Okt. 2026
- Entwickler
- MicrosoftDocs
- Website
- github.com
- Registry-Status
- Aktiv
Welche Apps ihn nutzen können
Basierend darauf, wie sich dieser Server verbindet, und auf der eigenen Doku jeder App, geprüft am 10. Nov. 2026.
Verbinden sich über das Internet in
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
Was er kann
Tool-Namen und -Beschreibungen genau so, wie der Server sie am 12. Nov. 2026 gemeldet hat. Geschrieben hat sie der Entwickler, nicht wir; wir zeigen sie als reinen Text.
microsoft_docs_searchSearch 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 ar
microsoft_code_sample_searchSearch 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 r
microsoft_docs_fetchFetch 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
Basischecksi
Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 13. Nov. 2026
- ✓ Bestanden
Entwickler passt zum Repo
Der Registry-Name wurde über die Domain microsoft.com bestätigt (die Registry prüft, wem die Domain gehört)
- ✓ Bestanden
Wird noch gepflegt
Code zuletzt geändert: vor 14 Tagen
- – Nicht zutreffend
Hat eine Lizenz
Nicht relevant: Cloud-Server des Inhabers von microsoft.com; du führst keinen Code aus dem Repo aus
- ✓ Bestanden
Endpunkt antwortet
Antwort in 66 ms (HTTP 200)
- – Nicht zutreffend
Anmeldung mit OAuth
Keine Anmeldung nötig
- ✓ Bestanden
Keine versteckten Anweisungen in Tool-Beschreibungen
Wir haben 3 Tool-Beschreibungen gelesen und keine versteckten Anweisungen an die KI gefunden
Diskussion
Fragen, Tipps teilen oder melden, dass etwas nicht geht. Sortiert nach „hilfreich“.
Noch keine Beiträge. Stell die erste Frage oder teile einen Tipp.
Beiträge hier stammen von Nutzern, nicht vom PopNx-Team.
Nutzerbewertungen
Noch keine Bewertungen
Im Vergleich mit anderen in Suche & KI-Gedächtnisi
- Mehr Sterne als 99 % der anderen 6034 Server in dieser Kategorie
- Neuer in der Registry veröffentlicht als 1 % der anderen 6034 Server in dieser Kategorie
- Basischecks gleich gut wie oder besser als bei 100 % der anderen 6034 Server in dieser Kategorie
Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.
Häufige Fragen
Ist Microsoft Learn MCP sicher?
Er hat 4 von 4 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.
Welche Schlüssel oder Codes braucht er?
Die Registry nennt keinen erforderlichen Schlüssel, manche Server bitten dich aber bei der ersten Nutzung, dich anzumelden.
Läuft er auf meinem Computer oder in der Cloud?
Er läuft in der Cloud des Entwicklers. Du verbindest dich übers Internet, ohne etwas zu installieren, aber was du sendest, läuft über die Server des Entwicklers.
Wird er noch gepflegt?
Das GitHub-Repo wurde zuletzt vor 14 Tagen geändert, und die neueste Version (1.0.0) kam vor 12 Monaten in die Registry.
Welche Apps können ihn nutzen?
Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Er verbindet sich per URL und funktioniert daher auch in Apps mit Remote-MCP, etwa ChatGPT im Web (volles MCP ab Business; Pro nur lesend).
Was kann ich stattdessen nutzen?
In derselben Kategorie: Context7, Codebase Memory, Ruflo
Andere in derselben Kategorie
Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.
So liest du eine Karte:↓ Downloads pro Wochei★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Ruflo
Agent teams, swarms, memory and hooks for Claude Code and Codex, served over MCP.
README vom Entwickler
README öffnen
Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.
🌟 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.
- 🧠 Eliminate Hallucinations. Stop your AI from inventing non-existent Azure SDK methods or hallucinating library packages. Get code that actually compiles.
- 🔌 Plug & Play (No Auth). No API keys, no logins, no sign-ups required. Just one-click install and start coding immediately.
- 🛡️ 100% Trusted & Safe. 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.
- 💸 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
IHttpClientFactoryin 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/mcp
Note: 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 Allowederror 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-compatible
This 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.
https://learn.microsoft.com/api/mcp?maxTokenBudget=2000
Note: These experimental features are subject to change. We welcome feedback through our GitHub Discussions.
🛠️ Currently Supported Tools
| Tool Name | Description | Input Parameters |
|---|---|---|
microsoft_docs_search | Performs semantic search against Microsoft official technical documentation | query (string): The search query for retrieval |
microsoft_docs_fetch | Fetch and convert a Microsoft documentation page into markdown format | url (string): URL of the documentation page to read |
| microsoft_code_sample_search | Search for official Microsoft/Azure code snippets and examples | query (string): Search query for Microsoft/Azure code snippets language (string, optional): Programming language filter.|
💻 Microsoft Learn CLI
The @microsoft/learn-cli package gives you terminal access to the same tools — search docs, fetch pages, and find code samples — without an MCP client.
# Run instantly (no install)
npx @microsoft/learn-cli search "azure functions timeout"
Or install globally
npm install -g @microsoft/learn-cli
then use mslearn
mslearn search "azure functions timeout"
Installing the npm package alone does not install agent discovery. The CLI can install a CLI-first skill for the same ecosystems supported by this repository's plugins: GitHub Copilot, Claude Code, and Codex.
# User profile (default)
mslearn setup --cli
Current repository
mslearn setup --cli --project
Override auto-detection with explicit targets
mslearn setup --cli --copilot mslearn setup --cli --claude mslearn setup --cli --codex mslearn setup --cli --copilot --project mslearn setup --cli --claude --project mslearn setup --cli --codex --project
Multiple agents
mslearn setup --cli --copilot --claude --codex
Remove only managed discovery content with:
mslearn remove --cli
mslearn remove --cli --copilot mslearn remove --cli --claude --codex --project
| Agent | User scope | Project scope |
|---|---|---|
| GitHub Copilot | ~/.copilot/skills/ | .github/skills/ |
| Claude Code | ~/.claude/skills/ | .claude/skills/ |
| Codex | ~/.agents/skills/ | .agents/skills/ |
When no target is specified, setup detects installed agents from their well-known user or project directories. Removal detects only agents with Microsoft Learn CLI-managed discovery artifacts. Explicit targets (--copilot, --claude, or --codex) override detection and can be combined. This workflow does not configure MCP or install agents outside the plugin ecosystems such as Cursor. When both integrations are installed, agents should prefer the Microsoft Learn MCP tools and use the standalone CLI skill only as a fallback.
Pass --json to get structured JSON output, useful for programmatic processing:
mslearn search "azure openai" --json | jq '.results[].title'
See cli/README.md for the full command reference.
🤖 Agent Skills
Agent Skills are portable instruction packages that help AI agents use tools more effectively. We provide three skills that guide agents on when and how to use the Microsoft Learn MCP tools:
| Skill | Purpose | Best For |
|---|---|---|
microsoft-docs | Understanding concepts, tutorials, architecture, limits | "How does X work?", learning, configuration guides |
microsoft-code-reference | API lookups, code samples, verification, error fixing | Implementing code, finding correct methods, troubleshooting |
microsoft-skill-creator | Meta-skill that generates custom agent skills for any Microsoft technology | Creating a skill to teach agents about a new Azure library, .NET feature, or other Microsoft tech |
Quick Setup
Choose the integration that matches how you want the agent to retrieve Microsoft Learn content:
| Mode | Installation | Agent behavior |
|---|---|---|
| Standalone CLI-first | Install/run @microsoft/learn-cli, then run mslearn setup --cli [agent-target] | Detected or selected agents invoke npx @microsoft/learn-cli@latest; MCP is not configured |
| Repository plugin, MCP-first | Install the repository plugin for GitHub Copilot, Claude Code, or Codex | The plugin supplies the Learn MCP endpoint and MCP-oriented skills |
The repository plugin also supports Claude Code. Run the following command and restart Claude Code:
/plugin install microsoft-docs@claude-plugins-official
For the MCP-first GitHub Copilot CLI plugin, run:
/plugin install microsoftdocs/mcp
Otherwise:
- Install the MCP Server first — See Installation below
- Copy the skill folders to your project's
.github/skills/or.claude/skills/directory:
microsoft-docs— for concepts, tutorials, and factual lookupsmicrosoft-code-reference— for API lookups, code samples, and troubleshootingmicrosoft-skill-creator— meta-skill for generating custom skills about Microsoft technologies
Supported Agents
Agent Skills work across multiple AI agents:
- VS Code (Insiders) — enable
chat.useAgentSkillssetting - GitHub Copilot CLI & Copilot coding agent
- Claude Code, Cursor, OpenAI Codex, and more
Which Skill Do I Need?
| If you want to... | Install |
|---|---|
| Cover all Microsoft docs scenarios | All three skills |
| Focus on coding (APIs, samples, errors) | microsoft-code-reference only |
| Focus on facts & concepts (limits, config, tutorials) | microsoft-docs only |
| Generate a custom skill for a specific Microsoft technology | microsoft-skill-creator only |
🔌 Installation & Getting Started
The Microsoft Learn MCP Server supports quick installation across multiple development environments. Choose your preferred client below for streamlined setup:
| Client | One-click Installation | MCP Guide |
|---|---|---|
| VS Code |
or search "@mcp learn" in Extensions to show "Microsoft Learn" MCP | VS Code MCP Official Guide | | GitHub Copilot CLI | /plugin install microsoftdocs/mcp | | | Claude Desktop | Follow "Add custom connector" instructions in official guide. | Claude Desktop Remote MCP Guide | | Claude Code | /plugin install microsoft-docs@claude-plugins-official (includes MCP server + skills) | Claude Code Remote MCP Guide | | Visual Studio | Upgrade to latest VS 2022 or 2026, "Microsoft Learn" MCP is already built-in | Visual Studio MCP Official Guide | | Cursor IDE | [](https://cursor.com/en/install-mcp?name=microsoft-learn&config=eyJuYW1lIjoibWljcm9zb2Z0LWxlYXJuIiwidHlwZSI6Imh0dHAiLCJ1cmwiOiJodHRwczovL2xlYXJuLm