stackexchange-mcp-server
Server Details
Search Stack Exchange questions, fetch Q&A threads as markdown, look up tag FAQs and user profiles.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- cyanheads/stackexchange-mcp-server
- GitHub Stars
- 2
- Server Listing
- @cyanheads/stackexchange-mcp-server
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 5 tools
Each tool targets a distinct resource and action: site enumeration, free-text search, tag FAQ browsing, full-thread fetch, and user lookup. The one potential overlap (tag FAQ vs. free-text search) is explicitly called out in both descriptions, which tell the agent when to use which. Cross-references between tools (get_thread IDs come from search or FAQ; site params come from list_sites) further reduce misselection.
All five tools share the stackexchange_ prefix followed by a consistent verb_noun pattern (get_tag_faq, get_thread, get_user, list_sites, search_questions). Slight variation between get_/list_/search_ is semantically meaningful rather than arbitrary.
Five tools is well-scoped for a read-only Stack Exchange client: discovery, two complementary retrieval paths, thread reading, and author context. Nothing feels redundant or missing at the count level.
The core research workflow (find site → search/browse → read full thread → assess author) is fully covered with no dead ends. Gaps are minor: no answer-only retrieval, no user's-questions/answers listing, and no write operations, though those are arguably out of scope.
Available Tools
5 toolsstackexchange_get_tag_faqGet Stack Exchange Tag FAQARead-onlyIdempotentInspect
Fetch the frequently asked questions for a tag on a Stack Exchange site — Stack Exchange's own "frequently asked" selection, returned in its order, not ranked by score; compare the scores yourself. 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 questions a community keeps coming back to on a topic (e.g. tag "javascript" on stackoverflow). Use stackexchange_search_questions for free-text search rather than tag-based browsing.
Inputs: tag (required), page, site, pageSize. Returns: cap, tag, page, site, +8 more
stackexchange_get_threadGet Stack Exchange Q&A ThreadARead-onlyIdempotentInspect
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 a full Stack Exchange question URL, which is read from the site its host names (e.g. "https://unix.stackexchange.com/questions/88490/how-do-i-use-a-heredoc"), or an integer question ID read from site (e.g. "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.
Inputs: questionIdOrUrl (required), site, maxAnswers, includeComments. Returns: cap, link, tags, error, +20 more
stackexchange_get_userGet Stack Exchange User ProfileARead-onlyIdempotentInspect
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.
Inputs: userId (required), site. Returns: link, error, userId, topTags, +11 more
stackexchange_list_sitesList Stack Exchange SitesARead-onlyIdempotentInspect
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.
Inputs: filter. Returns: error, sites, notice, quotaMax, +2 more
stackexchange_search_questionsSearch Stack Exchange QuestionsARead-onlyIdempotentInspect
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.
Inputs: query (required), page, site, sort, +4 more. Returns: cap, page, error, shown, +8 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Unofficial StackExchange MCP — wraps the StackExchange API v2.3 (free, no auth required for read)
Search and read Apple developer documentation, HIG, and WWDC transcripts as Markdown.
Access Stack Overflow's trusted and verified technical questions and answers.
Search Seahawk Media, read pages as markdown, get services, prices and contacts, and check websites.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceWraps the StackExchange API v2.3 to enable reading StackExchange data (questions, answers, etc.) without authentication. Allows AI agents to query StackExchange content through natural language or direct tool calls.286 npm1MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying Stack Exchange sites and managing questions, answers, comments, users, tags, timelines, and advanced searches through the Stack Exchange API. Supports public reads and authenticated write operations across the network, including meta sites.MIT
- AlicenseAqualityBmaintenanceEnables AI assistants to search programming Q&A sites like Stack Overflow, read questions with their best answers, and ground debugging help in real voted answers, with read-only access, Markdown output, caching, and quota tracking.651 PyPIMIT
- AlicenseAqualityDmaintenanceProvides seamless access to StackOverflow's Q\&A database through MCP, enabling advanced search, question/answer retrieval, and rate-limit management.564 npm2MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.