Stack Exchange data API

12 endpoints for Stack Exchange: profile, profile posts, post, post comments, search, trending, profile answers, profile tags, profile reputation, question comments, questions, tags. 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/stackexchange/profileA Stack Overflow user by id or display name: reputation, badge counts, location, about text and join date.115 min
profile/postsGET /v1/stackexchange/profile/postsA Stack Overflow user's questions, highest voted first, with tags, score, answer count and views.110 min
postGET /v1/stackexchange/postOne Stack Overflow question by URL.110 min
post/commentsGET /v1/stackexchange/post/commentsAnswers to one Stack Overflow question, highest voted first.15 min
searchGET /v1/stackexchange/searchStack Overflow questions matching a keyword, ranked by relevance.12 min
trendingGET /v1/stackexchange/trendingHot questions on Stack Overflow.130 min
profile/answersGET /v1/stackexchange/profile/answersAnswers one Stack Exchange user wrote, highest scoring first, each linking its question.515 min
profile/tagsGET /v1/stackexchange/profile/tagsTags one Stack Exchange user answers most, with their post counts.115 min
profile/reputationGET /v1/stackexchange/profile/reputationRecent reputation changes for one Stack Exchange user, newest first, with the post that earned them.515 min
question/commentsGET /v1/stackexchange/question/commentsComments posted under one Stack Exchange question, distinct from its answers.15 min
questionsGET /v1/stackexchange/questionsQuestions carrying one tag on Stack Exchange, highest scoring first by default.52 min
tagsGET /v1/stackexchange/tagsMost used Stack Exchange tags with their question counts.130 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"
      }
    }
  }
}
Stack Exchange data API for AI agents | KrillData