Skip to main content
Glama
apify-utils
by moonie0201

apify-utils-mcp

Four small utilities behind one MCP server: PDF text, tables and OCR, YouTube thumbnail URLs and files, sports scores and standings, and ATP/WTA tennis.

Each tool is a thin client over a public Apify Actor. Runs are billed by Apify to your own account — see Pricing. This server never proxies a call, never sees your token or your results, and never pays for a run on your behalf.

Install

Requires uv and a free Apify token.

{
  "mcpServers": {
    "apify-utils": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/moonie0201/apify-utils-mcp", "apify-utils-mcp"],
      "env": { "APIFY_TOKEN": "apify_api_..." }
    }
  }
}

Client

Where that JSON goes

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) · %APPDATA%\Claude\claude_desktop_config.json (Windows)

Cursor

~/.cursor/mcp.json, or .cursor/mcp.json in a project

Claude Code

claude mcp add apify-utils --env APIFY_TOKEN=apify_api_... -- uvx --from git+https://github.com/moonie0201/apify-utils-mcp apify-utils-mcp

Related MCP server: ParseJet - Universal File & URL Parser

Tools

Tool

What it does

Spend cap

Cost

extract_pdf(urls, max_pages, output_mode?, page_range?, max_pages_per_pdf?, include_markdown?, extract_tables?, ocr?, max_ocr_pages_per_pdf?, chunk_size?, chunk_overlap?)

Text, markdown and ruled tables per page, per document, or as RAG chunks with page and character offsets. Optional Tesseract OCR for pages with no text layer.

max_pages

$0.0003/page, $0.003/OCR page

youtube_thumbnails(videos, max_videos, sizes?, image_format?, include_metadata?, save_images?)

Thumbnail URLs (jpg and webp) for video URLs or bare IDs, with per-size availability, bytes and etag from a HEAD probe, plus title and channel. Optionally saves the files to your own key-value store.

max_videos

$0.005/video

sports_scores(leagues, max_items, mode?, date_from?, date_to?, teams?, status?, season?, season_type?, event_ids?, include_odds?, timezone?)

Scores, schedules, standings, team directories and game summaries across 33 leagues.

max_items

$0.002/game · $0.001/standings or team row · $0.004/summary

tennis_scores(max_items, tours?, date_from?, date_to?, player?, status?, timezone?)

ATP and WTA matches with per-set scores, round, seeds, country, court and result text.

max_items

$0.002/match

list_supported_utilities()

Every tool, the Actor behind it, its exact per-event price and its spend-cap argument.

—

free, no network

Filters (page_range, teams, status, max_pages_per_pdf) are applied before billing, so a narrow query is cheap rather than a big response you post-filter. The spend-cap argument is required on every paid tool — there is no way to start an unbounded run from here.

Pricing

No Actor here charges a start fee, so a run that fails or finds nothing costs nothing.

Tool

Event

Price

Free, always

extract_pdf

page

$0.0003

document summary rows, error rows, pages outside page_range/max_pages_per_pdf, refused downloads

extract_pdf

ocr-page

$0.003

image-only pages when ocr is off (delivered empty with needsOcr)

youtube_thumbnails

video

$0.005

not_found, invalid_input, duplicate, removed, playlist_not_supported, budget_exhausted

sports_scores, tennis_scores

game

$0.002

league_summary and error rows, games dropped by teams/status, off-season windows, unknown leagues or event ids

sports_scores

row

$0.001

—

sports_scores

summary

$0.004

—

Worked examples: a 2-page invoice is $0.0006, a 100-page manual $0.03, 20 scanned pages with OCR $0.06, 100 videos $0.50, today's NBA slate of 8 games $0.016, 500 game summaries $2.00.

Billing lands on the Apify account behind your own APIFY_TOKEN. The spend-cap argument is not just documentation: the server turns it into the run's maxTotalChargeUsd, so Apify enforces the dollar ceiling itself and stops the run when it is reached. Because OCR pages draw on the same max_pages budget at ten times the price, max_pages=1000 means $0.30 with ocr off and $3.00 with it on, and the ceiling sent to Apify follows whichever applies. Apify refuses a ceiling below an Actor's own minimum ($0.05 for extract_pdf, $0.10 for the rest), so very small runs ask for that floor — a ceiling, not a charge: a two-page PDF still costs $0.0006.

The run is also started with timeout=290, inside Apify's 300 s synchronous window, so a run can never outlive the call and keep charging in the background.

Sports data: read this first

Unofficial. Not affiliated with, endorsed by or sponsored by ESPN, The Walt Disney Company or any league. Data comes from the unauthenticated JSON feeds that espn.com itself uses; they are undocumented, Disney's Terms of Use for espn.com restrict automated access, and ESPN may change or block access without notice — if that happens the Actor fails the run and charges nothing, and we stop within 48 h of any notice from ESPN or Disney. Scores, schedules and standings are facts; ESPN's articles, video and images are ESPN's copyrighted content and are not included. Odds are one sportsbook's pregame line shown on ESPN, for information only — not for wagering. Team and league names and logos are trademarks of their owners. Removal requests: TAKEDOWN.md — honoured in 48 h.

include_odds defaults to off here, unlike the Actor. Turn it on only if you want the pregame line copied into the row. timezone defaults to UTC and only affects the dateLocal field; feed dates are UTC either way.

Availability. All four Actors are public: acotr_moonie/pdf-text-extractor, acotr_moonie/youtube-thumbnail-downloader, acotr_moonie/espn-sports-scraper and acotr_moonie/tennis-scores-scraper (the two sports listings since 2026-08-28). Every tool was verified end to end against its live Actor.

leagues accepts: nfl, ncaaf, nba, wnba, ncaab, ncaaw, mlb, nhl, mls, nwsl, epl, championship, fa-cup, la-liga, serie-a, bundesliga, ligue-1, eredivisie, primeira-liga, liga-mx, saudi-pro-league, wsl, ucl, uel, uecl, nations-league, world-cup, copa-libertadores, atp, wta, pga, f1, ufc — or any raw ESPN path such as soccer/bra.1, which comes back as a free error row if unknown.

YouTube

Nominative reference only: this reads the public i.ytimg.com thumbnail CDN and YouTube's public oEmbed endpoint. Not affiliated with, endorsed by or sponsored by YouTube or Google; the YouTube name and logo are trademarks of Google LLC. Thumbnails are the copyright of the uploader or their licensors — the tool retrieves them, it does not grant you a licence to republish them.

What it will not do

  • Nothing is inferred. Where a value cannot be determined the field is null.

  • extract_pdf reads PDFs you point it at with a plain GET, no proxy and no login. You are responsible for the hosting site's terms and robots rules. PDFs whose owner disabled text copying are always skipped, with a free error row and no override.

  • Markdown headings and paragraphs are heuristics over font size and line gaps, not a layout model. Table extraction finds tables drawn with ruling lines; borderless tables stay in the text.

  • youtube_thumbnails does not expand playlist or channel URLs, and does not download video.

  • The sports tools carry no news, articles, rosters, injuries, athlete bios, play-by-play or video, and no ITF or Challenger tennis.

Development

uv venv && uv pip install -e ".[dev]"
python -m pytest tests -q       # offline: httpx is monkeypatched, nothing is billed
ruff check . && ruff format --check .
python -m apify_utils_mcp --list-tools

Disclosure

I built this, and the four Actors behind it are paid. The adapter code is open and MIT licensed.

Available Tools

5 tools
extract_pdfA

Extract text, markdown and ruled tables from PDFs at a URL, with optional Tesseract OCR for scanned pages. output_mode 'page' gives one row per page, 'document' one row per PDF with a pages array, 'chunk' gives RAG chunks of chunk_size characters with page and character offsets. page_range ('1-5', '8', '12-') and max_pages_per_pdf keep unwanted pages from ever being charged. Billed to your own Apify account at $0.0003 per delivered page and $0.003 per OCR page; max_pages is the hard spend cap for the whole run (1000 pages = $0.30, or $3.00 if ocr is on — OCR pages spend the same max_pages budget at 10x the price). That ceiling is also sent to Apify as the run's maximum total charge. Document summary rows, error rows and pages outside the range are free.

Inputs: urls (required), max_pages (required), ocr, chunk_size, +7 more. Returns: result

list_supported_utilitiesA

List the utilities this server exposes, the Apify Actor behind each, the exact per-event price billed to your own Apify account, which argument is the hard spend cap, and whether the Actor is reachable yet. Also returns the league keys sports_scores accepts. No network, no cost.

Inputs: no named parameters. Returns: object

sports_scoresA

Scores, schedules, standings, team directories and game summaries for 33 leagues — NFL, NBA, WNBA, MLB, NHL, NCAA football and basketball, MLS, NWSL, 18 more soccer competitions, ATP and WTA tennis, PGA Tour, Formula 1 and UFC. mode: scoreboard (games by date_from/date_to), schedule (a team's season), standings, teams, or summary (box-score rows for event_ids from an earlier scoreboard run). teams and status filter before billing, so a narrow query is cheap. include_odds is off by default here, unlike the Actor; turn it on for the pregame line. Dates are UTC unless you set timezone, which only affects the dateLocal field. Billed to your own Apify account at $0.002 per game/match/session row, $0.001 per standings or team row and $0.004 per summary row; max_items is the hard spend cap (500 games = $1.00; 500 summary rows = $2.00), and that ceiling is also sent to Apify as the run's maximum total charge. Filtered-out games, off-season windows and error rows are free. Unofficial. Not affiliated with, endorsed by or sponsored by ESPN, The Walt Disney Company or any league. Data comes from the unauthenticated JSON feeds that espn.com itself uses; they are undocumented, Disney's Terms of Use for espn.com restrict automated access, and ESPN may change or block access without notice — if that happens the run fails and charges nothing, and we stop within 48 h of any notice from ESPN or Disney. Scores, schedules and standings are facts; ESPN's articles, video and images are ESPN's copyrighted content and are not included. Odds are one sportsbook's pregame line shown on ESPN, for information only — not for wagering. Team and league names and logos are trademarks of their owners.

Inputs: leagues (required), max_items (required), mode, teams, +8 more. Returns: result

tennis_scoresA

ATP and WTA tennis: every match on the same ESPN feed — tour events and all four Grand Slams including qualifying — with per-set scores, round, seeds, country, court and the one-line result. Defaults to both tours for today; player is a name substring ('Alcaraz') applied before billing. Dates are UTC unless you set timezone, which only affects the dateLocal field. Same Actor family as sports_scores with tennis defaults; standings and schedule modes return a free notice for tennis. Billed to your own Apify account at $0.002 per delivered match row; max_items is the hard spend cap (100 matches = $0.20), and that ceiling is also sent to Apify as the run's maximum total charge. Filtered-out matches, empty days and error rows are free. Unofficial. Not affiliated with, endorsed by or sponsored by ESPN, The Walt Disney Company or any league. Data comes from the unauthenticated JSON feeds that espn.com itself uses; they are undocumented, Disney's Terms of Use for espn.com restrict automated access, and ESPN may change or block access without notice — if that happens the run fails and charges nothing, and we stop within 48 h of any notice from ESPN or Disney. Scores, schedules and standings are facts; ESPN's articles, video and images are ESPN's copyrighted content and are not included. Odds are one sportsbook's pregame line shown on ESPN, for information only — not for wagering. Team and league names and logos are trademarks of their owners.

Inputs: max_items (required), tours, player, status, +3 more. Returns: result

youtube_thumbnailsA

Resolve YouTube video URLs or bare 11-character video IDs to their thumbnail image URLs, with per-size availability, byte size and etag from a HEAD probe — never guessed. sizes takes 'best', 'all', 'oar' or explicit names (maxresdefault, sddefault, hqdefault, mqdefault, default). save_images stores the picked sizes in the run's key-value store on your own account; turn it off for URLs and metadata only, at the same price. Billed to your own Apify account at $0.005 per delivered video; max_videos is the hard spend cap (100 videos = $0.50), and that ceiling is also sent to Apify as the run's maximum total charge. not_found, invalid_input, playlist_not_supported, duplicate, removed and budget_exhausted rows are free. Nominative reference to YouTube only; not affiliated with or endorsed by YouTube or Google.

Inputs: videos (required), max_videos (required), sizes, save_images, +2 more. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 5 tools

    Disambiguation3/5

    Most tools are distinct, but sports_scores and tennis_scores both consume the same ESPN feed and overlap on tennis coverage, creating real selection ambiguity. The descriptions clarify the difference, but an agent could reasonably choose either tool for a tennis query.

    Naming Consistency3/5

    Names are all snake_case and readable, but conventions are mixed: extract_pdf and list_supported_utilities are verb_noun, while youtube_thumbnails, sports_scores, and tennis_scores are noun phrases. There is no consistent verb_noun pattern across the set.

    Tool Count4/5

    Five tools is a reasonable size for a utility aggregator, and most tools cover substantial functionality. The sports/tennis duplication makes one tool feel slightly redundant, but the count is not bloated or thin.

    Completeness5/5

    Relative to the advertised utilities, the tool surface is well covered: PDF extraction has multiple output modes and OCR, YouTube thumbnails cover sizes and storage, and sports data includes scoreboards, schedules, standings, teams, and summaries. list_supported_utilities prevents dead ends by exposing league keys, pricing, and reachability.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      C
      maintenance
      Swiss-army-knife utility MCP server for AI agents. 18 tools for JSON validation/formatting, base64 encode/decode, hash generation, UUID generation, URL parsing, regex testing, markdown↔HTML conversion, text stats, slug generation, datetime conversion, cron parsing, text diffing, CSV↔JSON conversion, and JWT decoding. Zero API Key required
      18
      5
      -
    • A
      license
      A
      quality
      B
      maintenance
      Full-stack PDF intelligence MCP server for extracting, manipulating, annotating, converting, validating, and RAG-searching PDFs through a unified tool surface and React workbench.
      16
      1
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Converts documents to clean Markdown for AI agents from a URL or base64 — no API key, built for remote hosting. Supports PDF (tables preserved as Markdown/CSV/JSON), DOCX, PPTX, XLSX, EPUB, HTML and CSV; scanned PDFs and images go through offline OCR. Includes full-text search, page-range reading, metadata inspection, PDF split/merge and image export, with SSRF-protected fetching, 30 MB limits and
      10
      16 PyPI
      AGPL 3.0