API Docs
There are two versions of the API. The V1, which is the classic one (now deprecated), which uses a custom JSON response.
And V2, which uses JSON API schema as its response format. This version will be widely supported and will be adding new features in the future.
Use it from an AI assistant (MCP)
The Model Context Protocol (MCP) is how AI assistants call outside tools. Dog API runs an MCP server, so an assistant can look up breeds and groups, fetch dog facts and show a credited picture on its own. Like the rest of the API, it needs no key and no sign up.
https://dogapi.dog/mcp
It offers six read-only tools: random_dog_facts,
search_breeds, get_breed, list_groups,
get_group and random_dog_image.
Claude Code
claude mcp add --transport http dogapi https://dogapi.dog/mcp
Claude Desktop and claude.ai
In Settings, under Connectors, add a custom connector named Dog API with
https://dogapi.dog/mcp as its URL.
Cursor
{
"mcpServers": {
"dogapi": {
"url": "https://dogapi.dog/mcp"
}
}
}
VS Code
{
"servers": {
"dogapi": {
"type": "http",
"url": "https://dogapi.dog/mcp"
}
}
}