StackExchange (Unofficial)
v0.2.2Unofficial StackExchange MCP — wraps the StackExchange API v2.3 (free, no auth required for read)
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
stackexchange_search_questions
Search for questions on StackOverflow or any StackExchange site. Returns title, body, score, answer count, tags, and link.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query string |
_apiKey | string | Optional — a StackExchange API key (free, 10k/day) for a dedicated quota. The gateway supplies a platform key; pass your own only to override. |
limit | number | Number of results to return (1-20, default 5) |
site | string | StackExchange site slug (default: stackoverflow). Examples: serverfault, superuser, askubuntu, math, physics |
get_answers
Get answers for a specific StackExchange question by ID. Returns answer body, score, and whether it is accepted.
| Parameter | Type | Description |
|---|---|---|
question_id * | number | The numeric question ID from the question URL |
_apiKey | string | Optional — a StackExchange API key (free, 10k/day) for a dedicated quota. The gateway supplies a platform key; pass your own only to override. |
site | string | StackExchange site slug (default: stackoverflow) |
stack_get_user
Look up a StackExchange user by numeric ID. Returns display name, reputation, badges (gold/silver/bronze counts), location, website, account age, last access, and per-site activity counts (questions/answers). Works on any StackExchange site (default: stackoverflow).
| Parameter | Type | Description |
|---|---|---|
user_id * | number | The numeric StackExchange user ID (visible in profile URL, e.g., stackoverflow.com/users/17034 → 17034) |
_apiKey | string | Optional — a StackExchange API key (free, 10k/day) for a dedicated quota. The gateway supplies a platform key; pass your own only to override. |
site | string | StackExchange site slug (default: stackoverflow). Examples: serverfault, superuser, askubuntu, math, physics |
list_questions_by_tag
Browse questions by TAG, sorted by votes or recency — answers "top questions tagged <tag>", "trending <tag> questions this week/month", "most-voted <tag> questions". Returns title, score, answer count, whether answered, view count, tags, and link (call get_answers with a returned question_id to read answers). Combine tags with ";" for AND (e.g. "kubernetes;helm"). Distinct from search_questions, which is keyword-based.
| Parameter | Type | Description |
|---|---|---|
tag * | string | Tag to browse (e.g. "rust", "kubernetes"). Combine with ";" for AND ("react;typescript"). |
_apiKey | string | Optional — a StackExchange API key (free, 10k/day) for a dedicated quota. The gateway supplies a platform key; pass your own only to override. |
limit | number | Number of questions to return (1-20, default 10) |
site | string | StackExchange site slug (default: stackoverflow). Examples: serverfault, superuser, askubuntu, math, physics |
sort | string | Sort order: votes (default, all-time top), month or week (trending recently), activity (recently active), creation (newest), hot. |
stack_tags
List or search StackOverflow / StackExchange tags with question counts and synonym info — top tags by popularity, tags matching a name fragment, or stats for specific tags. Answers "most popular StackOverflow tags", "how many questions are tagged X", "which tags have more than N questions". Example: stack_tags({ sort: "popular", limit: 20 }) or stack_tags({ inname: "python" })
| Parameter | Type | Description |
|---|---|---|
_apiKey | string | Optional — a StackExchange API key (free, 10k/day) for a dedicated quota. The gateway supplies a platform key; pass your own only to override. |
inname | string | Filter to tags whose name contains this fragment, e.g. "python" |
limit | number | Max tags to return, 1-100 (default 20) |
min_count | number | Only return tags with at least this many questions (server-side when sort=popular) |
site | string | StackExchange site (default stackoverflow) |
sort | string | popular (question count, default) | name | activity |
tags | string | Exact tag names to look up, semicolon-separated, e.g. "java;python;rust" |