Skip to content

io.github.cyanheads/stackexchange-mcp-server

by cyanheads · remote · local (npm) · no sign-in to list tools · v0.1.16 · published by GitHub user cyanheads

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

Read only

5 tools: 5 only read.

Scanned Oct 21, 2026

No check matched anything in the tool definitions. No finding is not a safety guarantee. How the checks work.

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

Tools

Open a tool for its reasons and full description. Descriptions are the publisher's own words, shown as they are.

5 tools

Only reads 5Claude Code: allow
  • stackexchange_get_tag_faqFetch the highest-voted answered questions for a tag on a Stack Exchange site — the canonical "best answers in X" list.No findings

    Why it is in this group

    • The name "stackexchange_get_tag_faq" says "get": a word for reading.
    Description, as the server wrote it
    Fetch the highest-voted answered questions for a tag on a Stack Exchange site — the canonical "best answers in X" list. Returns a question list without bodies; use stackexchange_get_thread to read the full body and answers for any result. Results past the pageSize cap are reachable with the `page` parameter. Use this tool to find the authoritative community resources on a topic (e.g. tag "javascript" on stackoverflow). Use stackexchange_search_questions for free-text search rather than tag-based browsing.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: true
  • stackexchange_get_threadFetch a complete Q&A thread — question body and all answers, accepted answer first then sorted by score, rendered as clean markdown with fenced code blocks.No findings

    Why it is in this group

    • The name "stackexchange_get_thread" says "get": a word for reading.
    Description, as the server wrote it
    Fetch a complete Q&A thread — question body and all answers, accepted answer first then sorted by score, rendered as clean markdown with fenced code blocks. Accepts an integer question ID or a full Stack Exchange question URL (e.g. "https://stackoverflow.com/questions/11227809/why-is-processing-a-sorted-array-faster" or "11227809"). HTML is normalized to markdown automatically; attribution (author + link) included per CC BY-SA 4.0. Get question IDs from stackexchange_search_questions or stackexchange_get_tag_faq.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: true
  • stackexchange_get_userFetch a Stack Exchange user profile by numeric user ID: reputation, badge counts, answer and question counts, account and last-access dates, and top tags by answer score.No findings

    Why it is in this group

    • The name "stackexchange_get_user" says "get": a word for reading.
    Description, as the server wrote it
    Fetch a Stack Exchange user profile by numeric user ID: reputation, badge counts, answer and question counts, account and last-access dates, and top tags by answer score. Useful for credibility context on an answer author — pass the authorUserId from any question or answer in stackexchange_get_thread output. Returns profile fields plus up to 10 top tags by answer score.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: true
  • stackexchange_list_sitesEnumerate all sites in the Stack Exchange network — name, api_site_parameter, audience, and URL.No findings

    Why it is in this group

    • The name "stackexchange_list_sites" says "list": a word for reading.
    Description, as the server wrote it
    Enumerate all sites in the Stack Exchange network — name, api_site_parameter, audience, and URL. The api_site_parameter value is what other tools accept as the `site` input (e.g. "stackoverflow", "superuser", "serverfault"). Results are fetched live and optionally filtered by name. Use this tool to discover valid site parameters before calling other stackexchange_* tools.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: false
  • stackexchange_search_questionsSearch questions across a Stack Exchange site.No findings

    Why it is in this group

    • The name "stackexchange_search_questions" says "search": a word for reading.
    Description, as the server wrote it
    Search questions across a Stack Exchange site. Returns ranked questions with title, score, answer count, accepted status, tags, ask and last-activity dates, and a short excerpt of the question body — not the full body. Results supply question_id values for stackexchange_get_thread, which fetches the full question body and all answers. Results past the pageSize cap are reachable with the `page` parameter. Use the `site` parameter to target a specific community (e.g. "stackoverflow", "superuser", "unix"); call stackexchange_list_sites to discover valid site values.

    Annotations the server declares

    • readOnlyHint: true
    • idempotentHint: true
    • openWorldHint: true

This is not a safety rating, and no finding is not a safety guarantee. The groups and findings come from fixed checks of the tool definitions the server returned on the date shown, not from its code or what it does when called. How the checks work.

Install

Pinned to version 0.1.16. Values in angle brackets are yours to fill in.

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

Run in a terminal.

Claude Code permissions

Allow the reads, ask before a change, deny the deletes. Paste into .claude/settings.json.

.claude/settings.json
{
  "permissions": {
    "allow": [
      "mcp__stackexchange__stackexchange_list_sites",
      "mcp__stackexchange__stackexchange_search_questions",
      "mcp__stackexchange__stackexchange_get_tag_faq",
      "mcp__stackexchange__stackexchange_get_user",
      "mcp__stackexchange__stackexchange_get_thread"
    ],
    "ask": [],
    "deny": []
  }
}

Tools that only read are allowed, tools that change things ask first, tools that delete or cancel are denied. It assumes the server is installed as stackexchange. Review it before you use it.