- Home
- MCP servers
- WolframAlpha
WolframAlpha
- typescript
48
GitHub Stars
typescript
Language
4 months ago
First Indexed
3 weeks ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"garoth-wolframalpha-llm-mcp": {
"command": "node",
"args": [
"/path/to/wolframalpha-mcp-server/build/index.js"
],
"env": {
"WOLFRAM_LLM_APP_ID": "your-api-key-here"
}
}
}
}You can access WolframAlpha’s LLM API through this MCP server, enabling natural language queries, complex math answers, and structured responses optimized for large language model consumption. It supports both simple and detailed outputs and exposes focused tools to interact with the API.
How to use
To use this MCP server, connect your MCP client to the local server configuration and invoke the available tools to query WolframAlpha’s LLM API. You can ask questions in natural language, request simple answers, or obtain validated results to feed into your own workflows. The server exposes three primary tools: ask_llm to pose a question and receive a structured response, get_simple_answer to fetch a concise answer, and validate_key to verify your API key.
How to install
Prerequisites: Node.js and npm installed on your system.
Clone the project, install dependencies, and prepare the runtime environment.
git clone https://github.com/Garoth/wolframalpha-llm-mcp.git
cd wolframalpha-llm-mcp
npm install
Configuration
Create or update your MCP server configuration to run the WolframAlpha MCP locally. Include the runtime command, the path to the built server, and your API key. The snippet below mirrors the explicit configuration used to run the server locally within an MCP-enabled environment.
{
"mcpServers": {
"wolframalpha": {
"command": "node",
"args": ["/path/to/wolframalpha-mcp-server/build/index.js"],
"env": {
"WOLFRAM_LLM_APP_ID": "your-api-key-here"
},
"disabled": false,
"autoApprove": [
"ask_llm",
"get_simple_answer",
"validate_key"
]
}
}
}
Additional notes
Install and run steps are designed to be straightforward. Ensure your WolframAlpha API key is securely stored and referenced as WOLFRAM_LLM_APP_ID in the environment before starting the MCP server.
Tools and endpoints
The server provides these tools to interact with WolframAlpha LLM API:
-
ask_llm: Pose a question and receive a structured, LLM-friendly response. -
get_simple_answer: Retrieve a simplified answer suitable for quick conclusions. -
validate_key: Check that your Wolfram Alpha API key is valid and usable.
Available tools
ask_llm
Ask WolframAlpha a question and get a structured llm-friendly response.
get_simple_answer
Get a simplified answer from WolframAlpha LLM API.
validate_key
Validate the WolframAlpha API key to ensure it is usable.