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 wolfram-alpha-mcp-server 0.1.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 wolfram-alpha-mcp-server 0.1.1
File Size Uploaded
wolfram_alpha_mcp_server-0.1.1.tar.gz 4.6 kB Details

Built distribution (wheel)

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

Total release size: 10.2 kB

Release files / wolfram_alpha_mcp_server-0.1.1.tar.gz

Download URL wolfram_alpha_mcp_server-0.1.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a814d0ddd6837f7944c72c14ea90714ab7066458e60e161e7b84c01d30bcd6a9
BLAKE2b-256 checksum
How to use checksums
17dcd1691d54accde86900e0184f7f6f1be8be10a4caa35938b50bb5f5cec5be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release files / wolfram_alpha_mcp_server-0.1.1-py3-none-any.whl

Download URL wolfram_alpha_mcp_server-0.1.1-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e07c170aa5748e5029f720f566092368688700a65db81f75e6582f199b2dddda
BLAKE2b-256 checksum
How to use checksums
87c011bc0f99beee7540b86ac30f0e0716313c7ec887d34845628c0eca5caacf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.9

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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