# ads4ai.net ads4ai is a Revenue OS for AI sites and developer tools. It analyzes a publisher's site, recommends and implements an optimal revenue mix (affiliate programs + display ads), and continuously optimizes it. The agent path is primary: one MCP tool call to analyze a site, one to install, one to verify. Publisher goes from $0 to earning in under 60 seconds. ## Agent Integration MCP server: @ads4ai/mcp (npm) ```json { "mcpServers": { "ads4ai": { "command": "npx", "args": ["-y", "@ads4ai/mcp"] } } } ``` Agent tools: - ads4ai_analyze(site_url) — revenue mix recommendation, no account needed - ads4ai_install(site_url, email, revenue_plan?) — creates account, returns tag + snippets - ads4ai_verify(publisher_id) — confirms tag is live - ads4ai_overview() — revenue and optimization state - ads4ai_optimize() — trigger or inspect optimization cycle Full tool contracts: https://ads4ai.net/AGENTS.md ## Who This Is For - Indie developers with AI tools or side projects (10-50k monthly visitors) - Earning $0 or near-$0 from traffic - Using AI coding agents (Claude, Cursor, Windsurf) to build their sites - Willing to delegate monetization to an automated system ## What It Does 1. Analyzes site content, audience, and structure (up to 5 pages) 2. Matches affiliate programs to content type (Railway, Render, Anthropic, OpenAI, etc.) 3. Identifies display ad placements that won't hurt UX 4. Returns estimated monthly revenue with confidence scores 5. Implements the plan: injects tag.js + affiliate snippets 6. Continuously A/B tests placements and programs, pushes updates automatically ## Revenue Streams - Affiliate/contextual: 20-30% rev share (publisher keeps 70-80%) - Display via header bidding (Prebid.js): 15-20% rev share - No fees. No minimums. No traffic gates. ## Key Endpoints - /AGENTS.md — MCP tool contracts - /llms.txt — this file - /.well-known/mcp-server-card.json — MCP declarations - /api/status.json — system status - /api/analyze — site analyzer - /api/install — publisher onboarding - /api/verify — tag verification - /api/overview — publisher state - /api/optimize — optimization state and trigger ## Discoverability ads4ai.net welcomes all AI crawlers and agents. robots.txt allows: GPTBot, ClaudeBot, PerplexityBot, anthropic-ai, Google-Extended, CCBot.