short_answer
Pack: wolfram-alpha · Endpoint: https://gateway.pipeworx.io/wolfram-alpha/mcp
Get a single terse plain-text answer from Wolfram Alpha. Best for: arithmetic, unit conversion, “what is X”, “how many Y in Z”, factual lookups (planet diameter, country GDP, element atomic weight, current time in Tokyo). Returns one string.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | yes | Natural-language query |
units | string | no | metric | imperial (default metric) |
Example call
Arguments
{
"query": "what is the capital of France"
}
curl
curl -X POST https://gateway.pipeworx.io/wolfram-alpha/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"short_answer","arguments":{"query":"what is the capital of France"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('short_answer', {
"query": "what is the capital of France"
});
More examples
{
"query": "how many kilometers in 50 miles",
"units": "metric"
}
{
"query": "2^10",
"units": "imperial"
}
Response shape
Always returns: query, answer
| Field | Type | Description |
|---|---|---|
query | string | The query string that was sent to Wolfram Alpha |
answer | string | null | The terse plain-text answer, or null if not understood |
message | string | Error or status message if answer is null |
Full JSON Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The query string that was sent to Wolfram Alpha"
},
"answer": {
"type": [
"string",
"null"
],
"description": "The terse plain-text answer, or null if not understood"
},
"message": {
"type": "string",
"description": "Error or status message if answer is null"
}
},
"required": [
"query",
"answer"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"wolfram-alpha": {
"url": "https://gateway.pipeworx.io/wolfram-alpha/mcp"
}
}
}
See Getting Started for client-specific install steps.