Skip to content
MCP server

Stackexchange MCP Server

Search Stack Exchange questions, fetch Q&A threads as markdown, look up tag FAQs and…

Install
Pricing
Open source
Runs
Locally or Remotely
Version
0.2.0
Listing updated
4 days ago

About Stackexchange MCP Server

Stackexchange MCP Server is an open-source MCP server. It can run locally on your machine or as a hosted remote server.

Search Stack Exchange questions, fetch Q&A threads as markdown, look up tag FAQs and user profiles.

Install

Run in a terminal

claude mcp add --transport http stackexchange-mcp-server https://stackexchange.caseyjhand.com/mcp

Add to Settings → Connectors → Add custom connector

https://stackexchange.caseyjhand.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "stackexchange-mcp-server": {
      "url": "https://stackexchange.caseyjhand.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "stackexchange-mcp-server": {
      "type": "http",
      "url": "https://stackexchange.caseyjhand.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "stackexchange-mcp-server": {
      "serverUrl": "https://stackexchange.caseyjhand.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "stackexchange-mcp-server": {
      "type": "http",
      "url": "https://stackexchange.caseyjhand.com/mcp"
    }
  }
}

Configuration

  • STACKEXCHANGE_API_KEYStack Exchange API key — lifts per-IP quota from ~300/day to ~10,000/day.
  • MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
  • MCP_TRANSPORT_TYPESelects the HTTP transport.
  • STACKEXCHANGE_API_KEYStack Exchange API key — lifts per-IP quota from ~300/day to ~10,000/day.
  • MCP_HTTP_HOSTThe hostname for the HTTP server.
  • MCP_HTTP_PORTThe port to run the HTTP server on.
  • MCP_HTTP_ENDPOINT_PATHThe endpoint path for the MCP server.
  • MCP_AUTH_MODEAuthentication mode to use: 'none', 'jwt', or 'oauth'.
  • MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').

Pricing

Open source

Stackexchange MCP Server FAQ

Is Stackexchange MCP Server free?

Yes. Stackexchange MCP Server is open source, so you can use and self-host it for free.

How do I add Stackexchange MCP Server to Claude Code?

Run this command in your terminal: claude mcp add --transport http stackexchange-mcp-server https://stackexchange.caseyjhand.com/mcp