StackExchange MCP
A community-driven MCP server that enables AI agents to interact with the Stack Exchange network. It provides tools to search questions with filters, fetch Q&A threads as markdown, browse tag FAQs, and retrieve user profile details. It supports both STDIO and Streamable HTTP transports.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Search Stack Exchange questions using full-text queries and tag filters
- Fetch complete Q&A threads as clean markdown for context
- Browse tag FAQs to find frequently asked questions
- Look up user profiles by ID to get reputation and badge counts
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@cyanheads/stackexchange-mcp-server 0.2.0
{
"version": "0.2.0",
"transport": "stdio",
"identifier": "@cyanheads/stackexchange-mcp-server",
"runtimeHint": "npx",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "STACKEXCHANGE_API_KEY",
"format": "string",
"description": "Stack Exchange API key — lifts per-IP quota from ~300/day to ~10,000/day."
},
{
"name": "MCP_LOG_LEVEL",
"format": "string",
"default": "info",
"description": "Sets the minimum log level for output (e.g., 'debug', 'info', 'warn')."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"stackexchange-mcp": {
"command": "npx",
"args": [
"-y",
"@cyanheads/stackexchange-mcp-server@0.2.0"
],
"env": {
"STACKEXCHANGE_API_KEY": "<YOUR_STACKEXCHANGE_API_KEY>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}Cline
{
"mcpServers": {
"stackexchange-mcp": {
"command": "npx",
"args": [
"-y",
"@cyanheads/stackexchange-mcp-server@0.2.0"
],
"env": {
"STACKEXCHANGE_API_KEY": "<YOUR_STACKEXCHANGE_API_KEY>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}VS Code
{
"servers": {
"stackexchange-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@cyanheads/stackexchange-mcp-server@0.2.0"
],
"env": {
"STACKEXCHANGE_API_KEY": "<YOUR_STACKEXCHANGE_API_KEY>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"stackexchange-mcp": {
"command": "npx",
"args": [
"-y",
"@cyanheads/stackexchange-mcp-server@0.2.0"
],
"env": {
"STACKEXCHANGE_API_KEY": "<YOUR_STACKEXCHANGE_API_KEY>",
"MCP_LOG_LEVEL": "<YOUR_MCP_LOG_LEVEL>"
}
}
}
}Let your agent find its tools
Find servers like StackExchange MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.