Skip to directory

About Stack Overflow MCP

A beta remote MCP service for realtime lexical search of Stack Overflow questions and retrieval of posts, answers and comments by ID. Returned content includes attribution.

What you can use it for

  • Search Stack Overflow questions for programming problems
  • Retrieve a question, answer or comment by content ID
  • Ground coding assistance in realtime community Q&A
Connection and setup
Hosting
remote
Transport
Not documented
Endpoint
https://mcp.stackoverflow.com
Authentication
Stack Exchange account OAuth consent through the client. User must review and accept the service terms during authorization.

Requirements

  • MCP-compatible client
  • Stack Exchange account
  • Accept current Stack Overflow MCP terms during sign-in

Setup steps

  1. Configure remote server host mcp.stackoverflow.com using the official mcp-remote setup: command npx, args ["mcp-remote", "mcp.stackoverflow.com"].
  2. Save configuration and restart the MCP client; complete Stack Exchange login and grant consent to the client.
  3. Test using a supported read-only action such as searching questions.
  4. Respect attribution in any app that displays returned content and retain source links.
Tools

Official API reference lists two beta tools: lexical question search and retrieval of question, answer, or comment content by ID. Access is limited to 100 MCP calls per day per Stack Exchange user; the publisher says more tools may be added in later phases.

  • so_search

    Perform lexical search over Stack Overflow questions.

    Parameters: query (required)
    01
  • get_content

    Retrieve Stack Overflow questions, answers, or comments by content ID.

    Parameters: content IDs (required)
    02
Limitations and notes
  • Beta service; official limit is 100 calls per day per Stack Exchange user. Additional tools may be added in later phases.
Source discrepancies
  • Stack Overflow
Original sources

Documentation checked 2026-10-28T14:06:33.000Z. Connection has not been runtime tested.

Views

07 days

Platforms

Remote

remote

Authentication

Stack Exchange account OAuth consent through the client. User must review and accept the service terms during authorization.