Claude Code already has your repo, your commit history, and your release notes. Add Motif and it has your brand voice too. One MCP config, one prompt, posts in your voice.
What is Claude Code?
Claude Code is Anthropic's agentic CLI — Claude running as a full-access shell agent with native MCP support. Adding Motif's MCP server turns your terminal into a content engine: the same agent you use to ship code can turn your shipped work into posts.
Setup guide
Get your Motif API key
Create a Starter or Pro account at createmotif.com. Go to Settings → API Keys and generate a new key. Copy it immediately — it's only shown once.
motif_k8x3...aBcDeFgHiJkLmNoPqRsTuVwXyZAdd Motif to Claude Code
Run the MCP add command from your terminal. Claude Code stores MCP servers in its config and restarts the connection automatically.
claude mcp add motif npx @motif/mcp-server \
--env MOTIF_API_KEY=motif_YOUR_KEY_HEREVerify the tools are available
In a Claude Code session, ask: "What MCP tools do I have?" You should see motif.repurpose, motif.generate, motif.extract-ideas, and a few others.
Repurpose from anywhere
Point Claude Code at a file, URL, or concept and let it run Motif. Because it's a shell agent, you can chain: grep → motif → gh pr comment, etc.
# Straight prompt:
"Use motif.repurpose on ./blog/launch.md and save the posts to ./social/"
# Or chained with other tools:
"Pull the last release notes from git, run them through Motif, and
draft a LinkedIn post + a Twitter thread from the output."
# Or pipelined in automation:
claude --prompt "Repurpose $(cat today.md) with motif" --printWhy connect Claude Code to Motif?
From commit to content
Claude Code already has access to your repo. Wire it to Motif and your agent can turn shipped work — release notes, PR descriptions, changelogs — into platform-native posts without leaving the terminal.
Composable with every other tool
Claude Code's shell access means Motif composes with git, gh, curl, awk — whatever else you reach for. Repurpose → commit to a content repo → open a PR → tag for review. One agent, one session.
Automatable as a command
Claude Code's --prompt and --print flags mean you can invoke repurposing from a cron job, a git hook, or a deploy script. Non-interactive, idempotent, scriptable.
What you can build
Automated release social
Add a post-release git hook: Claude Code reads the release notes, calls Motif, and files drafts into social/. No dashboard trips, no copy-paste.
Blog → social in one CLI call
You write long-form in Markdown. One claude command reads the file, sends it to Motif, and writes platform-specific versions to your queue directory — ready to schedule.
Voice audit of existing content
Point Claude Code at your last 10 blog posts, have it call motif.voices.analyze, and get a voice profile back. Use the output to tune your voice training.
From people like you
“We manage social for 12 clients. Before Motif, that meant 12 different writing styles to maintain manually. Now each client has their own voice profile and the output is indistinguishable from hand-written.”
“I used to spend Sunday evenings writing LinkedIn posts. Now I drop in a podcast episode and get a week of posts in 10 minutes. Went from 2 posts/week to 12.”
“I uploaded 5 blog posts, and Motif nailed my tone so well my co-founder couldn't tell which posts were mine vs. generated. That's when I knew this was different.”
Yes — API access requires Starter ($29/mo) or Pro ($59/mo). Keys come from your dashboard at Settings → API Keys.
Yes. Both speak the same Model Context Protocol. The same @motif/mcp-server package registers in both environments. You can use Motif in either without changing anything.
Yes. Claude Code's --prompt and --print flags make it scriptable. Register the MCP server once, then invoke from cron, GitHub Actions, or any runner. Keep your API key in the environment.
The MCP server wraps the REST API with a structured tool schema the agent can reason about. Same capabilities, fewer round-trips of prompt engineering. For pure scripts, the REST API is often simpler.
60 requests per minute per API key. That's more than enough for interactive use and most automation. Rate-limited responses include a Retry-After header.
See also
Your voice. Every platform. Minutes, not hours.
$29/mo · 7-day money-back guarantee · Cancel anytime