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.
| Endpoint | Returns | Credits | Cache |
|---|---|---|---|
| profileGET /v1/stackexchange/profile | A Stack Overflow user by id or display name: reputation, badge counts, location, about text and join date. | 1 | 15 min |
| profile/postsGET /v1/stackexchange/profile/posts | A Stack Overflow user's questions, highest voted first, with tags, score, answer count and views. | 1 | 10 min |
| postGET /v1/stackexchange/post | One Stack Overflow question by URL. | 1 | 10 min |
| post/commentsGET /v1/stackexchange/post/comments | Answers to one Stack Overflow question, highest voted first. | 1 | 5 min |
| searchGET /v1/stackexchange/search | Stack Overflow questions matching a keyword, ranked by relevance. | 1 | 2 min |
| trendingGET /v1/stackexchange/trending | Hot questions on Stack Overflow. | 1 | 30 min |
| profile/answersGET /v1/stackexchange/profile/answers | Answers one Stack Exchange user wrote, highest scoring first, each linking its question. | 5 | 15 min |
| profile/tagsGET /v1/stackexchange/profile/tags | Tags one Stack Exchange user answers most, with their post counts. | 1 | 15 min |
| profile/reputationGET /v1/stackexchange/profile/reputation | Recent reputation changes for one Stack Exchange user, newest first, with the post that earned them. | 5 | 15 min |
| question/commentsGET /v1/stackexchange/question/comments | Comments posted under one Stack Exchange question, distinct from its answers. | 1 | 5 min |
| questionsGET /v1/stackexchange/questions | Questions carrying one tag on Stack Exchange, highest scoring first by default. | 5 | 2 min |
| tagsGET /v1/stackexchange/tags | Most used Stack Exchange tags with their question counts. | 1 | 30 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"
}
}
}
}