MCP directory
SM

Stackexchange Mcp Server

by github.com/cyanheads · v0.2.1 · updated Nov 22, 2026

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

Remotenpm

Connect to the hosted server

Add this URL as a custom connector in your AI client.

Server URL

https://stackexchange.caseyjhand.com/mcp

Claude Code

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

Run it locally

Install the package and point your AI client at it.

npm

npx -y @cyanheads/[email protected]

Environment variables

  • STACKEXCHANGE_API_KEY

    Stack Exchange API key — lifts per-IP quota from ~300/day to ~10,000/day.

  • MCP_LOG_LEVEL

    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

npm

npx -y @cyanheads/[email protected]

Environment variables

  • MCP_TRANSPORT_TYPE

    Selects the HTTP transport.

  • STACKEXCHANGE_API_KEY

    Stack Exchange API key — lifts per-IP quota from ~300/day to ~10,000/day.

  • MCP_HTTP_HOST

    The hostname for the HTTP server.

  • MCP_HTTP_PORT

    The port to run the HTTP server on.

  • MCP_HTTP_ENDPOINT_PATH

    The endpoint path for the MCP server.

  • MCP_AUTH_MODE

    Authentication mode to use: 'none', 'jwt', or 'oauth'.

  • MCP_LOG_LEVEL

    Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

More from github.com/cyanheads

More MCP servers