{
  "name": "Mangools: Keyword Research (KWFinder via MCP)",
  "nodes": [
    {
      "parameters": {},
      "id": "1a1b1c1d-0001-4000-8000-000000000001",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        -240,
        0
      ]
    },
    {
      "parameters": {
        "content": "## Keyword research (KWFinder)\nChange the seed keyword and the `limit` in the **Find related keywords** node's JSON input (default: \"seo tools\", 20 results, the ones with the highest search volume). After import, open the **Find related keywords** node and pick your own **Mangools API key** credential (Header Auth, header name `x-access-token`, value: your key from https://mangools.com/api-token).\n\nEach run spends **one paid KWFinder lookup** from your Mangools plan. Accounts without API access are charged double for lookups made through MCP.",
        "height": 320,
        "width": 380
      },
      "id": "1a1b1c1d-0002-4000-8000-000000000002",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -240,
        -320
      ]
    },
    {
      "parameters": {
        "serverTransport": "httpStreamable",
        "endpointUrl": "https://mcp.mangools.com/mcp",
        "authentication": "headerAuth",
        "tool": {
          "__rl": true,
          "value": "kwfinder_search_related_keywords",
          "mode": "list",
          "cachedResultName": "kwfinder_search_related_keywords"
        },
        "inputMode": "json",
        "jsonInput": "{\n  \"kw\": \"seo tools\",\n  \"limit\": 20\n}\n",
        "options": {
          "timeout": 120000
        }
      },
      "id": "1a1b1c1d-0003-4000-8000-000000000003",
      "name": "Find related keywords (KWFinder)",
      "type": "@n8n/n8n-nodes-langchain.mcpClient",
      "typeVersion": 1.1,
      "position": [
        -20,
        0
      ],
      "credentials": {
        "httpHeaderAuth": {
          "id": null,
          "name": "Mangools API key"
        }
      }
    },
    {
      "parameters": {
        "jsCode": "const payload = $input.first().json.content?.[0]?.text ?? {};\nconst keywords = payload.keywords ?? [];\n\nreturn keywords.map((k) => ({\n  json: {\n    keyword: k.kw,\n    search_volume: k.search_volume ?? null,\n    cpc: k.cpc ?? null,\n    keyword_difficulty: k.kd ?? null,\n  },\n}));"
      },
      "id": "1a1b1c1d-0004-4000-8000-000000000004",
      "name": "One item per keyword",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        200,
        0
      ]
    }
  ],
  "connections": {
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Find related keywords (KWFinder)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Find related keywords (KWFinder)": {
      "main": [
        [
          {
            "node": "One item per keyword",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": null,
  "staticData": null,
  "nodeGroups": [],
  "tags": []
}
