# MicrosoftDocs/mcp

Official Microsoft Learn MCP Server and CLI tool – powering LLMs and AI agents with real-time, trusted Microsoft docs & code samples.

Repository: https://github.com/MicrosoftDocs/mcp
Canonical: https://ross.abutalabs.com/products/microsoftdocs-mcp
Homepage: https://learn.microsoft.com
Language: TypeScript
License: CC-BY-4.0
License Family: other
Topics: ai, ai-agents, documentation, mcp, microsoft, microsoft-learn, rag, copilot, llm, skills, cli, learn-cli
Last push: 2026-08-12T20:00:41+00:00

## Health v2 (maintenance only)
Score: 62/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 35, longevity 32
- inputs: {"age_days": 450, "days_push": 21, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1859, forks 235 (observed 2026-08-28T04:05:45.209546+00:00)

## What it is
Microsoft's official Model Context Protocol (MCP) server and CLI that gives LLMs and AI agents real-time access to trusted Microsoft Learn documentation and code samples via a remote endpoint. It is free, requires no authentication, and works with any MCP-compatible client such as VS Code, Claude, Cursor, and Copilot.

## Use cases
- give my ai assistant access to official microsoft docs
- stop llm hallucinating azure sdk methods
- search microsoft learn documentation from an mcp client
- get accurate azure cli commands from an ai agent
- fetch trusted .NET code samples for copilot
- query microsoft docs without api keys
- ground ai coding agents in current microsoft documentation

## When to choose
- you need up-to-date, first-party Microsoft documentation in an AI agent or IDE
- you want to eliminate hallucinated Azure/.NET APIs and package names
- you want a zero-config, no-auth MCP server for docs retrieval
- you build agents that must answer Microsoft technology questions with trusted sources

## When to avoid
- you need documentation for non-Microsoft technologies
- you need offline or self-hosted docs access
- your client does not support MCP over Streamable HTTP
- you need to scrape or bulk-download docs rather than query via MCP

## Facets
- artifact type: service
- maturity: active
- function: mcp, search-engine, documentation, cli, rag
- domain: documentation, developer-tools, large-language-models
- platform: cli, cross-platform
- tags: microsoft-learn, mcp-server, remote-mcp, docs-search, code-samples, no-auth, typescript, ai-agents, retrieval-augmented-generation, web-server

## Member repositories
- MicrosoftDocs/mcp (main) score 62

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:45.209546+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:15:57.971551+00:00, confidence not recorded.
  - readme: https://github.com/MicrosoftDocs/mcp (fetched 2026-08-28T04:05:45.209546+00:00, sha 3803a431b32d)
  - homepage: https://learn.microsoft.com (fetched 2026-08-29T10:55:10.682747+00:00, sha e50b0c1fab93)
  - site_page: https://learn.microsoft.com/docs (fetched 2026-08-29T10:55:10.687690+00:00, sha f29800be2b9a)
  - site_page: https://learn.microsoft.com/en-us/lifecycle/faq/internet-explorer-microsoft-edge (fetched 2026-08-29T10:55:10.685520+00:00, sha c363b2f43d4b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
