Discourse data API
10 endpoints for Discourse: profile, profile posts, post, post comments, search, trending, category list, category topics, top, tag. 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 |
|---|---|---|---|
| profileGET /v1/discourse/profile | Public profile for a Discourse account. | 1 | 15 min |
| profile/postsGET /v1/discourse/profile/posts | Recent Discourse posts by an account, newest first. | 1 | 10 min |
| postGET /v1/discourse/post | One Discourse post by URL, with its engagement counts. | 1 | 10 min |
| post/commentsGET /v1/discourse/post/comments | Comments on one Discourse post, replies included. | 1 | 5 min |
| searchGET /v1/discourse/search | Topics and posts on meta.discourse.org matching a keyword. | 1 | 2 min |
| trendingGET /v1/discourse/trending | Newest topics on meta.discourse.org. | 1 | 30 min |
| category/listGET /v1/discourse/category/list | Forum categories on Discourse, with the topic and post counts behind each. | 1 | 30 min |
| category/topicsGET /v1/discourse/category/topics | Topics in one Discourse category, newest activity first. | 5 | 2 min |
| topGET /v1/discourse/top | Topics Discourse ranks highest over the chosen window, best first. | 1 | 30 min |
| tagGET /v1/discourse/tag | Topics carrying one tag on Discourse, newest activity first. | 1 | 2 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"
}
}
}
}