Skip to main content
Glama
CodexVeritax

stackoverflow-mcp-server

by CodexVeritax

search_by_query

Search Stack Overflow for questions matching a query, with filters for tags, score, accepted answers, and more. Returns results in JSON or Markdown.

Instructions

Search Stack Overflow for questions matching a query.

Args:
    query (str): The search query
    tags (Optional[List[str]]): Optional list of tags to filter by (e.g., ["python", "pandas"])
    excluded_tags (Optional[List[str]]): Optional list of tags to exclude
    min_score (Optional[int]): Minimum score threshold for questions
    title (Optional[str]): Text that must appear in the title
    body (Optional[str]): Text that must appear in the body
    has_accepted_answer (Optional[bool]): Whether questions must have an accepted answer
    answers (Optional[int]): Minimum number of answers
    sort_by (Optional[str]): Field to sort by (activity, creation, votes, relevance)
    include_comments (Optional[bool]): Whether to include comments in results
    response_format (Optional[str]): Format of response ("json" or "markdown")
    limit (Optional[int]): Maximum number of results to return
    ctx (Context): The context is passed automatically by the MCP

Returns:
    str: Formatted search results

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
tagsNo
excluded_tagsNo
min_scoreNo
titleNo
bodyNo
has_accepted_answerNo
answersNo
sort_byNovotes
include_commentsNo
response_formatNomarkdown
limitNo

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

Other Tools

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/CodexVeritax/stackoverflow-mcp-server'

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