adtest-mcp
AI-only ad scoring for Claude: score image, video or text ads on 13 dimensions before you spend.
Install
Terminal
$npx -y adtest-mcpmcp_config.json
{
"mcpServers": {
"ai-adtest-adtest-mcp": {
"env": {
"ADTEST_API_KEY": "${ADTEST_API_KEY}",
"ADTEST_API_BASE": "${ADTEST_API_BASE}",
"ADTEST_POLL_TIMEOUT_MS": "${ADTEST_POLL_TIMEOUT_MS}"
},
"args": [
"-y",
"adtest-mcp"
],
"command": "npx"
}
}
}Documentation
AdTest.AI MCP server
· Registry name: ai.adtest/adtest-mcp · License: MIT
Adds a single analyze_advert tool to Claude (Desktop, Code, or any MCP client) that
runs AdTest.AI's AI-only 13-dimension analysis of an advert — image, video, or text —
and returns a detailed scoring report. (Human-panel validation is available in the
web app only, not through this server.)
Quick add for Claude Code:
claude mcp add adtest -e ADTEST_API_KEY=adk_your_key_here -- npx -y adtest-mcp
Setup
-
Get an API key: sign in at https://app.adtest.ai → the Developer (gear) icon → Generate key. Make sure your wallet has funds — each successful analysis costs $1.
-
Add the server to your Claude config (Claude Desktop:
claude_desktop_config.json; Claude Code:.mcp.json):{ "mcpServers": { "adtest": { "command": "npx", "args": ["-y", "adtest-mcp"], "env": { "ADTEST_API_KEY": "adk_your_key_here" } } } }Or run it from a local checkout (after
npm installin this folder):{ "mcpServers": { "adtest": { "command": "node", "args": ["/absolute/path/to/mcp-server/index.js"], "env": { "ADTEST_API_KEY": "adk_your_key_here" } } } } -
Restart Claude, then just ask:
- “Analyze this advert: https://example.com/ad.jpg”
- “Analyze this ad video file: /Users/me/promo.mp4”
- “Score this ad copy: 50% off all shoes this weekend — shop now.”
The tool
analyze_advert — provide one of:
| arg | meaning |
|---|---|
url | public URL of an image or video advert (we download it) |
file_path | local image/video file to upload |
text | ad copy to analyze |
brand_url (optional) | advertiser website — improves brand/logo detection |
Returns the AI analysis text plus the amount charged and your remaining balance.
How it works (async — so video works)
The server submits the job to POST /developer/ai-analysis/jobs, gets a
job_id back immediately, then polls GET /developer/ai-analysis/jobs/{job_id}
every few seconds until it's complete or failed. This is why video works:
a single synchronous request would be cut off by the CDN edge timeout (~100s),
but video analysis can take several minutes. You're charged once, on success,
when the job completes — a failed job is never billed.
Notes
-
Registered in the official MCP Registry as
ai.adtest/adtest-mcp. -
Auth is the
x-api-keyheader, set fromADTEST_API_KEY. -
Endpoint defaults to
https://app.adtest.ai/adtest-api; override withADTEST_API_BASEfor staging. -
Poll ceiling defaults to 15 min; override with
ADTEST_POLL_TIMEOUT_MS(milliseconds) for very long video. -
Rate limits: 30 submits/min and 2000/day per key (60/min per IP); polling is generous (240/min) and handled for you.
-
Errors come back as readable text:
invalid_api_key,insufficient_funds,no_creative,invalid_url,unsupported_media_type,too_many_requests,analysis_failed(the last is not charged). -
Requires Node ≥ 18.
Links
- Product: https://adtest.ai
- App and API keys: https://app.adtest.ai
- Issues: https://github.com/menaker/adtest-mcp/issues
License
MIT — see LICENSE.
Sourced from the repository README.
More in AI & Agents
- PonytailMakes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.109,599
- AgentsMulti-harness agentic plugin marketplace for Claude Code, Codex, Cursor, OpenCode, GitHub Copilot, and Google Antigravity39,079
- Frontend SlidesCreate beautiful slides on the web using a coding agent's frontend skills28,060
- Agent Skills Search ServerSearch and discover Agent Skills from the skills.sh registry. Powered by HAPI MCP server.24,947
- Agency Agents Zh🎭 267 个即插即用的 AI 专家角色 — 支持 Hermes Agent/Claude Code/Cursor/Copilot 等 18 种工具,覆盖工程/设计/营销/金融等 20 个部门。含 52 个中国市场原创智能体(小红书/抖音/微信/飞书/钉钉等)。搭配编排器 agency-orchestrator,一句话即可让多位专家按 DAG 自动协作。19,868
- Watermarks RemoverStrip multi-vendor AI provenance marks: Unicode text hygiene, statistical rewrite hooks, and C2PA/metadata from PNG/JPEG/SVG/PDF/DOCX/HTML/MD17,822