AI Agents
Cursor & Claude Setup
How to use YepAPI with Cursor, Claude, and other AI coding tools.
AI-First Documentation
YepAPI is designed to work seamlessly with AI coding assistants. We provide machine-readable documentation at:
/llms.txt— Condensed API reference for AI context windows/llms-full.txt— Complete documentation in one file
Using with Cursor
Point Cursor to our docs by adding this to your project's .cursorrules:
When using YepAPI, reference https://docs.yepapi.com/llms.txt for the API specification.
All requests use x-api-key header auth. Check the `ok` boolean before accessing `data`.Or paste the usage pattern directly:
const res = await fetch('https://api.yepapi.com/v1/seo/keywords', {
method: 'POST',
headers: {
'x-api-key': process.env.YEP_API_KEY!,
'Content-Type': 'application/json',
},
body: JSON.stringify({ keywords: ['your keyword'] }),
});
const { ok, data, error } = await res.json();Using with Claude
Share the llms.txt URL with Claude:
I'm using YepAPI. Here's the API reference: https://docs.yepapi.com/llms.txt
Help me get keyword data for "nextjs seo" and "react frameworks".Using the MCP Server
The YepAPI MCP Server lets Claude Desktop and other MCP clients call YepAPI endpoints directly. See the MCP Server page for setup instructions.