Official Microsoft Learn MCP Server – powering LLMs and AI agents with real-time, trusted Microsoft docs & code samples.
# Add to your Claude Code skills
git clone https://github.com/MicrosoftDocs/mcpStop 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.
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.
Your AI assistant should automatically use these tools for Microsoft-related topics. With both search and fetch capabilities, you can get quick answers or comprehensive deep dives. To ensure that it always consults the official documentation, you can add phrases like search Microsoft Learn, deep dive, fetch full doc.
"Give me the Azure CLI commands to create an Azure Container App with a managed identity. search Microsoft Learn"
"Is gpt-4.1-mini available in EU regions? fetch full doc"
"Are you sure this is the right way to implement
IHttpClientFactoryin a .NET 8 minimal API? search Microsoft Learn and fetch full doc"
"Show me the complete guide for implementing authentication in ASP.NET Core. fetch full doc"
"show me detailed, runnable python code sample to do harms eval using azure ai foundry evaluation sdk"
"I need to understand Azure Functions end-to-end. search Microsoft Learn and deep dive"
"Get me the full step-by-step tutorial for deploying a .NET application to Azure App Service. search Microsoft Learn and deep dive"