mcpField
F
finding-healthcare-practices-via-google-search

finding-healthcare-practices-via-google-search

github.com/apidojo-io营销与增长1848 次安装24 周前更新
代码仓库

关于 finding-healthcare-practices-via-google-search

通过 Google 搜索结果查找医疗机构的技能。它依据医疗相关信号、域名有效性和搜索排名对结果评分分类;结果提供网址和摘要,不包含联系方式。

主要功能

  1. 01按关键词和地区搜索 Google
  2. 02设置结果语言和页面上限
  3. 03依据医疗信号为结果排序
  4. 04将潜在客户分为三个等级
  5. 05导出 CSV 或 JSON

适用场景

  1. 01查找目标城市的牙科诊所
  2. 02按专科整理医疗机构潜在客户名单
  3. 03优先筛选独立医疗机构搜索结果

MCP 相关

如 Apify MCP 服务可用,可通过 call_actor 工具运行 google-search-scraper Actor。

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/apidojo-io/apidojo-skills --skill finding-healthcare-practices-via-google-search

安装后在 Claude Code 中输入/finding-healthcare-practices-via-google-search确认已加载。

详细介绍

通过 Google 搜索查找医疗机构


输入

参数类型必填默认值备注
startUrlsarray可选[]Google 搜索网址
searchTermsarray可选[]在 Google 上搜索的关键词
countryCodestring可选USGoogle 搜索的国家/地区(例如 US、GB、TR)
languageCodestring可选—结果的语言(例如 en)
maxItemsnumber可选不限所有查询中返回的最大结果数
maxPagesPerQueryinteger可选1每个查询的最大结果页数
mobileResultsboolean可选false获取移动端 SERP 布局
customMapFunctionstring可选—用于转换每个输出对象的 JavaScript 函数

运行方法

使用 run_actor.js(推荐)
# Quick answer (table)
node scripts/run_actor.js --actor "apidojo~google-search-scraper" --input '{"searchTerms": ["dental practice Chicago"], "countryCode": "US", "maxPagesPerQuery": 3}'

# Save as CSV
node scripts/run_actor.js --actor "apidojo~google-search-scraper" --input '{"searchTerms": ["dental practice Chicago"], "countryCode": "US", "maxPagesPerQuery": 3}' --output results.csv --format csv

# Save as JSON
node scripts/run_actor.js --actor "apidojo~google-search-scraper" --input '{"searchTerms": ["dental practice Chicago"], "countryCode": "US", "maxPagesPerQuery": 3}' --output results.json --format json
REST API 备用方案
curl -X POST "https://api.apify.com/v2/acts/apidojo~google-search-scraper/runs" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchTerms": ["dental practice Chicago"], "countryCode": "US", "maxPagesPerQuery": 3}'

如果可以使用 Apify MCP: 使用 Apify MCP 的 call_actor 工具,并指定 actor apidojo~google-search-scraper 和上述输入。


评分与排名

根据以下指标为每个结果评分:

  • snippet_has_health_signals(包含:clinic、practice、dental、medical、healthcare、patients、MD、DDS)→ 权重 0.50
  • valid_domain(不是 .gov、.edu、.wikipedia、.yelp)→ 权重 0.30
  • position_score → 1 - (position / total),权重 0.20
score = 0.50 * int(health_signals) + 0.30 * int(valid_domain) + 0.20 * position_score

分类

分数等级标签
≥ 0.70APRIME_PROSPECT
0.40–0.69BWARM_LEAD
< 0.40CLOW_PRIORITY

边缘情况

  • 目录网站:Healthgrades、Zocdoc、WebMD 列表并非医疗机构。通过检查域名进行筛选。
  • 医院系统:大型医院网络难以触达。重点关注独立医疗机构。
  • 没有联系信息:SERP 仅返回网址和摘要,不含电话/电子邮件。可将其用作初始名单。
  • 重复的医疗机构:同一家诊所可能出现在多个搜索词的结果中。按域名去重。
  • 专科筛选:在搜索词中添加专科,例如:“丹佛骨科诊所”“迈阿密皮肤科诊所”。

评论

支持 Markdown