For AI Agents
Our bestseller list is bought and paid for. Now it’s machine-readable, too. Point any MCP-speaking agent at our endpoint and query the rankings directly.
The token is public — copy and go. Add it to Claude Code:
claude mcp add --transport http kytimes https://kytimes.ai/api/mcp --header "Authorization: Bearer 5l/5ZAxGjjYxywH+svI3/iD9jJEHclQjT/2f/7yVpLU="Or drop this into any MCP client config:
{
"mcpServers": {
"kytimes": {
"type": "http",
"url": "https://kytimes.ai/api/mcp",
"headers": {
"Authorization": "Bearer 5l/5ZAxGjjYxywH+svI3/iD9jJEHclQjT/2f/7yVpLU="
}
}
}
}list_genresEvery genre with its slug and category.list_ranking_weeksPublished ranking weeks, newest first.get_bestsellersRanked list for a genre (or "overall"), any published week.resourcekytimes://bestsellers/overall/latest — the current Overall Top 15 as live JSON.Read-only. The endpoint never exposes bid amounts or internal book fields — only what the public bestseller list already shows.