Live SEO workflow tools for Claude Code, Codex, and AI agents.
Official open-source clients for AgentSEO, the SEO intelligence API for AI agents and developer workflows.
This repository contains the integration layer only:
packages/js-sdk - JavaScript/TypeScript SDKpackages/python-sdk - Python SDKpackages/mcp-server - Model Context Protocol serverThe hosted AgentSEO API, worker system, provider orchestration, billing, and transformation logic are not part of this repository.
Use the JavaScript SDK:
npm install @agentseo/sdk
import { AgentSEO } from "@agentseo/sdk";
const client = new AgentSEO({
apiKey: process.env.AGENTSEO_API_KEY!,
});
const result = await client.search(
{ query: "seo api", location: "United States", limit: 5 },
{ sync: true },
);
console.log(result);
Use the Python SDK:
pip install agentseo-sdk
from agentseo_sdk import AgentSEOClient
client = AgentSEOClient(api_key="sk_live_...")
result = client.search(query="seo api", sync=True)
print(result)
Use the MCP server:
export AGENTSEO_API_KEY="sk_live_your_key"
npx -y @agentseo/mcp-server
Build the JavaScript SDK:
cd packages/js-sdk
npm install
npm run build
Build the MCP server:
cd packages/mcp-server
npm install
npm run build
Install the Python SDK locally:
cd packages/python-sdk
python -m pip install -e .
Do not commit API keys, .env files, customer payloads, or provider credentials. See SECURITY.md.
MIT. See package-level LICENSE files.
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y @agentseo/mcp-serverMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"dev-agentseo-www-agentseo-mcp": {
"command": "npx",
"args": [
"-y",
"@agentseo/mcp-server"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup reference@agentseo/mcp-servernpmAgentSEO works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.