- Home
- MCP servers
- Wolfram Alpha
Wolfram Alpha
- python
71
GitHub Stars
python
Language
6 months ago
First Indexed
2 months 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": {
"secretiveshell-mcp-wolfram-alpha": {
"command": "uv",
"args": [
"--directory",
"C:\\Users\\root\\Documents\\MCP-wolfram-alpha",
"run",
"MCP-wolfram-alpha"
],
"env": {
"WOLFRAM_API_KEY": "your-app-id"
}
}
}
}You run an MCP server that connects to the Wolfram Alpha API, allowing you to query Wolfram results directly through your MCP client. This server handles API key configuration and launches the Wolfram query workflow when requested by clients.
How to use
Connect with your MCP client and select the wolfram_alpha MCP server. When you send a query via your client, the server will route it to Wolfram Alpha and return the results. You can prompt it with a question, and the server will process the request through the Wolfram API key you configured.
How to install
Prerequisites you need before starting:
- Ensure the MCP runtime is available on your system (the runtime used here is UV). If you do not already have it, install or set up the MCP runtime according to your environment.
Create a configuration file for the MCP server with the Wolfram Alpha API key. You will supply your API key as an environment variable named WOLFRAM_API_KEY.
Place the configuration in a file named config.json in the same directory where you will run the MCP server. The following snippet mirrors the required structure and values:
{
"mcpServers": {
"MCP-wolfram-alpha": {
"command": "uv",
"args": [
"--directory",
"C:\\Users\\root\\Documents\\MCP-wolfram-alpha",
"run",
"MCP-wolfram-alpha"
],
"env": {
"WOLFRAM_API_KEY": "your-app-id"
}
}
}
}
Additional steps to start
Once the configuration file is prepared, start the MCP server using the MCP CLI inspector if you have it installed. Run the following command in the directory containing your config.json and the server code:
npx @wong2/mcp-cli -c .\config.json
Available tools
wa
Prompts tool that formats a query to use Wolfram Alpha for answering the given question.
query_wolfram_alpha
Tool that queries the Wolfram Alpha API and returns the response as a string.