SEO Machine Turns Claude Code Into a Full SEO Pipeline With 7,100 Stars
SEO Machine is a free, open-source Claude Code workspace that replaces $300–$600/month in SEO tooling with a multi-agent content pipeline grounded in real analytics data.
Takeaways
- SEO Machine is a free, open-source Claude Code workspace for end-to-end SEO content creation, with 7.1k GitHub stars.
- Replaces $300-$600/month in SEO tooling (Ahrefs, Surfer SEO, AI writers) with a single multi-agent pipeline inside Claude Code.
- Ships with 10 specialized agents, 5 Python analysis modules, and 26 marketing slash commands covering research, writing, optimization, and CRO.
- Integrates live data from Google Analytics 4, Google Search Console, and DataForSEO to inform content strategy and surface quick wins.
- Publishes directly to WordPress via REST API with Yoast SEO metadata; requires Claude Code CLI and an Anthropic API key to run.
- Quality depends heavily on upfront context configuration (brand voice, writing examples, keyword map); a complete Castos SaaS example is included in the repo.
SEO Machine is an open-source Claude Code workspace that turns long-form SEO content creation into a programmable, repeatable pipeline. Built originally for Castos, a podcast hosting SaaS, it has since been released publicly and has accumulated over 7,100 GitHub stars and nearly 960 forks. The pitch is simple: instead of bouncing between Ahrefs, an AI writer, Surfer SEO, and a performance tracker, you run the entire workflow inside one Claude Code session.
The average content marketer juggles four separate tools, spending $300–$600/month in subscriptions before writing a single word. SEO Machine collapses that stack into a single, context-aware workspace. Originally developed for Castos, it is now available as an open-source tool for any business to streamline long-form SEO content creation.
Content as code, not a creative project
Craig Hewitt's seomachine repo represents a growing class of tools: open-source frameworks that turn AI content generation into a systematic, repeatable process. Instead of treating each article as a one-off creative project, these systems treat content like software. There's a pipeline, there are inputs, and there's a predictable output.
SEO Machine runs the full chain inside Claude Code, meaning the model holds context across all four steps simultaneously: research, write, analyze, and optimize. This is the key architectural difference from most AI writing tools. Every handoff between tools normally loses context, and every new session forgets what you were trying to do. Here, a single Claude Code session carries the research brief, brand voice, keyword targets, and draft all at once.
What the pipeline actually does
The core workflow is a four-command sequence:
- /research [topic] -- Performs keyword research, analyzes the top 10 competitor pages, identifies content gaps, and saves a research brief to the
/research/directory. - /write [topic] -- Generates a 2,000-3,000+ word SEO-optimized article in your brand voice, then automatically fires four specialist agents (SEO Optimizer, Meta Creator, Internal Linker, Keyword Mapper) to analyze the draft.