MCP server
Microsoft Learn MCP Official
com.microsoft/microsoft-learn-mcp
Checked 26 Oct 2026, 08:29 UTC · Connected to it and listed its tools
Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
Working at last checkVerified publisher: microsoft.comAbout 1,088 tokens per request once connected3 tools
https://learn.microsoft.com/api/mcp
At a glance
- Type
- MCP server
- Publisher
- microsoft.com (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 3
- Token cost
- About 1,088 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http microsoft-learn-mcp https://learn.microsoft.com/api/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.microsoft-learn-mcp] url = "https://learn.microsoft.com/api/mcp"
Gemini CLI
{"mcpServers":{"microsoft-learn-mcp":{"httpUrl":"https://learn.microsoft.com/api/mcp"}}}
Cursor
{"mcpServers":{"microsoft-learn-mcp":{"url":"https://learn.microsoft.com/api/mcp"}}}
VS Code
{"servers":{"microsoft-learn-mcp":{"type":"http","url":"https://learn.microsoft.com/api/mcp"}}}
Antigravity
agy mcp add microsoft-learn-mcp https://learn.microsoft.com/api/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"microsoft-learn-mcp","server_url":"https://learn.microsoft.com/api/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"microsoft-learn-mcp","server_url":"https://learn.microsoft.com/api/mcp"}
Tools
microsoft_code_sample_search~440 tokens
Search for code snippets and examples in official Microsoft Learn documentation. This tool retrieves relevant code samples from Microsoft documentation pages providing developers with practical implementation examples and best practices for Microsoft/Azure products and services related coding tasks.microsoft_docs_fetch~368 tokens
Fetch and convert a Microsoft Learn documentation webpage to markdown format. This tool retrieves the latest complete content of Microsoft documentation webpages including Azure, .NET, Microsoft 365, and other Microsoft technologies. ## When to Use This Tool - When search results provide incompletemicrosoft_docs_search~280 tokens
Search official Microsoft/Azure documentation to find the most relevant and trustworthy content for a user's query. This tool returns up to 10 high-quality content chunks (each max 500 tokens), extracted from Microsoft Learn and other official sources. Each result includes the article title, URL, an
Browse
Related MCP servers
- ECZ-ID Trust MCP
Read-only ECZ-ID Business Passport state lookup via the public ECZ-ID Resolver. Reports state only. - INITE Brain
Long-term memory for AI agents: a bitemporal knowledge graph with cited answers. - Novarithm Agent Hub: trust and commerce checks
Agent trust, pre-purchase risk, deliverable checks, data and SEO tools. Pay per call via x402. - XRPL Token Guard
Read-only XRP Ledger token-risk, issuer-authenticity and wallet-security checks. - MarketAIVerse
A benchmarked market for AI agents: what runs on your GPU, trust checks, encrypted agent rooms. - Ksaworks Goldseam
The U.S. Marketplace of Learning2Earning Opportunity | Sourced checklists, progress, prior learning - Slipstream
Shared distillation cache for AI agents — every fetch ~73-89% fewer tokens via a shared cache. - X402 Endpoints
x402 paid API tools for AI agents on Base: EU/global registries, crypto, wallet & agent trust.
Badge for your README
[](https://aptlynx.net/servers/com.microsoft/microsoft-learn-mcp)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents