PeerTube data API
4 endpoints for PeerTube: search, trending, video, video comments. One API key, one JSON schema, as MCP tools or REST.
Endpoints
Call any of them over MCP with call_endpoint and its path, or over REST.
| Endpoint | Returns | Credits | Cache |
|---|---|---|---|
| searchGET /v1/peertube/search | PeerTube videos from many instances matching a keyword, through the SepiaSearch index. | 1 | 2 min |
| trendingGET /v1/peertube/trending | Trending PeerTube videos across instances, through the SepiaSearch index. | 1 | 30 min |
| videoGET /v1/peertube/video | One PeerTube video with views and engagement. | 1 | 10 min |
| video/commentsGET /v1/peertube/video/comments | Top-level PeerTube comments on one video, in the order the watch page ranks them. | 5 | 5 min |
Connect your agent over MCP
Remote MCP server: https://data.openkrill.app/mcp with your key in the x-api-key header.
claude mcp add --transport http krilldata \
https://data.openkrill.app/mcp \
--header "x-api-key: YOUR_API_KEY"{
"mcpServers": {
"krilldata": {
"url": "https://data.openkrill.app/mcp",
"headers": {
"x-api-key": "YOUR_API_KEY"
}
}
}
}{
"mcpServers": {
"krilldata": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://data.openkrill.app/mcp",
"--header",
"x-api-key:${API_KEY}"
],
"env": {
"API_KEY": "YOUR_API_KEY"
}
}
}
}