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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_mcp_wolfram_alpha-0.2.2.tar.gz (23.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iflow_mcp_mcp_wolfram_alpha-0.2.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file iflow_mcp_mcp_wolfram_alpha-0.2.2.tar.gz.

File metadata

File hashes

Hashes for iflow_mcp_mcp_wolfram_alpha-0.2.2.tar.gz
Algorithm Hash digest
SHA256 00e20803b51875f58fd7db06d14bb3ef37e96b99f1988c60faab7d02d30c887d
MD5 ecaf42ca2e2672ce327b978255fb5a6e
BLAKE2b-256 75e0891c83cbb424cd40a851a1f201a2c1fb664fc9a158ffe8cd07d1aab2086e

See more details on using hashes here.

File details

Details for the file iflow_mcp_mcp_wolfram_alpha-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for iflow_mcp_mcp_wolfram_alpha-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5f13b78177e63364ef711aac9cda08a969d98d40c61b675969f28d935e75b952
MD5 b079374195052eaf75a1c0b4295e60cf
BLAKE2b-256 508f13820003a2819f3203b1ee4a42e80eaeb5d82b63296a51e5432796104a83

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page