通过 ProxyHub MCP 让 AI 查询免费代理数据,按国家、协议和匿名级别筛选。接口只读,无需账号或 API Key。

免费代理列表

AI → Model Context Protocol → ProxyHub

我们做什么

  • 收集并整理公开的代理节点数据。
  • 按国家和协议展示服务器列表。
  • 定期刷新列表,让结果保持可用。

MCP

URL
https://proxyhub.me/api/mcp
MCP
2025-11-25 / 2026-07-28 · Streamable HTTP
HTTP
POST · application/json · UTF-8 · JSON-RPC 2.0 · 64 KiB
Authorization / API Key
—

list_proxies

country国家us / de / jp / …
type协议http / https / socks4 / socks5
anonymity匿名级别transparent / anonymous / elite
limit1–10020

协议: 免费 HTTP 代理列表 · 免费 HTTPS 代理列表 · 免费 SOCKS4 代理列表 · 免费 SOCKS5 代理列表

limit: {"type": ["integer", "string"], "pattern": "^[0-9]{1,3}$", "default": 20, "minimum": 1, "maximum": 100}

result.structuredContent: proxies, count

ip · port · country · type · anonymity · updated_at (Unix timestamp)

如何使用 ProxyHub MCP

2026-07-28

server/discover → tools/list → tools/call
curl 'https://proxyhub.me/api/mcp' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -H 'MCP-Protocol-Version: 2026-07-28' \
  -H 'Mcp-Method: tools/call' \
  -H 'Mcp-Name: list_proxies' \
  --data-raw '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "list_proxies",
    "arguments": {
      "country": "us",
      "type": "http",
      "anonymity": "elite",
      "limit": 20
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {},
      "io.modelcontextprotocol/clientInfo": {
        "name": "proxyhub-example",
        "version": "1.0.0"
      }
    }
  }
}'

2025-11-25

initialize → notifications/initialized → tools/list → tools/call
curl 'https://proxyhub.me/api/mcp' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  --data-raw '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "initialize",
  "params": {
    "protocolVersion": "2025-11-25",
    "capabilities": {},
    "clientInfo": {
      "name": "proxyhub-example",
      "version": "1.0.0"
    }
  }
}'
curl 'https://proxyhub.me/api/mcp' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -H 'MCP-Protocol-Version: 2025-11-25' \
  --data-raw '{
  "jsonrpc": "2.0",
  "method": "notifications/initialized"
}'
curl 'https://proxyhub.me/api/mcp' \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -H 'MCP-Protocol-Version: 2025-11-25' \
  --data-raw '{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "list_proxies",
    "arguments": {
      "country": "us",
      "type": "http",
      "anonymity": "elite",
      "limit": 20
    }
  }
}'

重要提示

查询结果来自已存储的代理列表。updated_at 表示数据库中的更新时间,不是实时连通性检测时间;代理可用性不作保证。

ProxyHub 仅提供信息与索引服务。本站不运营页面中列出的第三方代理服务器。