Search Stack Exchange questions, fetch complete Q&A threads as clean markdown, browse tag FAQs, and look up user profiles via MCP. STDIO or Streamable HTTP.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add stackexchange -- npx -y @cyanheads/stackexchange-mcp-server~/.codex/config.toml
[mcp_servers.stackexchange]
command = "npx"
args = ["-y", "@cyanheads/stackexchange-mcp-server"]
# codex mcp add stackexchange -- npx -y @cyanheads/stackexchange-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"stackexchange": {
"command": "npx",
"args": [
"-y",
"@cyanheads/stackexchange-mcp-server"
]
}
}
}.vscode/mcp.json
{
"servers": {
"stackexchange": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/stackexchange-mcp-server"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"stackexchange": {
"command": "npx",
"args": [
"-y",
"@cyanheads/stackexchange-mcp-server"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"stackexchange": {
"command": "npx",
"args": [
"-y",
"@cyanheads/stackexchange-mcp-server"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"stackexchange": {
"command": "npx",
"args": [
"-y",
"@cyanheads/stackexchange-mcp-server"
]
}
}
}Remote
claude mcp add --transport http stackexchange https://stackexchange.caseyjhand.com/mcp~/.codex/config.toml
[mcp_servers.stackexchange]
url = "https://stackexchange.caseyjhand.com/mcp"
# codex mcp add stackexchange --url https://stackexchange.caseyjhand.com/mcp~/.cursor/mcp.json
{
"mcpServers": {
"stackexchange": {
"url": "https://stackexchange.caseyjhand.com/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"stackexchange": {
"type": "http",
"url": "https://stackexchange.caseyjhand.com/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"stackexchange": {
"httpUrl": "https://stackexchange.caseyjhand.com/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"stackexchange": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://stackexchange.caseyjhand.com/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"stackexchange": {
"url": "https://stackexchange.caseyjhand.com/mcp"
}
}
}