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.

EndpointReturnsCreditsCache
profileGET /v1/discourse/profilePublic profile for a Discourse account.115 min
profile/postsGET /v1/discourse/profile/postsRecent Discourse posts by an account, newest first.110 min
postGET /v1/discourse/postOne Discourse post by URL, with its engagement counts.110 min
post/commentsGET /v1/discourse/post/commentsComments on one Discourse post, replies included.15 min
searchGET /v1/discourse/searchTopics and posts on meta.discourse.org matching a keyword.12 min
trendingGET /v1/discourse/trendingNewest topics on meta.discourse.org.130 min
category/listGET /v1/discourse/category/listForum categories on Discourse, with the topic and post counts behind each.130 min
category/topicsGET /v1/discourse/category/topicsTopics in one Discourse category, newest activity first.52 min
topGET /v1/discourse/topTopics Discourse ranks highest over the chosen window, best first.130 min
tagGET /v1/discourse/tagTopics carrying one tag on Discourse, newest activity first.12 min

Connect your agent over MCP

Remote MCP server: https://data.openkrill.app/mcp with your key in the x-api-key header.

Claude Code · Run in a terminal
claude mcp add --transport http krilldata \
  https://data.openkrill.app/mcp \
  --header "x-api-key: YOUR_API_KEY"
Cursor · Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "krilldata": {
      "url": "https://data.openkrill.app/mcp",
      "headers": {
        "x-api-key": "YOUR_API_KEY"
      }
    }
  }
}
Claude Desktop · Add to claude_desktop_config.json
{
  "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"
      }
    }
  }
}
Discourse data API for AI agents | KrillData