Microsoft Learn MCP server
Structured access to official Microsoft and Azure documentation: search docs, fetch full pages, and find code samples.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://learn.microsoft.com/api/mcpWhat its tools do
3 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to microsoft.com ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 3 of 3 checks passed in 30 days
- Popularity 1,967 GitHub stars
What you can do with it
- Ground answers about Azure, .NET, or Microsoft 365 in current official documentation.
- Find official code samples for a Microsoft API.
Source and maintenance
- Last repository push
- Maintenance checked
Protocol and capabilities
- Server
- Microsoft Learn MCP Server 1.0.0
- MCP protocol negotiated in check
- 2025-06-18
- Tools
- 3 advertised
- Resources
- 0 advertised
- Resource templates
- 0 advertised
- Prompts
- 0 advertised
{
"tools": {
"listChanged": true
},
"logging": {},
"prompts": {
"listChanged": true
},
"resources": {
"listChanged": true
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
3 advertised
microsoft_docs_search — Microsoft Docs Search
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, and a self-contained content excerpt optimized for fast retrieval and reasoning. Always use this tool to quickly ground your answers in accurate, first-party Microsoft/Azure knowledge. ## Follow-up Pattern To ensure completeness, use microsoft_docs_fetch when high-value pages are identified by search. The fetch tool complements search by providing the full detail. This is a required step for comprehensive results.
{
"type": "object",
"properties": {
"query": {
"type": "string",
"default": null,
"description": "a query or topic about Microsoft/Azure products, services, platforms, developer tools, frameworks, or APIs"
}
}
}{
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": [
"string",
"null"
]
},
"title": {
"type": "string"
},
"content": {
"type": [
"string",
"null"
]
},
"contentUrl": {
"type": "string"
},
"extensionData": {
"type": [
"object",
"null"
]
},
"content_omitted": {
"type": "boolean"
}
}
}
}
}
}{
"title": "Microsoft Docs Search",
"readOnlyHint": true,
"idempotentHint": true,
"destructiveHint": false
}microsoft_code_sample_search — Microsoft Code Sample Search
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. This tool will help you use the **LATEST OFFICIAL** code snippets to empower coding capabilities. ## When to Use This Tool - When you are going to provide sample Microsoft/Azure related code snippets in your answers. - When you are **generating any Microsoft/Azure related code**. ## Usage Pattern Input a descriptive query, or SDK/class/method name to retrieve related code samples. The optional parameter `language` can help to filter results. Eligible values for `language` parameter include: csharp javascript typescript python powershell azurecli al sql java kusto cpp go rust ruby php
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "a descriptive query, SDK name, method name or code snippet related to Microsoft/Azure products, services, platforms, developer tools, frameworks, APIs or SDKs"
},
"language": {
"type": "string",
"default": null,
"description": "Optional parameter specifying the programming language of code snippets to retrieve. Can significantly improve search quality if provided. Eligible values: csharp javascript typescript python powershell azurecli al sql java kusto cpp go rust ruby php"
}
}
}{
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"link": {
"type": "string"
},
"language": {
"type": "string"
},
"codeSnippet": {
"type": [
"string",
"null"
]
},
"description": {
"type": "string"
},
"content_omitted": {
"type": "boolean"
}
}
}
}
}
}{
"title": "Microsoft Code Sample Search",
"readOnlyHint": true,
"idempotentHint": true,
"destructiveHint": false
}microsoft_docs_fetch — Microsoft Docs Fetch
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 incomplete information or truncated content - When you need complete step-by-step procedures or tutorials - When you need troubleshooting sections, prerequisites, or detailed explanations - When search results reference a specific page that seems highly relevant - For comprehensive guides that require full context ## Usage Pattern Use this tool AFTER microsoft_docs_search when you identify specific high-value pages that need complete content. The search tool gives you an overview; this tool gives you the complete picture. ## URL Requirements - The URL must be a valid HTML documentation webpage from the microsoft.com domain - Binary files (PDF, DOCX, images, etc.) are not supported ## Output Format markdown with headings, code blocks, tables, and links preserved.
{
"type": "object",
"required": [
"url"
],
"properties": {
"url": {
"type": "string",
"description": "URL of the Microsoft documentation page to read"
}
}
}{
"title": "Microsoft Docs Fetch",
"readOnlyHint": true,
"idempotentHint": true,
"destructiveHint": false
}Prompts
0 advertised
Resources
0 advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 3 of 3 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 3 of 3 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 3 of 3 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 4 of 4 checks answered
- 2026-11-28: 3 of 3 checks answered
- 2026-11-29: 4 of 4 checks answered
- 2026-11-30: 4 of 4 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 3 of 3 (100%)
- Average latency
- 1526 ms
- 95th percentile latency
- 2009 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 745 ms · 3 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
- · probe · passed · 2032 ms · 3 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
- · probe · passed · 1800 ms · metadata changed · 3 tool(s), 0 resource(s), 0 resource template(s), 0 prompt(s)
- · repository · passed · updated
- · repository · passed · metadata changed · unchanged
- · repository · passed · metadata changed · updated
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Try asking
Reviewed prompts from cited playbooks. Connect the listed servers before using them.
Fetch the full content of the Microsoft Learn article titled 'Get started with Azure Functions'.Search the Microsoft Learn documentation for information on how to configure Azure App Service. Provide the most relevant article titles and any associated code samples.Agent playbooks using this server
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http microsoft-learn https://learn.microsoft.com/api/mcpCodex
codex mcp add microsoft-learn --url https://learn.microsoft.com/api/mcpCursor
{
"mcpServers": {
"microsoft-learn": {
"url": "https://learn.microsoft.com/api/mcp"
}
}
}Cline
{
"mcpServers": {
"microsoft-learn": {
"type": "streamableHttp",
"url": "https://learn.microsoft.com/api/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"microsoft-learn": {
"type": "http",
"url": "https://learn.microsoft.com/api/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http microsoft-learn https://learn.microsoft.com/api/mcpClaude Desktop
https://learn.microsoft.com/api/mcpWindsurf
{
"mcpServers": {
"microsoft-learn": {
"serverUrl": "https://learn.microsoft.com/api/mcp"
}
}
}Let your agent find its tools
Find servers like Microsoft Learn from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other documentation and reference servers
Do you run Microsoft Learn?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.