Servers › Docs & Knowledge › Microsoft Learn Docs

● MaintainedDocs & Knowledge

Microsoft Learn Docs MCP Server

Microsoft's official hosted MCP server for searching and reading Microsoft Learn documentation and code samples (Azure, .NET, Microsoft 365 and more). It's free and needs no API key or sign-in: point your client at https://learn.microsoft.com/api/mcp. There's also an OpenAI-compatible endpoint (/api/mcp/openai-compatible) for Deep Research models, and ?maxTokenBudget= limits how much text comes back. VS Code's own MCP docs use it as the first server to try (checked Nov 12, 2026).

Source: official setup docs

Remote server (hosted)

Point your client at this URL. Depending on the provider, you sign in with OAuth or send an API key header (see the source docs).

https://learn.microsoft.com/api/mcp
{
  "mcpServers": {
    "microsoft-learn": {
      "url": "https://learn.microsoft.com/api/mcp"
    }
  }
}

Example for Cursor mcp.json. Other apps use slightly different fields; see the setup guide for your app.

Claude Code: claude mcp add --transport http microsoft-learn https://learn.microsoft.com/api/mcp

At a glance

RepositoryMicrosoftDocs/mcp
GitHub stars2,021
Last commit2026-10-30 (31 days ago)
Statusmaintained
Security advisoriesNo published advisories found as of 2026-11-30. Details
Clients mentioned in READMEClaude Desktop, Claude Code, Cursor, VS Code, Windsurf, Cline, Codex, Gemini CLI
AuthNone detected in README
Language / LicenseTypeScript / CC-BY-4.0

Security advisories

No published advisories found as of 2026-11-30.

Checked 2026-11-30 in the repo's GitHub security advisories. No advisory doesn't prove a server is safe. How to stay updated.

Common problems

Weekly MCP digest
New servers, breaking changes, and fresh fixes. One email a week.