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 iflow-mcp_mcp-wolfram-alpha 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iflow_mcp_mcp_wolfram_alpha-0.2.2.tar.gz | 23.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iflow_mcp_mcp_wolfram_alpha-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.0 kB
Release files / iflow_mcp_mcp_wolfram_alpha-0.2.2.tar.gz
| Download URL | iflow_mcp_mcp_wolfram_alpha-0.2.2.tar.gz |
|---|---|
| Size | 23.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00e20803b51875f58fd7db06d14bb3ef37e96b99f1988c60faab7d02d30c887d
|
|
BLAKE2b-256 checksum How to use checksums |
75e0891c83cbb424cd40a851a1f201a2c1fb664fc9a158ffe8cd07d1aab2086e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.8
|
Release files / iflow_mcp_mcp_wolfram_alpha-0.2.2-py3-none-any.whl
| Download URL | iflow_mcp_mcp_wolfram_alpha-0.2.2-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f13b78177e63364ef711aac9cda08a969d98d40c61b675969f28d935e75b952
|
|
BLAKE2b-256 checksum How to use checksums |
508f13820003a2819f3203b1ee4a42e80eaeb5d82b63296a51e5432796104a83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.8
|