Chris Day 示範如何為 AI 智能體接入地址、假期及文件工具
Give your AI agent address, holiday and document tools
Chris Day 建立並在 Apify Store 提供 25 款公開工具,供 AI 智能體整理地址、查詢公眾假期及工作日,並將 PDF 或 Word 文件轉成 Markdown。
I built a set of small, pay-per-event tools so an AI agent can clean addresses, look up public holidays and business-day due dates, and turn a PDF or Word file into Markdown, without you standing up a parser or a geocoder of your own.
They live on the Apify Store under my publisher name, geeky_goth_gamer. There are 25 public tools in the set. This article walks through three that come up a lot: addresses, holidays, and documents. You call them with an ordinary HTTP API, or you add one MCP URL to Claude Code, Cursor, VS Code or Claude Desktop.
A free Apify account includes $5 of monthly credit. Each run also charges Apify's $0.00005 start fee. You pay for successful work; failed or rejected inputs are free as described on each tool's Store page.
Listings and the MCP bundle: github.com/christurtleday-hue/apify-au-agent-tools-mcp
Hook the tools up over MCP
The hosted MCP URL for the full public set is in that README (it is long, because it names every tool). For just the three in this article, this is enough:
https://mcp.apify.com/?tools=geeky_goth_gamer/global-address-parser-geocoder,geeky_goth_gamer/au-nz-address-parser-geocoder,geeky_goth_gamer/global-public-holidays-business-days,geeky_goth_gamer/au-nz-public-holidays-business-days,geeky_goth_gamer/pdf-docx-to-markdown
Claude Code:
claude mcp add --transport http agent-tools "https://mcp.apify.com/?tools=geeky_goth_gamer/global-address-parser-geocoder,geeky_goth_gamer/au-nz-address-parser-geocoder,geeky_goth_gamer/global-public-holidays-business-days,geeky_goth_gamer/au-nz-public-holidays-business-days,geeky_goth_gamer/pdf-docx-to-markdown"
Cursor / VS Code / Claude Desktop (mcp.json):
{
"mcpServers": {
"agent-tools": {
"url": "https://mcp.apify.com/?tools=geeky_goth_gamer/global-address-parser-geocoder,geeky_goth_gamer/au-nz-address-parser-geocoder,geeky_goth_gamer/global-public-holidays-business-days,geeky_goth_gamer/au-nz-public-holidays-business-days,geeky_goth_gamer/pdf-docx-to-markdown"
}
}
}
Sign in with your Apify account when the client asks, or send Authorization: Bearer <APIFY_TOKEN>. The client can then call the tools directly. If you would rather stay in a script, the same work goes through the Apify API, as in the examples below.
1. Clean a messy address
Use this when an agent has a free-text address and needs it parsed, standardised or (in some countries) geocoded.
The Global Address Parser, Validator & Geocoder parses and validates addresses from 250 countries, and can geocode the US, Great Britain, France and the Netherlands. It is $0.001 per parsed address, or $0.003 if geocoded.
curl -s -X POST "https://api.apify.com/v2/acts/geeky_goth_gamer~global-address-parser-geocoder/run-sync-get-dataset-items?timeout=120" \
-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
-d '{"addresses": ["1600 Amphitheatre Pkwy, Mountain View, CA 94043", "10 Downing Street, London SW1A 2AA"]}'
If the addresses are Australian, use the Australian Address Validator & Geocoder instead. It standardises against official G-NAF data and can return lat/long. New Zealand addresses can be parsed too. Price starts at $0.001 per address, or $0.003 if geocoded.
curl -s -X POST "https://api.apify.com/v2/acts/geeky_goth_gamer~au-nz-address-parser-geocoder/run-sync-get-dataset-items?timeout=120" \
-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
-d '{"addresses": ["Unit 3, 12 Brisbane St, Launceston TAS 7250", "100 collins st melbourne", "15 Queen Street, Auckland Central, Auckland 1010"]}'
There are also regional tools for the US and Canada, the UK and EU, and APAC/LATAM/MEA, if you want a narrower schema. An LLM can tidy punctuation, but it cannot tell you whether a street number exists. That is why these tools exist.
2. Ask for holidays and business days
Use this when an agent needs a public-holiday calendar, or a due date that skips weekends and holidays, including state and regional holidays.
The Global Public Holidays & Business Days tool covers 250 countries, regions and stock markets. A calendar is $0.004, a date calculation is $0.001, and an SLA due-time calculation is $0.002. This example asks for Bavaria in 2026, plus whether two dates are holidays or business days:
curl -s -X POST "https://api.apify.com/v2/acts/geeky_goth_gamer~global-public-holidays-business-days/run-sync-get-dataset-items?timeout=120" \
-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
-d '{"country": "DE", "subdivision": "BY", "years": [2026], "dates": ["2026-12-25", "2026-12-29"]}'
For Australia and New Zealand, including Australian states and Tasmanian areas, use AU & NZ Public Holidays & Business Days ($0.004 per calendar, $0.001 per date calculation):
curl -s -X POST "https://api.apify.com/v2/acts/geeky_goth_gamer~au-nz-public-holidays-business-days/run-sync-get-dataset-items?timeout=120" \
-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
-d '{"region": "TAS", "years": [2026, 2027], "dates": ["2026-12-24", "2026-10-22"], "days": 5, "ranges": [{"start": "2026-12-01", "end": "2027-01-31"}]}'
3. Turn a PDF or Word file into Markdown
Use this when an agent has a public PDF or DOCX URL and needs clean text for a prompt or a RAG pipeline.
PDF & DOCX to Markdown charges $0.003 per page:
curl -s -X POST "https://api.apify.com/v2/acts/geeky_goth_gamer~pdf-docx-to-markdown/run-sync-get-dataset-items?timeout=120" \
-H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" \
-d '{"urls": ["https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"]}'
The same call in Python:
import os
from apify_client import ApifyClient
client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("geeky_goth_gamer/pdf-docx-to-markdown").call(
run_input={
"urls": [
"https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"
]
}
)
items = client.dataset(run["default_dataset_id"]).list_items().items
print(items[0]["markdown"][:500])
This is a converter, not a full RAG stack. You still have to chunk, embed and retrieve. For scanned pages or very awkward layouts, try it on a sample first and compare it with a local parser if quality matters.
If you want the rest of the set
The other public tools cover phone numbers, email syntax/MX/disposable checks, EU VAT and other business IDs, screenshots, citation checks, invoices and more. The GitHub README and llms.txt list each one with a "use this when..." line, the price, the Store URL and the MCP URL.
I built these because I wanted agents to call a boring, priced tool instead of guessing. If something is wrong on a listing, tell me and I will fix it.
來源:DEV Community · dev.to