Verified
Stack Overflow MCP
Stack Overflow MCP server providing search, question lookup, answer retrieval, and tag exploration from Stack Overflow's Q&A platform.
Install this MCP
Pick your client, then copy the config.
{
"mcpServers": {
"stack-overflow": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-stack"
]
}
}
}{
"mcpServers": {
"stack-overflow": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-stack"
]
}
}
}{
"servers": {
"stack-overflow": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-stack"
]
}
}
}{
"mcpServers": {
"stack-overflow": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-stack"
]
}
}
}# Add to ~/.codex/config.toml (or .codex/config.toml in a trusted project) [mcp_servers.stack-overflow] command = "npx" args = ["-y", "@modelcontextprotocol/server-stack"]
Set up with your agent
Uses the same client as above (Cursor). Paste into that agent.
Install the "Stack Overflow MCP" MCP for Cursor in this workspace.
1. Read official install docs: https://github.com/stackoverflow/stack-overflow-mcp-server
2. Merge this JSON into .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"stack-overflow": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-stack"
]
}
}
}
3. Restart Cursor if needed, then run a smoke test (list tools or one safe call). Confirm with the user before writing secrets.
Catalog: https://averlo.xyz/launches/stack-overflow.htmlInstall the "Stack Overflow MCP" MCP for Claude Desktop in this workspace.
1. Read official install docs: https://github.com/stackoverflow/stack-overflow-mcp-server
2. Merge this JSON into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"stack-overflow": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-stack"
]
}
}
}
3. Restart Claude Desktop if needed, then run a smoke test (list tools or one safe call). Confirm with the user before writing secrets.
Catalog: https://averlo.xyz/launches/stack-overflow.htmlInstall the "Stack Overflow MCP" MCP for VS Code in this workspace.
1. Read official install docs: https://github.com/stackoverflow/stack-overflow-mcp-server
2. Merge this JSON into .vscode/mcp.json:
{
"servers": {
"stack-overflow": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-stack"
]
}
}
}
3. Restart VS Code if needed, then run a smoke test (list tools or one safe call). Confirm with the user before writing secrets.
Catalog: https://averlo.xyz/launches/stack-overflow.htmlInstall the "Stack Overflow MCP" MCP for Windsurf in this workspace.
1. Read official install docs: https://github.com/stackoverflow/stack-overflow-mcp-server
2. Merge this JSON into ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"stack-overflow": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-stack"
]
}
}
}
3. Restart Windsurf if needed, then run a smoke test (list tools or one safe call). Confirm with the user before writing secrets.
Catalog: https://averlo.xyz/launches/stack-overflow.htmlInstall the "Stack Overflow MCP" MCP for Codex in this workspace. 1. Read official install docs: https://github.com/stackoverflow/stack-overflow-mcp-server 2. Merge this TOML under [mcp_servers.*] into ~/.codex/config.toml (or .codex/config.toml in a trusted project): # Add to ~/.codex/config.toml (or .codex/config.toml in a trusted project) [mcp_servers.stack-overflow] command = "npx" args = ["-y", "@modelcontextprotocol/server-stack"] 3. Restart Codex if needed, then run a smoke test (list tools or one safe call). Confirm with the user before writing secrets. Catalog: https://averlo.xyz/launches/stack-overflow.html
Try it
After install, paste one of these into your agent.
- Search Stack Overflow from AI
- Find answers to coding questions
- Explore question tags

