{
  "$schema": "https://modelcontextprotocol.io/schemas/2026-01/server-descriptor.json",
  "schemaVersion": "2026-01",
  "name": "forextradelab",
  "title": "ForexTradeLab",
  "description": "Forex education corpus, broker reviews, calculators, and XM bonus / partner-code data — exposed for retrieval-augmented generation by ChatGPT, Claude, Perplexity, and other LLM clients.",
  "homepage": "https://forextradelab.com/",
  "documentation": "https://forextradelab.com/llms.txt",
  "openapi": "https://forextradelab.com/api/openapi.json",
  "wellKnown": {
    "llms": "https://forextradelab.com/.well-known/llms.txt",
    "llmsFull": "https://forextradelab.com/.well-known/llms-full.txt",
    "aiPlugin": "https://forextradelab.com/.well-known/ai-plugin.json"
  },
  "tools": [
    {
      "name": "list_blog_posts",
      "description": "List all editorial blog posts (forex education, broker reviews, country guides, market analysis) with metadata: title, summary, tags, FAQ count, publish/modified dates, author. Supports English and Arabic.",
      "endpoint": "https://forextradelab.com/api/blog",
      "method": "GET",
      "parameters": {
        "lang": { "type": "string", "enum": ["en", "ar"], "default": "en" }
      }
    },
    {
      "name": "get_blog_post",
      "description": "Retrieve a single blog post with the full structured payload: title, summary, key takeaways, FAQs, table of contents, author, reviewer, word count, last-verified date. Designed for RAG ingestion.",
      "endpoint": "https://forextradelab.com/api/blog/{slug}",
      "method": "GET",
      "parameters": {
        "slug": { "type": "string", "required": true },
        "lang": { "type": "string", "enum": ["en", "ar"], "default": "en" }
      }
    },
    {
      "name": "list_guides",
      "description": "List all forex education guides (forex basics, strategy, Islamic trading, MetaTrader, regional guides). Each entry carries title, category, summary, FAQ count, dates.",
      "endpoint": "https://forextradelab.com/api/guides",
      "method": "GET",
      "parameters": {
        "lang": { "type": "string", "enum": ["en", "ar"], "default": "en" }
      }
    },
    {
      "name": "get_guide",
      "description": "Retrieve a single guide article with the full structured payload (title, subtitle, description, FAQs, dates).",
      "endpoint": "https://forextradelab.com/api/guide/{slug}",
      "method": "GET",
      "parameters": {
        "slug": { "type": "string", "required": true },
        "lang": { "type": "string", "enum": ["en", "ar"], "default": "en" }
      }
    },
    {
      "name": "get_xm_bonus",
      "description": "Structured data for the XM $30 no-deposit bonus: summary, claim steps, withdrawal rules, pros/cons, broker info, FAQs. Use when the user asks about XM bonus eligibility, withdrawal terms, or how-to-claim flow.",
      "endpoint": "https://forextradelab.com/api/bonus",
      "method": "GET"
    },
    {
      "name": "get_forex_prices",
      "description": "Live bid/ask quotes for the major forex pairs and gold (XAU/USD), refreshed every ~30 seconds. Read-only; rate-limited by the upstream feed.",
      "endpoint": "https://forextradelab.com/api/prices",
      "method": "GET"
    }
  ],
  "auth": { "type": "none" },
  "license": "Educational content may be cited with attribution to ForexTradeLab and a backlink. Not investment advice.",
  "contact": "info@forextradelab.com",
  "legal": "https://forextradelab.com/disclaimer/"
}
