Model Context Protocol

Audit a YouTube script from inside your assistant

PrePublish speaks MCP. Connect it to Claude, ChatGPT or any MCP client and your assistant can check the script you just wrote — hook, structure, pacing, the passages most likely to lose viewers, and a rewrite for each — without leaving the conversation.

No account, no API key, no card. The free tier is a published daily allowance of AI-backed calls; the length calculator is local arithmetic and never counts against it.

Connect it

One URL, Streamable HTTP, stateless. Paste it wherever your client asks for a remote MCP server.

Endpoint
https://prepublish.ai/mcp

Claude, ChatGPT and other remote clients

Add a custom connector and give it the endpoint above. Nothing else to configure: authentication is optional, and an anonymous connection works immediately.

Desktop clients that need stdio

Use the bridge. It forwards to the hosted server, so the tool list stays identical.

Claude Desktop config
{
  "mcpServers": {
    "prepublish": {
      "command": "npx",
      "args": ["-y", "prepublish-mcp"]
    }
  }
}

The six tools

audit_scriptAudit a finished draftCounts against the daily allowance
When
The user has written a script and wants to know what is weak before recording.
Returns
Hook, structure and pacing scores, a script-level attention-risk map naming the passages most likely to lose viewers, and a copy-paste rewrite for each flagged passage.
Inputs
video_title, script_text, optional email, video_duration_seconds, category, audience
get_auditCollect an audit by idAlways free
When
A previous audit was still running, or the user refers back to one from earlier in the conversation.
Returns
The current state of that audit, and a link to open it in the browser.
Inputs
analysis_id
audit_hookScore an openingCounts against the daily allowance
When
The user shares only a hook or first paragraph, or wants a fast read before auditing a whole draft.
Returns
Per-sentence attention pull, curiosity gap and payoff distance, an overall grade, the top issues, and rewritten alternatives.
Inputs
hook_text, optional niche, optional email
check_authenticityCheck reused-content riskCounts against the daily allowance
When
The user worries the script reads as mass-produced, templated or repetitive.
Returns
A score, a risk level, the firing signals with quotes, and remediation steps.
Inputs
video_title, script_text
policy_preflightPre-flight monetisation riskCounts against the daily allowance
When
The script touches sensitive subject matter and the user asks whether it is safe to monetise.
Returns
The YouTube policy categories the script may touch, each citing YouTube’s own published page, plus a verdict and flag counts. Quoted passages and their rewrites are part of the paid audit.
Inputs
script, optional title
script_runtimeLength to runtime, and backAlways free
When
“How long will this run?” or “How many words for a ten-minute video?”
Returns
A runtime range from measured speaking rates (160 / 181 / 201 words per minute across 349 videos), or the word budget for a target runtime.
Inputs
script_text, or word_count, or target_minutes

Try it without a client

The endpoint answers plain JSON-RPC over POST, and a bare GET returns a machine-readable server card.

One call, no dependencies
curl -s https://prepublish.ai/mcp \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
       "params":{"name":"script_runtime","arguments":{"target_minutes":10}}}'

What it will not do

  • It does not predict published retention. Every check reads text only. It maps relative attention risk inside an unrecorded draft; it cannot account for delivery, editing, thumbnail, topic or distribution, and no result is a forecast of what viewers will do.
  • It does not decide monetisation. The policy pre-flight reads your script against YouTube’s published guidelines and links the official page for each category. Only YouTube decides, and it decides on the finished video.
  • It does not write your script. These tools audit a draft you already wrote. If you want one generated, use a writing tool and bring the draft back here.
  • It does not invent an email address. A free full audit is released by email, so the tool asks your assistant to ask you.

Limits and data

Free tier

A published daily cap on AI-backed calls, resetting at 00:00 UTC, plus a short per-connection limit so one client cannot spend the day’s allowance. The live numbers are in the server card. When the allowance is gone the tool says so and tells your assistant not to retry.

Your script

Scripts are processed to produce the audit and stored with the analysis so it can be reopened. Nothing is sold or shared. See the privacy policy.

Want the full audit in the browser?

The same engine runs at prepublish.ai/upload with no account, and a Creator subscription is $19 a month or $200 a year.