
adhistory: Google Ads, reviews, jobs, PDFs
io.github.OBrandon由 GitHub 账号 OBrandon 发布v0.3.0更新于 Nov 7, 2026
Competitor Google ads, app reviews, job boards, PDF tables/invoices, email checks via Apify
概览
在本地运行十一个 Apify 数据工具,让助手抓取竞品 Google 广告、应用评论、招聘职位、PDF 表格与发票、邮箱校验和网页截图。
- 可以做什么
- 从广告透明度中心采集竞品的 Google 广告,并可按广告主批量核查
- 获取 App Store 与 Google Play 评论,可筛选低星差评
- 查找 Workday、Greenhouse、Lever、Ashby 及六个远程招聘板的在招职位,并解析薪资
- 从 PDF 链接提取表格、银行对账单、发票和工资单,并通过 OCR 识别图片中的表格
- 检查邮箱列表的语法、MX 记录、一次性邮箱、角色账号和拼写问题
- 对网页截图,并爬取站点列出失效的链接、图片和脚本
- 适用场景
- 适合让助手基于公开来源做市场、招聘或竞品调研,或把 PDF 与图片文档转成结构化行数据而无需自己写爬虫。每个工具都会调用付费的 Apify Actor,因此更适合少量、范围明确的请求,而非大批量数据管道。
- 运行要求
- 需要本地 Python 环境并安装 uv(uvx adhistory-mcp,或 pip install adhistory-mcp)。需要免费的 Apify 账号,并通过环境变量 APIFY_TOKEN 提供 API 令牌。需要访问 Apify API 的网络。可选环境变量 APIFY_MAX_CHARGE_USD 设置单次调用费用上限(默认 0.50)。
安装
在 SourceWeft 中
- 打开 控制台中的 adhistory: Google Ads, reviews, jobs, PDFs,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
adhistory-mcp
An MCP server that gives AI agents (Claude Desktop, Claude Code, Cursor and any other MCP client) eleven data tools for jobs people actually ask an assistant to do:
- Competitor Google ads: the Search, YouTube, Shopping and Display ads any company runs, from the Google Ads Transparency Center.
- App reviews: App Store and Google Play reviews, filterable to 1-2 star complaints.
- Job postings: open jobs from Workday career sites, Greenhouse, Lever and Ashby boards, and remote jobs from six remote job boards (Remotive, Remote OK, We Work Remotely, Jobicy, Himalayas, Arbeitnow) with pay parsed.
- PDF tables: tables from PDF links as rows, plus CSV and Excel.
- Bank statements: statement PDFs as transactions, balances and a balance check.
- Invoices: invoice PDFs as number, dates, vendor, totals, tax and line items.
- Payslips: payslip PDFs as gross, tax, deductions, net pay and earnings lines.
- Table images: tables in screenshots or photos as rows, via OCR.
- Email list cleaning: syntax, MX, disposable, role-account and typo checks.
- Website screenshots: full-page or first-screen images of public pages.
- Broken links: crawl a site and list broken links, images and scripts.
Each tool runs one public Apify Actor on your own Apify account and returns the results as JSON, trimmed so they fit in an agent's context. You need a free Apify API token. You pay only the Actor's per-result price, which at the default limits is a few cents or less per call.
Quick start
- Create a free Apify account at https://console.apify.com/sign-up.
- Copy your API token: console.apify.com → Settings → API & Integrations.
- Add the server to your MCP client (examples below). It runs locally over stdio with
uvx, so you needuvinstalled (curl -LsSf https://astral.sh/uv/install.sh | shon macOS/Linux, orbrew install uv).
Claude Desktop
Edit claude_desktop_config.json (Settings → Developer → Edit Config):
Restart Claude Desktop. The tools appear under the tools icon.
Claude Code
Cursor
Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
Other clients
Any MCP client that can launch a stdio server works: command uvx, argument adhistory-mcp,
environment variable APIFY_TOKEN. Without uv: pip install adhistory-mcp, then run
adhistory-mcp.
Tools
Each Actor also charges $0.00005 per run start. Prices are the Actors' public Apify Store prices at the time of writing; the Store page of each Actor is the source of truth.
Example prompts
- "What Google Search ads is hubspot.com running in the US right now? Group them by message."
→
competitor_google_ads(domains=["hubspot.com"], country="US", platform="search", only_active_ads=true) - "Which of these 20 domains advertise on Google?" →
competitor_google_ads(domains=[...], mode="advertiserCheck") - "Summarize the last 50 one- and two-star reviews of Notion on iOS and Android."
→
app_reviews(apps=["notion", "notion.id"], max_reviews_per_app=25, max_rating=2) - "List NVIDIA's remote software jobs posted this week."
→
workday_jobs(career_site_urls=["https://nvidia.wd5.myworkdayjobs.com/NVIDIAExternalCareerSite"], search_text="software", location_contains="Remote", posted_within_days=7) - "Which data roles are open at Airbnb and Palantir?"
→
ats_jobs(boards=["https://boards.greenhouse.io/airbnb", "https://jobs.lever.co/palantir"], search_text="data") - "Find remote Python jobs posted this week that pay at least $120k."
→
remote_jobs(search_text="python", posted_within_days=7, min_yearly_salary=120000) - "Pull the table on pages 1-3 of this PDF into rows." →
pdf_tables(pdf_urls=["https://.../report.pdf"], pages="1-3") - "Total the debits in this statement by merchant." →
bank_statement(pdf_urls=["https://.../statement.pdf"]) - "Turn these payslips into one net-pay-by-month table." →
payslip(pdf_urls=[...]) - "Get the table out of this screenshot." →
image_tables(image_urls=["https://.../table.png"]) - "Which of these emails will likely bounce?" →
clean_email_list(emails=[...]) - "Screenshot our pricing page on mobile." →
website_screenshot(urls=["example.com/pricing"], device="mobile") - "Find broken links on example.com." →
broken_links(start_urls=["https://example.com"])
Cost control
- Defaults are small, so a typical call costs well under $0.10.
- Every run is capped by Apify's
maxTotalChargeUsd, $0.50 per call by default. Set the environment variableAPIFY_MAX_CHARGE_USD(for example2) to allow larger runs. - Free Apify accounts include monthly platform credit, which covers many small calls.
Limits
- Calls are synchronous and Apify stops waiting after 300 seconds, so very large requests fail with a clear message; ask for fewer results instead.
- Responses are trimmed for the agent: long text fields are shortened, nested lists (table rows, transactions) are capped, and at most about 60,000 characters of JSON are returned. Full tables and statements are in the CSV/Excel links the PDF tools return.
clean_email_listworks at DNS level. It does not connect to the mail server, so it cannot tell whether a specific mailbox exists.- The PDF tools need text-based PDFs at public URLs; scanned images are not read. Local files must be uploaded somewhere public first.
competitor_google_adsreads what Google publishes in the Transparency Center. Google does not publish ad spend, keywords or click data.- Pages behind a login are not supported by
website_screenshotandbroken_links. remote_jobsreturns what the six remote boards list right now, not every remote job on the web. Pay is parsed from the posting where the board has no pay field; currencies are not converted.
Privacy
The server runs on your machine. Inputs go only to the Apify API under your account, and the
token is sent only in the Authorization header to api.apify.com. Results are stored in your
Apify account's storage under its normal retention.
Development
License
MIT
来源:README.md,提交 273503a
工具
0版本历史
1- v0.3.0最新Nov 7, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
