Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

MCP-wolfram-alpha

MCP.Pizza Chef: SecretiveShell

MCP-wolfram-alpha is a server that connects chat-based REPLs to the Wolfram Alpha API, enabling computational intelligence queries directly within conversational agents. It acts like a specialized tool or prompt that sends user queries to Wolfram Alpha and returns detailed computational answers. This server requires a Wolfram Alpha API key and supports full results API integration, making it ideal for developers who want to enrich their AI workflows with advanced math, data, and knowledge computations.

Use This MCP server To

Integrate Wolfram Alpha computational queries in chatbots Enhance AI assistants with advanced math problem solving Retrieve scientific and factual data via Wolfram Alpha API Automate complex calculations within conversational workflows Provide real-time computational intelligence in REPL environments

README

MCP-wolfram-alpha

A MCP server to connect to wolfram alpha API.

Components

Prompts

This is analogous to the !wa bang in duckduckgo search.

def wa(query: str) -> f"Use wolfram alpha to answer the following question: {query}"

Tools

Query Wolfram Alpha api.

def query_wolfram_alpha(query: str) -> str

Configuration

You must set the WOLFRAM_API_KEY environment variable. Get an api ket from Wolfram Alpha.

This was tested with the full results API, but it might not be required.

{
    "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"
            }
        }
    }
}

Development

Debugging

Since the official MCP inspector does not have good environment support, I reccommend using wong2's mcp-cli-inspector.

Create a config.json file in the same style as claude desktop.

{
    "mcpServers": {
        "MCP-wolfram-alpha": {
            "command": "uv",
            "args": [
                "--directory",
                "/full/path/to/MCP-wolfram-alpha",
                "run",
                "MCP-wolfram-alpha"
            ],
            "env": {
                "WOLFRAM_API_KEY": "your-app-id"
            }
        }
    }
}

Then run:

npx @wong2/mcp-cli -c .\config.json

MCP-wolfram-alpha FAQ

How do I configure the MCP-wolfram-alpha server?
You must set the WOLFRAM_API_KEY environment variable with your Wolfram Alpha API key to enable the server to query the API.
What kind of queries can MCP-wolfram-alpha handle?
It can handle computational, scientific, mathematical, and factual queries supported by the Wolfram Alpha API.
Is there a specific API version required?
The server was tested with the full results API, but other Wolfram Alpha API versions might also work.
How does MCP-wolfram-alpha integrate with chat REPLs?
It exposes a prompt and tool interface that allows chat REPLs to send queries and receive Wolfram Alpha responses seamlessly.
Can I use MCP-wolfram-alpha with different LLM providers?
Yes, it is provider-agnostic and can be used with OpenAI, Anthropic Claude, Google Gemini, and others.
What programming languages are supported for integration?
The server is language-agnostic but provides Python examples for prompt and tool usage.
Where can I get the Wolfram Alpha API key?
You can obtain an API key from the official Wolfram Alpha developer portal at https://products.wolframalpha.com/api.
Does MCP-wolfram-alpha support partial or full query results?
It supports full results API, which provides detailed computational answers.