MCP server · Microsoft
Microsoft Learn MCP Server
Pick it when the agent writes Azure, .NET or other Microsoft code and should look up current official docs and samples; it needs no credentials.
Tools: 3, ~724 tokens of tool definitions loaded into the model's context (hosted, anonymous; measured 2026-10-26, v1.0.0). Compare all servers →
All 3 tools, by token cost
- microsoft_code_sample_search295
- microsoft_docs_fetch244
- microsoft_docs_search185
Install
Add the remote endpoint https://learn.microsoft.com/api/mcp in your client (e.g. `codex mcp add "microsoft-learn" --url "https://learn.microsoft.com/api/mcp"`), or use the one-click installs in the README. Official install docs ↗
Credentials: None (README: no API key or sign-in required).
What it can access
Read-only tools: searches and fetches Microsoft Learn documentation and official code samples through Microsoft's hosted remote endpoint, so your queries go to that service.
Details
- Type
- MCP server
- Tasks
- Library docs & research
- Compatible agents
- VS Code, GitHub Copilot, Claude Desktop, Claude Code, Visual Studio, Cursor, Codex, Roo Code, Cline, Gemini CLI, Qwen Code, ChatGPT, Windsurf, Kiro (source: clients with a setup heading or install/config instructions in the official README)
- Maintenance
- Hosted remote server; no GitHub release; last commit on main 2026-09-10 (only dependency-bot branches since)
- License
- MIT for code (LICENSE-CODE); CC-BY-4.0 for docs (LICENSE)
- Source
- https://github.com/MicrosoftDocs/mcp
- Verified on
- 2026-10-26
No independent security audit: entries summarize official sources only. Review permissions and code before installing.
Compared in: Best MCP servers for Library docs & research in VS Code · Best MCP servers for Library docs & research in Cursor · Best MCP servers for Library docs & research in Claude Code · Best MCP servers for Library docs & research in Claude Desktop · Best MCP servers for Library docs & research
Badge for your README (maintainers)
The badge only says it's listed; it is not a security review or an endorsement.