| advanced_search | Advanced search for Stack Overflow questions with many filter options. Args:
query (Optional[str]): Free-form search query
tags (Optional[List[str]]): List of tags to filter by
excluded_tags (Optional[List[str]]): List of tags to exclude
min_score (Optional[int]): Minimum score threshold
title (Optional[str]): Text that must appear in the title
body (Optional[str]): Text that must appear in the body
answers (Optional[int]): Minimum number of answers
has_accepted_answer (Optional[bool]): Whether questions must have an accepted answer
views (Optional[int]): Minimum number of views
url (Optional[str]): URL that must be contained in the post
user_id (Optional[int]): ID of the user who must own the questions
is_closed (Optional[bool]): Whether to return only closed or open questions
is_wiki (Optional[bool]): Whether to return only community wiki questions
is_migrated (Optional[bool]): Whether to return only migrated questions
has_notice (Optional[bool]): Whether to return only questions with post notices
from_date (Optional[datetime]): Earliest creation date
to_date (Optional[datetime]): Latest creation date
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
|
| search_by_query | 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
|
| search_by_error | Search Stack Overflow for solutions to an error message Args:
error_message (str): The error message to search for
language (Optional[str]): Programming language (e.g., "python", "javascript")
technologies (Optional[List[str]]): Related technologies (e.g., ["react", "django"])
excluded_tags (Optional[List[str]]): Optional list of tags to exclude
min_score (Optional[int]): Minimum score threshold for questions
has_accepted_answer (Optional[bool]): Whether questions must have an accepted answer
answers (Optional[int]): Minimum number of answers
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
|
| get_question | Get a specific Stack Overflow question by ID. Args:
question_id (int): The Stack Overflow question ID
include_comments (Optional[bool]): Whether to include comments in results
response_format (Optional[str]): Format of response ("json" or "markdown")
ctx (Context): The context is passed automatically by the MCP
Returns:
str: Formatted question details
|
| analyze_stack_trace | Analyze a stack trace and find relevant solutions on Stack Overflow. Args:
stack_trace (str): The stack trace to analyze
language (str): Programming language of the stack trace
excluded_tags (Optional[List[str]]): Optional list of tags to exclude
min_score (Optional[int]): Minimum score threshold for questions
has_accepted_answer (Optional[bool]): Whether questions must have an accepted answer
answers (Optional[int]): Minimum number of answers
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
|