xpay tools logo
  • Tools
  • Collections
  • Skills
  • Docs
  • xpay.sh
  1. Home
  2. ›
  3. Mcps
  4. ›
  5. Search Demos

Mcps
Mcps
Tool

Search Demos

search_demos

Search and filter .dm_91 demo files in DEMO_PATH (local directory or s3:// URI). Returns up to N matching demos sorted by the chosen criterion. Supports filtering by recency, gametype, map, player, win/loss, minimum kills, and duration. Use deep_scan=true (or filters like pov_won/min_kills) to decode demos and get full rosters and scoreboards. NOTE: deep_scan is NOT supported when DEMO_PATH is an s3:// URI; only shallow (filename-based) filters work over S3. WARNING: deep_scan opens and fully reads every candidate demo file — it is expensive on large libraries. Avoid it when gametype, map, and player are your only filters: standard filenames already encode these fields. deep_scan is only necessary for roster-based player matching, pov_won, min_kills, min_duration_secs, or sort=longest.


Pricing

Per call

$0.02

Model

time-based


Pay only for what you use. No subscriptions.
Inputs

pov_won

booleannull

offset

integernull

before

stringnull

deep_scan

booleannull

max_age_days

numbernull

sort

stringnull

min_size_bytes

integernull

min_kills

integernull

gametype

stringnull

limit

integernull

after

stringnull

map

stringnull

min_duration_secs

integernull

player

stringnull
Try It
API
MCP Config
Input Parameters
pov_won
Filter for POV-player wins (true) or losses (false). Enables deep scan automatically.
offset
Number of results to skip before returning (for pagination)
before
Only include demos recorded before this date (YYYY-MM-DD or YYYY-MM-DD HH:MM:SS)
deep_scan
Force deep scanning of every candidate demo to populate full player roster, scoreboard, win/loss, and duration. Auto-enabled when using pov_won, min_kills, or min_duration_secs filters.
max_age_days
Only include demos from the last N days (e.g. 7 for one week)
sort
Sort order: 'recent' (default), 'oldest', 'largest', 'smallest', 'longest'
min_size_bytes
Minimum file size in bytes
min_kills
Minimum kill count for the POV player. Enables deep scan automatically.
gametype
Filter by gametype short name: FFA, DUEL, TDM, CTF, CA, FT, etc. (case-insensitive)
limit
Maximum number of results to return (default 20)
after
Only include demos recorded after this date (YYYY-MM-DD or YYYY-MM-DD HH:MM:SS)
map
Filter by map name (case-insensitive substring match, e.g. 'campgrounds' or 'blood')
min_duration_secs
Minimum demo duration in seconds. Enables deep scan automatically.
player
Filter by player name (case-insensitive substring). Matches POV player from filename; with deep_scan also matches any player in the roster.
Cost per run
Execution cost
$0.02
Deducted from your xPay allowance
xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

or ask your AI app
Popular Tools
FirecrawlTavilyExaHunterPerplexityRecraftIdeogramFlux
Collections
AI Image & MediaContent & ResearchDev ToolsFinanceLead GenWeb ScrapingCompetitive Intel
Developers
DocumentationAPI ReferenceQuickstartSDKsSkillsskill.mdllms.txt
Resources
The Agentic EconomyAgentic CommerceAgent Frameworksx402 ProtocolBlog
Company
About xpayxpay.shGitHubDiscordTwitter / X

© 2026 Agentically Inc. All rights reserved.
Privacy PolicyTerms of Service