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

概覽

AI 產生的概覽

在本機執行十一個 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)。
安裝前請注意
每次呼叫都會在你的 Apify 帳號上依結果單價計費,另加每次執行啟動費;預設單次上限為 0.50 美元,可用 APIFY_MAX_CHARGE_USD 調高。APIFY_TOKEN 是可計費的憑證,請勿放入共用設定檔。輸入內容(包括網址和電子郵件清單)會傳送到 Apify,結果保存在你的 Apify 帳號儲存空間。PDF 工具需要公開網址,本機檔案必須先上傳到公開位置。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 adhistory: Google Ads, reviews, jobs, PDFs,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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

  1. Create a free Apify account at https://console.apify.com/sign-up.
  2. Copy your API token: console.apify.com → Settings → API & Integrations.
  3. Add the server to your MCP client (examples below). It runs locally over stdio with uvx, so you need uv installed (curl -LsSf https://astral.sh/uv/install.sh | sh on macOS/Linux, or brew install uv).

Claude Desktop

Edit claude_desktop_config.json (Settings → Developer → Edit Config):

json
{  "mcpServers": {    "adhistory": {      "command": "uvx",      "args": ["adhistory-mcp"],      "env": { "APIFY_TOKEN": "apify_api_your_token_here" }    }  }}

Restart Claude Desktop. The tools appear under the tools icon.

Claude Code

bash
claude mcp add adhistory --env APIFY_TOKEN=apify_api_your_token_here -- uvx adhistory-mcp

Cursor

Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

json
{  "mcpServers": {    "adhistory": {      "command": "uvx",      "args": ["adhistory-mcp"],      "env": { "APIFY_TOKEN": "apify_api_your_token_here" }    }  }}

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

ToolWhat it returnsPrice per 1,000 resultsDefault sizeTypical time
competitor_google_adsAds a company runs on Google Search, YouTube, Shopping, Maps, Play and Display, from the Google Ads Transparency Center: headline and description of text ads, format, first/last shown, days running, countries, link. Or one summary row per domain (mode: advertiserCheck).$1.0020 ads per advertiser20-90 s
app_reviewsApp Store and Google Play reviews: rating, title, text, date, app version, developer reply. Star filter for complaints only.$0.1020 per app10-40 s
workday_jobsOpen jobs from any *.myworkdayjobs.com career site; optional description, pay range, apply link.$1.0020 jobs10-60 s
ats_jobsOpen jobs from Greenhouse, Lever and Ashby boards: department, location, remote flag, pay when published.$1.5020 jobs5-30 s
remote_jobsRemote jobs from Remotive, Remote OK, We Work Remotely, Jobicy, Himalayas and Arbeitnow, deduplicated: company, allowed location, posted date, apply link, pay parsed to min/max/currency/period and a yearly figure. Filters for keywords, location, age and minimum pay.$1.0020 jobs5-30 s
pdf_tablesTables from PDF links as rows, plus CSV and Excel links.$2.0010 tables10-60 s
bank_statementBank statement PDFs as balances, totals, a balance check and transactions, plus Excel.$15.005 statements10-40 s
invoiceInvoice PDFs as number, dates, vendor, totals, tax and line items, plus Excel.$5.0010 invoices10-30 s
payslipPayslip PDFs as employee, pay period, gross, tax, deductions, net pay, earnings and deduction lines, plus Excel.$5.0010 payslips10-30 s
image_tablesTables in images (screenshots, photos) as rows and columns via OCR, plus CSV and Excel.$2.005 tables10-40 s
clean_email_listSyntax, MX record, disposable, role account and typo checks per email, with a valid/invalid/risky/unknown result.$0.20up to 1,000 emails5-30 s
website_screenshotFull-page or first-screen PNG/JPEG of public pages, returned as image URLs.$1.001 per URL (max 10)10-30 s per page
broken_linksCrawls a site and reports broken links, images and scripts with status, error and the pages they appear on.$1.0010 pages, problems only20-120 s

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 variable APIFY_MAX_CHARGE_USD (for example 2) 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_list works 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_ads reads 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_screenshot and broken_links.
  • remote_jobs returns 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

bash
uv sync --group devuv run pytestuv run adhistory-mcp   # starts the stdio server

License

MIT

來源:README.md,提交 273503a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.3.0最新Nov 7, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分