# Wolfram Alpha Api — how to use (mcp.ai)

Connect your Wolfram Alpha Api account and use 11 tools for developer tools straight from your AI agent. Connect with your own API key. Integrate computational knowledge into applications via Wolfram|Alpha's APIs.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_wolfram_alpha_api?ms=1787291160000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `wolfram_alpha_api_async_pod_fetch`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/wolfram_alpha_api`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/wolfram_alpha_api/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/wolfram_alpha_api/async/pod/fetch` — Fetch a single asynchronous pod from Wolfram|Alpha Full Results API. Use this tool to retrieve individual pod computations that were marked as async in a Full Results query. When you query the Full Re
  - body: { s: string, id: string }
- `POST https://api.mcp.ai/api/wolfram_alpha_api/establish/connection` — Tool to store Wolfram|Alpha AppID into the connection credential store. Use when establishing or updating your AppID so that subsequent actions automatically include this credential.
  - body: { appid: string, extra?: object }
- `POST https://api.mcp.ai/api/wolfram_alpha_api/extract/recalc/url/tokens` — Tool to extract the recalculate URL and id/s tokens from full Wolfram|Alpha results. Use when you need to follow up with recalc.jsp or relatedQueries.jsp calls.
  - body: { appid?: string, input?: string, raw_data?: string }
- `POST https://api.mcp.ai/api/wolfram_alpha_api/full/results/recalculate` — Recalculate a prior WolframAlpha Full Results query to retrieve additional computational results (pods). Use this action when: - A previous Full Results API query timed out or returned incomplete resu
  - body: { s?: string, id: string }
- `POST https://api.mcp.ai/api/wolfram_alpha_api/full/results/related/queries` — Tool to fetch related query suggestions for a previous Full Results computation. Use after obtaining `id` and `s` from a Full Results API response.
  - body: { s?: string, id: string }
- `POST https://api.mcp.ai/api/wolfram_alpha_api/get/app/id` — Tool to fetch the Wolfram|Alpha AppID from credentials. Use when you need to verify the current AppID before making API calls.
- `POST https://api.mcp.ai/api/wolfram_alpha_api/query/llm/api` — Tool to query Wolfram|Alpha LLM API for computed knowledge optimized for large language model consumption. Returns plain text results with query interpretations, computed data, and image URLs. Use whe
  - body: { ip?: string, input: string, units?: string, latlong?: string, currency?: string, location?: string, maxchars?: integer, timezone?: string, assumption?: string, countrycode?: string, languagecode?: string }
- `POST https://api.mcp.ai/api/wolfram_alpha_api/query/summary/box` — Tool to query the Summary Boxes API for pre-generated XHTML boxes summarizing Wolfram|Alpha knowledge. Use when you need formatted summary information for subjects like countries, chemicals, dates, or
  - body: { path: string, appid: string }
- `POST https://api.mcp.ai/api/wolfram_alpha_api/short/answers/result` — Tool to fetch a concise textual answer from Wolfram|Alpha. Use when you need a short, direct response.
  - body: { i: string, appid: string, units?: string, timeout?: integer }
- `POST https://api.mcp.ai/api/wolfram_alpha_api/spoken/results/result` — Tool to retrieve a spoken-style single-sentence result from Wolfram|Alpha. Use when you need a concise, conversational answer to a natural-language query.
  - body: { i: string, appid: string, units?: string, timeout?: integer }
- `POST https://api.mcp.ai/api/wolfram_alpha_api/validate/query` — Tool to validate a Wolfram|Alpha query, returning parsing assumptions and warnings. Use when you need to check query parse before a full computation.
  - body: { appid: string, input: string, output?: string }

## Example prompts
- "What can I do in Wolfram Alpha Api?"
- "Show me a summary of my Wolfram Alpha Api account"

## More
- Page: https://mcp.ai/wolfram_alpha_api
- Agent spec (llms.txt): https://mcp.ai/wolfram_alpha_api/llms.txt
- Postman collection: https://mcp.ai/wolfram_alpha_api/postman.json
