Search Stack Exchange questions, fetch Q&A threads as markdown, look up tag FAQs and user profiles.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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.
Public Hosted Server: https://stackexchange.caseyjhand.com/mcp
Five tools for working with Stack Overflow and the wider Stack Exchange network:
| Tool | Description |
|---|---|
stackexchange_search_questions | Search questions across a Stack Exchange site with full-text query, tag filters, score threshold, and sort order |
stackexchange_get_thread | Fetch a complete Q&A thread β question body and all answers as clean markdown, accepted answer first |
stackexchange_get_tag_faq | Fetch the highest-voted answered questions for a tag β the canonical "best answers in X" list |
stackexchange_get_user | Fetch a user profile by ID: reputation, badge counts, top tags by answer score, and account metadata |
stackexchange_list_sites | Enumerate all Stack Exchange network sites and their api_site_parameter values |
stackexchange_search_questionsSearch questions across any Stack Exchange site.
stackexchange_get_threadstackexchange_get_threadFetch a complete Q&A thread in one call β the server's primary value-add.
Promise.all)<pre><code> β fenced code blocks, <p>, <a>, lists, headers, blockquotes all convertedmaxAnswers (default 10, up to 100)stackexchange_get_tag_faqBrowse the authoritative community answers on a topic.
/tags/{tag}/faq β the highest-voted answered questions in a tagstackexchange_get_thread for full contentstackexchange_get_userCredibility context for an answer author.
owner.user_id from stackexchange_get_thread output can be passed directlystackexchange_list_sitesDiscover api_site_parameter values for any Stack Exchange community.
api_site_parameter value (e.g. stackoverflow, superuser, serverfault) is what every other tool's site parameter acceptsBuilt on @cyanheads/mcp-ts-core:
none, jwt, oauthin-memory, filesystem, Supabase, Cloudflare KV/R2/D1Stack Exchange-specific:
backoff field in SE API responses to avoid throttlingquota_remaining and quota_max surfaced via enrichment on every tool callinvalid_site, question_not_found, user_not_found, invalid_id_or_url, and quota_exceededget_thread and get_user via Promise.allSTACKEXCHANGE_API_KEY lifts the per-IP quota from ~300/day to ~10,000/day with no OAuth requiredAgent-friendly output:
not_found errors for missing questions and users (SE returns HTTP 200 with empty items[] β the server handles this correctly)A public instance is available at https://stackexchange.caseyjhand.com/mcp β no installation required. Point any MCP client at it via Streamable HTTP:
Add the following to your MCP client configuration file.
Or with npx (no Bun required):
Or with Docker:
For Streamable HTTP, set the transport and start the server:
Rate limits: The Stack Exchange API allows ~300 requests/day per IP without a key. Set STACKEXCHANGE_API_KEY in env to lift this to ~10,000/day. Register a key at stackapps.com/apps/oauth/register (the OAuth flow is only required for write access β a key alone is sufficient for read-only use).
STACKEXCHANGE_API_KEY is optional but strongly recommended for any sustained useNo reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/stackexchange-mcp-server)<a href="https://allmcps.com/mcp/stackexchange-mcp-server"><img src="https://allmcps.com/api/badge/stackexchange-mcp-server?style=directory" alt="Stackexchange MCP Server on AllMCPs" /></a>