Skip to main content
Glama
NoTalkTech

StackOverflow MCP Server

by NoTalkTech

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
STACKOVERFLOW_API_KEYNoStackOverflow API key for higher rate limits (optional, default is 300 requests/day without key)

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_questionsA
Search StackOverflow questions by keywords.

Supports combined keyword + tag search. When searching by tags only,
pass an empty string for query.

Args:
    query: Search query keywords (empty string for tag-only search)
    limit: Maximum number of results (1-50)
    page: Page number for pagination (minimum 1)
    sort: Sort order (relevance, activity, votes, creation)
    site: Site name to search in (e.g., stackoverflow, serverfault, askubuntu)
    tags: Filter by tags (list of tag names)
    accepted_only: Only return questions with an accepted answer
    min_score: Minimum score threshold
    from_date: Earliest creation date (Unix timestamp)
    to_date: Latest creation date (Unix timestamp)
search_by_tagsA
Search StackOverflow questions by programming tags.

Args:
    tags: List of tags to search for (e.g., ['python', 'async'])
    limit: Maximum number of results (1-50)
    page: Page number for pagination (minimum 1)
    sort: Sort order (activity, votes, creation, relevance)
    site: Site name to search in (e.g., stackoverflow, serverfault, askubuntu)
get_questionA
Get detailed information about a specific question.

Args:
    question_id: StackOverflow question ID
    include_answers: Whether to include answers
    max_answers: Maximum number of answers to include (1-20)
    convert_to_markdown: Convert HTML content to markdown
get_answersA
Get answers for a specific StackOverflow question.

Fetches only answers without re-fetching the question body.
Use this when you already have the question context and just need the responses.

Args:
    question_id: StackOverflow question ID
    max_answers: Maximum number of answers to return (1-50)
    sort: Sort order (votes, creation, activity)
    convert_to_markdown: Convert HTML content to markdown
get_relatedA
Find related and linked StackOverflow questions for discovery.

Returns lightweight summaries (titles, scores, tags) — no HTML bodies.
StackExchange does not support pagination on these endpoints.

Args:
    question_id: StackOverflow question ID to find related content for
    include_linked: Whether to also include explicitly linked questions

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
server_statusCurrent server status and configuration.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NoTalkTech/stackoverflow-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server