sanity-plugin-seo-copilot
v0.1.2
Published
AI-powered SEO writing assistant for Sanity Studio
Maintainers
Readme
sanity-plugin-seo-copilot
AI-powered SEO writing assistant for Sanity Studio v3.
Adds an SEO Copilot inspector panel to every document in your Sanity Studio. Editors get real-time keyword analysis, search volume data, placement tracking, and an AI chat assistant - all without leaving the editor.
Installation
npm install sanity-plugin-seo-copilotConfiguration
Add the plugin to your sanity.config.ts:
import { defineConfig } from 'sanity'
import { seoCopilot } from 'sanity-plugin-seo-copilot'
export default defineConfig({
// ... your existing config
plugins: [
// ... your existing plugins
seoCopilot({
apiUrl: 'https://ecaruso.vercel.app',
publication: 'Your Publication Name', // optional
}),
],
})Options
| Option | Type | Required | Description |
| ------------- | ------ | -------- | ------------------------------------------------ |
| apiUrl | string | Yes | Backend API URL for SEO analysis |
| publication | string | No | Publication name for tailored keyword suggestions |
Usage
Once installed, every document in your Studio gets an SEO Copilot icon in the toolbar. Click it to open the inspector panel with:
- Keywords tab - Real-time keyword analysis with search volume data, placement indicators (body, title, description, image, URL), and AI-suggested keywords
- Chat tab - AI assistant that understands your document content and can help with SEO strategy, title suggestions, meta descriptions, and more
How it works
The plugin reads document content from the Sanity editor and sends it to the backend API for analysis. The backend uses Claude AI for keyword analysis and SEMrush for search volume data. All processing happens server-side - the plugin itself is a lightweight UI.
