StackExchange
live DevelopmentSearch programming questions and answers from Stack Overflow and other SE sites
2 tools
0ms auth
free tier 50 calls/day
Tools
search_questions
required: query Search StackExchange questions by keyword
Parameters
Name Type Description
query req string Search query site opt string SE site (default: stackoverflow) limit opt number Max results (1-20, default 5) Try it
Response
get_answers
required: question_id Get answers for a question by ID
Parameters
Name Type Description
question_id req number Question ID site opt string SE site (default: stackoverflow) Try it
Response
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
List available tools
bash
curl -X POST https://gateway.pipeworx.io/stackexchange/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' Call a tool
bash
curl -X POST https://gateway.pipeworx.io/stackexchange/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"search_questions","arguments":{"query": "hello"}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
TypeScript
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("search_questions", {"query":"example"}); ask_pipeworx
// Or ask in plain English:
const answer = await px.ask("search programming questions and answers from stack overflow and other se sites");