A Claude Code plugin that provides real tools for working with OpenRTB 2.6 protocol - validation, generation, conversion, and more.
| Tool | Description |
|---|---|
openrtb_validate |
Validate payloads against official JSON Schema |
openrtb_convert_25_to_26 |
Convert bid requests from 2.5 to 2.6 |
openrtb_generate_request |
Generate bid requests from parameters |
openrtb_generate_response |
Generate bid responses |
openrtb_calculate_pod_floor |
Calculate CTV pod floor with mincpmpersec |
openrtb_diff |
Compare two payloads and show differences |
/openrtb-plugin:validate- Validate a payload/openrtb-plugin:generate- Generate from description
- expert agent - Deep OpenRTB knowledge for complex questions
- openrtb skill - Protocol expertise loaded automatically
# Build the MCP server first
cd ~/Code/projects/openrtb-plugin/mcp-server
npm install
npm run build
# Test the plugin
claude --plugin-dir ~/Code/projects/openrtb-pluginUse the openrtb_validate tool on this payload: {"id": "123", "imp": [...]}
Use openrtb_generate_request with type=ctv_pod, pod_duration=90, pod_max_ads=4
Use openrtb_calculate_pod_floor with mincpmpersec=0.5 and duration=30
Use openrtb_convert_25_to_26 on this payload: {...}
Key features over 2.5:
- Ad Pods:
poddur,podid,podseq,slotinpod,mincpmpersec - Structured UA:
suaobject for better device identification - Content objects:
networkandchannelfor CTV inventory - Media type signaling:
mtypeanddurin bid responses - Live TV:
rqddursfor exact duration requirements
MIT