https://github.com/SecretiveShell/MCP-wolfram-alpha
Connect your chat repl to wolfram alpha computational intelligence
https://github.com/SecretiveShell/MCP-wolfram-alpha
mcp mcp-server wolfram wolfram-alpha
Last synced: 4 months ago
JSON representation
Connect your chat repl to wolfram alpha computational intelligence
- Host: GitHub
- URL: https://github.com/SecretiveShell/MCP-wolfram-alpha
- Owner: SecretiveShell
- License: mit
- Created: 2024-12-20T14:12:31.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-01-11T15:38:26.000Z (6 months ago)
- Last Synced: 2025-03-19T21:46:04.293Z (4 months ago)
- Topics: mcp, mcp-server, wolfram, wolfram-alpha
- Language: Python
- Homepage:
- Size: 50.8 KB
- Stars: 15
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-mcp-servers - mcp-wolfram-alpha - An MCP server for querying the Wolfram Alpha API, enabling advanced computational queries via MCP. ([Read more](/details/mcp-wolfram-alpha.md)) `wolfram-alpha` `computation` `api-integration` `mcp` (API Integration MCP Servers)
- awesome-mcp-zh - SecretiveShell/MCP-wolfram-alpha
- awesome-mcp-servers - SecretiveShell/MCP-wolfram-alpha - An MCP server for querying wolfram alpha API. (Legend / 🛠️ <a name="other-tools-and-integrations"></a>Other Tools and Integrations)
- mcp-index - Wolfram Alpha - Connect to the Wolfram Alpha API for computational knowledge and query processing. This server enables users to obtain answers to mathematical, scientific, and general knowledge queries through an API interface. (Data Analytics)
- awesome-mcp-servers - Wolfram Alpha MCP Connector - Connect your chat repl to wolfram alpha computational intelligence (Table of Contents / AI Services)
- awesome-mcp - SecretiveShell/MCP-wolfram-alpha - An MCP server for querying wolfram alpha API. (MCP Servers / 🛠️ Other Tools and Integrations)
README
# MCP-wolfram-alpha
A MCP server to connect to wolfram alpha API.
## Components
### Prompts
This is analogous to the `!wa` bang in duckduckgo search.
```python
def wa(query: str) -> f"Use wolfram alpha to answer the following question: {query}"
```### Tools
Query Wolfram Alpha api.
```python
def query_wolfram_alpha(query: str) -> str
```## Configuration
You **must** set the `WOLFRAM_API_KEY` environment variable. Get an api ket from [Wolfram Alpha](https://products.wolframalpha.com/api).
This was tested with the full results API, but it might not be required.
```json
{
"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](https://github.com/wong2/mcp-cli).
Create a config.json file in the same style as claude desktop.
```json
{
"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:
```bash
npx @wong2/mcp-cli -c .\config.json
```