The Microsoft Learn MCP Server is a remote endpoint that gives AI assistants direct access to official Microsoft documentation, with no key or login. Any MCP client supporting Streamable HTTP can connect to it. It exposes docs search, page fetch and code sample search tools.
What it does
Where Microsoft Learn MCP Server runs and what it adds, from its documentation
microsoft_docs_search: semantic search of official docs
microsoft_docs_fetch: convert a docs page to markdown
microsoft_code_sample_search: find official code snippets with optional language filter
Optional maxTokenBudget query parameter to limit response size
OpenAI-compatible endpoint for Deep Research models (experimental)
When to use it
Good fit
Verifying Azure, .NET or Microsoft API usage against current docs
Avoiding hallucinated SDK methods
Not for
Browser access: the URL returns 405 outside an MCP client
Non-Microsoft documentation
How to install Microsoft Learn MCP Server
You need: MCP client supporting Streamable HTTP; No API key or sign-up
Install in one clickAdd to Cursorclaude mcp add-json microsoft-learn '{"type":"http","url":"https://learn.microsoft.com/api/mcp"}'code --add-mcp '{"name":"microsoft-learn","type":"http","url":"https://learn.microsoft.com/api/mcp"}'
Cursor opens and asks you to confirm the server. For Claude Code or VS Code, paste the copied command into a terminal. For Claude Desktop, paste the configuration example below into Settings, Developer, Edit Config.
Claude Code: /plugin install microsoft-docs@claude-plugins-official