# Stack exchange (verified)

Stack Exchange is a network of Q&A communities where users ask questions, share knowledge, and collaborate on topics like coding, math, and more

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add stack_exchange

# Browse available tools
npx -y @smithery/cli@latest tool list stack_exchange

# Get full schema for a tool
npx -y @smithery/cli@latest tool get stack_exchange STACK_EXCHANGE_GET_COLLECTIVE_QUESTIONS

# Call a tool
npx -y @smithery/cli@latest tool call stack_exchange STACK_EXCHANGE_GET_COLLECTIVE_QUESTIONS '{}'
```

## Direct MCP Connection

Endpoint: `https://stack_exchange.run.tools`

## Tools (8)

- `STACK_EXCHANGE_GET_COLLECTIVE_QUESTIONS` — Tool to retrieve questions associated with the specified collective. Use when you have a collective ID and need its que…
- `STACK_EXCHANGE_GET_COLLECTIVES` — Tool to retrieve all collectives on a Stack Exchange site in alphabetical order. Use when you need to list collectives …
- `STACK_EXCHANGE_GET_COLLECTIVE_TAGS` — Tool to retrieve tags associated with specified collectives. Use when you need collective tags for display or analysis …
- `STACK_EXCHANGE_GET_COMMENT_FLAG_OPTIONS` — Tool to fetch valid flag options for a given comment. Use when you need to know which flags a user can raise before sub…
- `STACK_EXCHANGE_GET_COMMENTS` — Tool to retrieve comments from a specified Stack Exchange site. Use when you need to list comments with optional filter…
- `STACK_EXCHANGE_GET_REVISIONS_BY_IDS` — Tool to retrieve revisions for specific posts by their IDs. Use when you need to examine the edit history of posts by p…
- `STACK_EXCHANGE_GET_SEARCH_RESULTS` — Tool to search the site for questions meeting certain criteria. Use after defining tags or keywords to locate relevant …
- `STACK_EXCHANGE_GET_SITES` — Tool to retrieve all Stack Exchange sites and their api_site_parameter values. Use when you need to discover available …

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get stack_exchange <tool-name>
```
