Microsoft Docs Fetch
microsoft_docs_fetchFetch and convert a Microsoft Learn documentation webpage to markdown format.
How it works ↓Pricing
Per call
$0.01
Model
flat
Pay only for what you use. No subscriptions.
Inputs
url *
stringInput Parameters
Cost per run
Execution cost$0.01
About 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.
Frequently Asked Questions
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.
Microsoft Docs Fetch costs $0.01 per call on xpay. No subscription, no minimums. Pay only for the calls you make. New accounts get $5 in free credits.
Connect the Microsoft Learn MCP endpoint to your client — Claude Code: claude mcp add --transport http microsoft-learn "https://microsoft-learn.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"; Cursor/Windsurf/Cline/VS Code: same URL in mcp.json. The agent will see microsoft_docs_fetch as a callable tool with the input schema and run it directly. (Unified across all providers: https://mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY, then xpay_run with toolPath microsoft-learn/microsoft_docs_fetch.)
Yes — that's exactly what xpay is for. You don't need a Microsoft Learn account or API key. Sign up at xpay.tools (Google or email), get $5 free credit, and run Microsoft Docs Fetch immediately. Billing flows through your xpay balance.
Microsoft Docs Fetch accepts 1 input parameter: url. See the input schema and runnable form on this page for details and to test live.

