# API, MCP and CLI

> SEOAnything has a REST API described by an OpenAPI 3.1 document, a remote MCP server at /mcp with 56 tools for AI editors such as Claude Code, Cursor and VS Code, and a command-line tool you run with npx seoanything-cli.

URL: https://www.seoanything.dev/features/developers · updated 2026-11-16

## Who it's for

- Developers automating SEO tasks
- People who work in Claude Code, Cursor or VS Code
- Teams that keep content in repositories

## What you give it

- An API key from your settings
- MCP: the server URL and your key in the editor's MCP settings
- CLI: npx seoanything-cli login

## What you get

- JSON from every API endpoint
- MCP tools: trends_daily, trends_realtime, keyword_interest, keyword_regions, keyword_suggest, keyword_cluster, keyword_cluster_plan, repos_trending, topics_trending, trend_articles, seo_audit_url, seo_generate_schema, ai_search_optimize, fix_audit_issues, chat_ask, blog_create, blog_get, blog_list, blog_optimize, blog_write_section, write_seo_blog_post, plan_list, plan_add, plan_move, plan_fill, plan_write, plan_settings, research_run, research_list, research_decide, plan_topics, keyword_lists, keyword_target, blog_results, blog_video_brief, blog_results_set, blog_results_remove, blog_link_save, blog_link_remove, site_crux, bing_stats, local_audit, local_install_skills, local_llms_txt, local_sitemap
- CLI commands: login, logout, config, connect, chat, trends, keywords, repos, topics, audit, blog, plan, bing, mcp

## How it works

1. Every call uses your account's daily limits.
2. seoanything-cli connect links the AI command-line tools on your computer, so chats and drafts can run on them.

## Data sources

- The same data as the web app

## Limits

- Daily limits apply to API, MCP and CLI calls as they do in the web app.
- Keep API keys private; revoke one in settings if it leaks.

## Examples

- Audit every page of a site from a CI job
- Ask Claude Code for this week's trending searches in Nepal
- Draft a post section from your terminal

## Get started

Get an API key: https://www.seoanything.dev/app/settings/keys
