NPR电台查找服务MCP服务器

中级

这是一个Engineering、AI RAG领域的自动化工作流,包含 6 个节点。主要使用 HttpRequestTool、McpTrigger 等节点。 NPR电台查找服务MCP服务器

前置要求
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "LGM7GXme9TYLVx2n",
  "meta": null,
  "name": "NPR Station Finder Service MCP Server",
  "tags": [],
  "nodes": [
    {
      "id": "6a86e0e7-236e-4531-a433-d3a0b76d9a77",
      "name": "设置说明",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1380,
        -240
      ],
      "parameters": {
        "color": 4,
        "height": 1020,
        "content": "### ⚙️ 设置说明"
      },
      "typeVersion": 1
    },
    {
      "id": "ce201fa2-4043-4511-8fd2-c173dde16667",
      "name": "工作流概述",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1120,
        -240
      ],
      "parameters": {
        "width": 420,
        "height": 760,
        "content": "## 🛠️ NPR Station Finder Service MCP Server ✅ 2 个操作"
      },
      "typeVersion": 1
    },
    {
      "id": "3e3daf17-9f45-44c1-b278-65b07eb53771",
      "name": "NPR Station Finder Service MCP Server",
      "type": "@n8n/n8n-nodes-langchain.mcpTrigger",
      "position": [
        -620,
        -240
      ],
      "webhookId": "180dcb11-3522-40e0-92d1-b2b7dd989527",
      "parameters": {
        "path": "npr-station-finder-service-mcp"
      },
      "typeVersion": 1
    },
    {
      "id": "13d71f04-809f-4198-8d17-17d0e5020db5",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        -100
      ],
      "parameters": {
        "color": 2,
        "width": 500,
        "height": 200,
        "content": "## 电台查找器"
      },
      "typeVersion": 1
    },
    {
      "id": "ae6c5aa4-2bf9-422f-b12b-de2d2bf989e4",
      "name": "获取电台 1",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -520,
        -60
      ],
      "parameters": {
        "url": "=https://station.api.npr.org/v3/stations",
        "options": {},
        "sendQuery": true,
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "queryParameters": {
          "parameters": [
            {
              "name": "q",
              "value": "={{ $fromAI('q', 'Search terms to search on; can be a station name, network name, call letters, or zipcode', 'string') }}"
            },
            {
              "name": "city",
              "value": "={{ $fromAI('city', 'A city to look for stations from; intended to be paired with `state`', 'string') }}"
            },
            {
              "name": "state",
              "value": "={{ $fromAI('state', 'A state to look for stations from (using the 2-letter abbreviation); intended to be paired with `city`', 'string') }}"
            },
            {
              "name": "lat",
              "value": "={{ $fromAI('lat', 'A latitude value from a geographic coordinate system; only works if paired with `lon`', 'number') }}"
            },
            {
              "name": "lon",
              "value": "={{ $fromAI('lon', 'A longitude value from a geographic coordinate system; only works if paired with `lat`', 'number') }}"
            }
          ]
        },
        "toolDescription": "List stations close to you or filter by search criteria\n\nParameters:\n- Query parameters:\n  • q (optional) - Search terms to search on; can be a station name, network name, call letters, or zipcode\n  • city (optional) - A city to look for stations from; intended to be paired with `state`\n  • state (optional) - A state to look for stations from (using the 2-letter abbreviation); intended to be paired with `city`\n  • lat (optional) - A latitude value from a geographic coordinate system; only works if paired with `lon`\n  • lon (optional) - A longitude value from a geographic coordinate system; only works if paired with `lat`"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "Bq6FmBmPJOfTe6MM",
          "name": "Test Header Auth Cred"
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "e18855f2-acb4-46b9-a08d-9554285c8600",
      "name": "获取电台详情 1",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -320,
        -60
      ],
      "parameters": {
        "url": "=https://station.api.npr.org/v3/stations/{{ $fromAI('stationId', 'The numeric ID of a station', 'number') }}",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth",
        "toolDescription": "Retrieve metadata for the station with the given numeric ID\n\nParameters:\n- Path parameters:\n  • stationId (required) - Numeric ID of a station"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "Bq6FmBmPJOfTe6MM",
          "name": "Test Header Auth Cred"
        }
      },
      "typeVersion": 4.2
    }
  ],
  "active": false,
  "shared": [
    {
      "role": "workflow:owner",
      "project": {
        "id": "G5fce9xGuBAsWBXe",
        "icon": null,
        "name": "David Ashby <david.ashby.lds@gmail.com>",
        "type": "personal",
        "createdAt": "2025-06-04T02:55:02.013Z",
        "updatedAt": "2025-06-04T02:56:01.361Z",
        "projectRelations": [
          {
            "role": "project:personalOwner",
            "user": {
              "id": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
              "role": "global:owner",
              "email": "david.ashby.lds@gmail.com",
              "disabled": false,
              "lastName": "Ashby",
              "settings": {
                "npsSurvey": {
                  "responded": true,
                  "lastShownAt": 1749357655581
                },
                "userActivated": true,
                "userActivatedAt": 1749075994495,
                "easyAIWorkflowOnboarded": true,
                "firstSuccessfulWorkflowId": "3N3vVikZb3MckFYm"
              },
              "createdAt": "2025-06-04T02:55:01.745Z",
              "firstName": "David",
              "isPending": false,
              "updatedAt": "2025-06-08T04:40:58.399Z",
              "mfaEnabled": false,
              "personalizationAnswers": {
                "version": "v4",
                "personalization_survey_n8n_version": "1.95.3",
                "personalization_survey_submitted_at": "2025-06-04T02:56:07.075Z"
              }
            },
            "userId": "715c1c00-cb48-4712-9a32-f1f4b6db2b30",
            "createdAt": "2025-06-04T02:55:02.013Z",
            "projectId": "G5fce9xGuBAsWBXe",
            "updatedAt": "2025-06-04T02:55:02.013Z"
          }
        ]
      },
      "createdAt": "2025-07-03T17:14:07.973Z",
      "projectId": "G5fce9xGuBAsWBXe",
      "updatedAt": "2025-07-03T17:14:07.973Z",
      "workflowId": "LGM7GXme9TYLVx2n"
    }
  ],
  "pinData": {},
  "settings": {
    "timezone": "America/New_York"
  },
  "createdAt": "2025-07-03T17:14:07.971Z",
  "updatedAt": "2025-07-03T17:19:38.000Z",
  "versionId": "74e4de01-1674-447a-bc0b-c3eef6d8d27a",
  "isArchived": false,
  "staticData": null,
  "connections": {
    "Get Station 1": {
      "ai_tool": [
        [
          {
            "node": "NPR Station Finder Service MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Stations 1": {
      "ai_tool": [
        [
          {
            "node": "NPR Station Finder Service MCP Server",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  },
  "triggerCount": 0
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

这是一个中级难度的工作流,适用于Engineering、AI RAG等场景。适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
中级
节点数量6
分类2
节点类型3
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
David Ashby

David Ashby

@cfomodz

A hacker by nature, programmer by trade ⚒️ I'm looking to collaborate on things that save human labor 📫 How to reach me Github👇 -> Discord

外部链接
在 n8n.io 上查看 →

分享此工作流