MCP ExplorerExplorer

Mcp Wolfram Alpha

@SecretiveShellon a year ago
36 MIT
FreeCommunity
AI Systems
#mcp#mcp-server#wolfram#wolfram-alpha
Connect your chat repl to wolfram alpha computational intelligence

Overview

What is Mcp Wolfram Alpha

MCP-wolfram-alpha is a server designed to connect chat applications to the Wolfram Alpha computational intelligence API, allowing users to retrieve answers to complex queries.

Use cases

Use cases include answering mathematical questions, retrieving scientific data, generating plots, and providing detailed explanations for various queries in real-time chat environments.

How to use

To use MCP-wolfram-alpha, you need to set the WOLFRAM_API_KEY environment variable with your Wolfram Alpha API key. Then, you can send queries using the provided prompts and tools to get computational answers.

Key features

Key features include the ability to query Wolfram Alpha’s extensive database, integration with chat applications, and a straightforward setup process using environment variables.

Where to use

MCP-wolfram-alpha can be used in various fields such as education, research, data analysis, and any application requiring computational intelligence and complex problem-solving.

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

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers