xpay tools logo
  • Providers
  • Collections
  • Explore
  • Docs
  • xpay.sh
  1. Home
  2. ›
  3. Providers
  4. ›
  5. Microsoft Learn

Microsoft Learn logo

Microsoft Learn

3 tools

$0.01/call

Search Microsoft Learn documentation and training resources

​
​
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.


flat

$0.01/call

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


flat

$0.01/call

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.


flat

$0.01/call

Connect Microsoft Learn tools
​
​

Cursor

Claude Code

Claude Desktop

Windsurf

VS Code

Cline

Roo Code

ChatGPT

Gemini CLI

Amazon Q

Goose

Augment

n8n

API / cURL

AI SDK

TypeScript SDK

Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "microsoft-learn": {
      "url": "https://microsoft-learn.mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
Or connect all tools

Access all tools (including Microsoft Learn) through a single MCP connection.

https://mcp.xpay.sh/mcp?key=***
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
Agent Discovery

Machine-readable catalogs for LLM agents and automation.

llms.txt — Human-readable tool catalog
curl https://xpay.tools/llms.txt
agents.txt — Structured JSON for agents
curl https://xpay.tools/agents.txt
skill.md — Claude Code skill
curl https://xpay.tools/skill.md
Pricing

Pay per tool call. No subscriptions.

3 Microsoft Learn tools available
Frequently Asked Questions

Microsoft Learn is an API provider available on xpay with 3 tools. Search Microsoft Learn documentation and training resources All tools are pay-per-call with no monthly fees.

Microsoft Learn tools are priced at $0.01/call. You only pay when you use a tool — there are no subscriptions or monthly fees. New accounts get $5 in free credits to try any tool.

Add xpay's MCP server to your AI client (Claude Code, Cursor, VS Code, Windsurf, or Cline) with the endpoint: https://mcp.xpay.sh/mcp?key=YOUR_API_KEY. Once connected, use xpay_discover to find Microsoft Learn tools, then xpay_run to execute them. For Claude Code: claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"

Microsoft Learn provides 3 tools: microsoft docs search, microsoft code sample search, microsoft docs fetch. Each tool can be called independently and has its own pricing.

No. With xpay, one API key gives you access to all 3 Microsoft Learn tools plus 1000+ tools from 80+ other providers. You don't need to sign up for Microsoft Learn's API directly — xpay handles authentication, billing, and rate limiting.

Yes. Every new xpay account gets $5 in free credits. You can use these credits to try any Microsoft Learn tool — no credit card required. Sign up at xpay.tools to get started.

xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

Product
ExploreCollectionsBundles
Resources
Documentationxpay.shGitHub

© 2026 Agentically Inc. All rights reserved.Microtransactions happen via Stablecoins