Skip to main content

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

Metadata

Release files for mcp-wolfram-alpha 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-wolfram-alpha 0.2.1
File Size Uploaded Provenance
mcp_wolfram_alpha-0.2.1.tar.gz 15.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-wolfram-alpha 0.2.1
File Interpreter ABI Platform
mcp_wolfram_alpha-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 21.2 kB

Release files / mcp_wolfram_alpha-0.2.1.tar.gz

Download URL mcp_wolfram_alpha-0.2.1.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b9db3a6367f7987230565515036dd72dc85a8cb574089b8b6e6e7903aa265d45
BLAKE2b-256 checksum
How to use checksums
901cbdc37977cb207de22d95e4db92186c9c7b17a255f6f37dfcb4df7234719b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.16

Release files / mcp_wolfram_alpha-0.2.1-py3-none-any.whl

Download URL mcp_wolfram_alpha-0.2.1-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bce41d44b888a2566c07c33f26497403da4976adb35838f3c84dde4bad06fa57
BLAKE2b-256 checksum
How to use checksums
de0a9dcfd06848c7aa42d16bfbb9530a2a06a0c6256db7f112ae8b284c3b79ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.16

Security for mcp-wolfram-alpha 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page