Add the Microsoft Learn MCP server to Claude Code

Microsoft runs a free, remote MCP server over its official documentation. Add it to Claude Code with one command and Claude can look up current Power BI, Fabric, SQL and Azure docs instead of relying on what it remembers.

Short answer: run claude mcp add --transport http microsoft-learn https://learn.microsoft.com/api/mcp, then type /mcp in Claude Code to check it is connected. The Microsoft Learn MCP Server is a remote server over streamable HTTP, it needs no sign-in, and it is free. It lets Claude search Microsoft's documentation, fetch a full article and search code samples, so answers about DAX, Fabric or Azure come from the current docs.

AI models learn from a snapshot. Power BI ships every month and Fabric changes even faster, so a model's memory of a feature can be months old. A documentation server closes that gap for one question at a time.

Nothing loads from YouTube until you press play. Then Google receives your IP address and may set its own storage. Narrated with an AI-generated voice. Privacy

How does it fit in?

  1. 1
    You ask"Is the Gantt visual in Power BI generally available yet?"
  2. 2
    Claude searchesthe Learn docs through the MCP server
  3. 3
    It readsthe current article, not its memory
  4. 4
    It answerswith the article it used, so you can open it
A question with the Learn MCP server connected

What can it do?

It canIt cannot
Search Microsoft Learn documentationRead your tenant, your data or your reports
Fetch a complete articleShow training or user profile information
Search official code samplesAnswer outside Microsoft's public docs

Microsoft notes the knowledge behind it refreshes after content updates and fully once a day.

How do you use it well?

  • Ask Claude to cite: "Use the Microsoft Learn MCP server and give me the article link."
  • Combine it with your files: "Check my measure in @measures.dax against the current docs for SAMEPERIODLASTYEAR."
  • Keep it for Microsoft questions: for everything else it adds nothing.

Where can you check this?

Where do you start?

See what MCP servers offer in MCP for data, and keep up with what changes each month in how to keep up with Power BI updates.

Keep reading

More from the blog.

Every post

Next

Building this? Say hello.

A question about this post, a pattern you would build differently, or the next thing you want written out: Behnia reads every message.