Skip to content
AI Dev Toolkit.
Esc
  • AI Token CounterCount tokens for GPT, Claude, Gemini, DeepSeek, Qwen and more.Tool
  • LLM API Cost CalculatorEstimate per-request, daily and monthly API costs.Tool
  • AI Model ComparisonCompare prices, context windows and features across models.Tool
  • AI Model Pricing PagesSpecs, real costs and cheaper alternatives for popular models.Tool
  • Context Window CheckerSee whether your text fits each model’s context window.Tool
  • Subscription vs API CalculatorFind out whether a chat plan or the API is cheaper for you.Tool
  • GPU / VRAM CalculatorCheck how much VRAM a local model needs and which GPUs fit.Tool
  • Prompt Caching CalculatorEstimate savings from prompt caching.Tool

MCP server · Docs and web search

Microsoft Learn MCP server

Lets an assistant search and read official Microsoft documentation and code samples, free and with no sign-in.

Maintainer
Microsoft (official)
Licence
Not published (hosted service)
Runs
Remote (URL)
Sign-in
None
Registry version
1.0.0 (updated 2025-11-21)
Last activity
2026-09-10

Overview

What it does

The Microsoft Learn MCP Server is a remote endpoint run by Microsoft. It searches Microsoft’s official technical documentation, fetches a docs page as Markdown and finds official code samples, with an optional language filter. There is nothing to install and no key: you point your client at the endpoint over Streamable HTTP. The GitHub repository holds the setup guides, agent skills and a learn-cli tool rather than the server code.

Pick it when you work with Azure, .NET, Microsoft 365, Power Platform or other Microsoft products and want answers checked against current first-party docs. An experimental maxTokenBudget query parameter trims search results to save tokens, and a separate OpenAI-compatible endpoint exists for deep research models. Visual Studio 2022 and 2026 include it already, and the README lists one-step setup for many other clients.

Tools

What the assistant can do

  • Semantic search across Microsoft’s official technical documentation
  • Fetch a Microsoft documentation page as Markdown
  • Search official Microsoft and Azure code samples with a language filter
  • Optional token budget for search results (experimental)

Install

Install Microsoft Learn MCP server in your app

You need:

  • An MCP client that supports Streamable HTTP

Run in your project. --scope local keeps the servers private to you in this project; use user for every project.

Terminal
claude mcp add --scope local --transport http microsoft-learn https://learn.microsoft.com/api/mcp
  • microsoft-learn: if the server needs a sign-in, the app will ask (run /mcp in Claude Code).

Want it alongside other servers? Open Microsoft Learn MCP Server in the MCP config generator and add the rest; it writes one file per app. The snippets follow the setup in the server’s README, checked on 2026-10-14.

Before you install

  • Your search queries are sent to Microsoft’s hosted service.
  • It only reads public Microsoft documentation; it cannot touch your files, tenant or Azure resources.
  • A remote server sees whatever the assistant sends it. Sign in with the narrowest access the service offers. See how to choose a safe server.

Why it’s listed

Why we list it

Free, key-less, first-party documentation search for the whole Microsoft stack, run by Microsoft.

Related

All MCP serversMCP config generatorGuide: MCP servers in Claude CodeGuide: what is MCP?