WolframAlpha LLM MCP Server
The WolframAlpha LLM MCP Server provides access to WolframAlpha's LLM API via the Model Context Protocol (MCP), enabling:
Natural Language Queries: Ask questions in plain language
Complex Problem Solving: Handle mathematical, scientific, historical, and geographical queries
Structured Responses: Receive LLM-optimized answers that are either simplified or detailed with sections
API Key Validation: Verify your WolframAlpha API key before making queries
This server acts as an interface between large language models and WolframAlpha's computational knowledge engine.
Provides access to WolframAlpha's LLM API, allowing users to query WolframAlpha with natural language questions, answer mathematical questions, and retrieve factual information about science, physics, history, geography, and more.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WolframAlpha LLM MCP Server what is the derivative of x squared plus 3x?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WolframAlpha LLM MCP Server
A Model Context Protocol (MCP) server that provides access to WolframAlpha's LLM API. https://products.wolframalpha.com/llm-api/documentation
Features
Query WolframAlpha's LLM API with natural language questions
Answer complicated mathematical questions
Query facts about science, physics, history, geography, and more
Get structured responses optimized for LLM consumption
Support for simplified answers and detailed responses with sections
Related MCP server: Wolfram Alpha MCP Server
Available Tools
ask_llm: Ask WolframAlpha a question and get a structured llm-friendly responseget_simple_answer: Get a simplified answervalidate_key: Validate the WolframAlpha API key
Installation
git clone https://github.com/Garoth/wolframalpha-llm-mcp.git
npm installConfiguration
Get your WolframAlpha API key from developer.wolframalpha.com
Add it to your Cline MCP settings file inside VSCode's settings (ex. ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json):
{
"mcpServers": {
"wolframalpha": {
"command": "node",
"args": ["/path/to/wolframalpha-mcp-server/build/index.js"],
"env": {
"WOLFRAM_LLM_APP_ID": "your-api-key-here"
},
"disabled": false,
"autoApprove": [
"ask_llm",
"get_simple_answer",
"validate_key"
]
}
}
}Development
Setting Up Tests
The tests use real API calls to ensure accurate responses. To run the tests:
Copy the example environment file:
cp .env.example .envEdit
.envand add your WolframAlpha API key:WOLFRAM_LLM_APP_ID=your-api-key-hereNote: The
.envfile is gitignored to prevent committing sensitive information.Run the tests:
npm test
Building
npm run buildLicense
MIT
Available Tools
3 toolsask_llmC
Ask WolframAlpha a query and get LLM-optimized structured response with multiple formats
Inputs: query (required).
get_simple_answerB
Get a simplified, LLM-friendly answer focusing on the most relevant information
Inputs: query (required).
validate_keyB
Validate the WolframAlpha LLM API key
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
The tools 'ask_llm' and 'get_simple_answer' have overlapping purposes—both process WolframAlpha queries to return answers, with only subtle differences in output format. An agent could easily confuse them, as the descriptions don't clearly delineate distinct use cases, leading to potential misselection.
The naming follows a consistent snake_case pattern across all tools, with clear verb_noun structures (e.g., ask_llm, get_simple_answer). However, 'validate_key' deviates slightly by not directly involving query processing, though it maintains the same stylistic convention.
With only 3 tools, the count feels thin for a server named 'WolframAlpha LLM MCP Server', which suggests broader functionality. While the tools cover core querying and key validation, the limited number may restrict agent capabilities in handling diverse WolframAlpha tasks.
The tool surface is significantly incomplete for interacting with WolframAlpha's capabilities. It lacks operations for different query types (e.g., computational, visual, step-by-step), error handling, or advanced features, leaving obvious gaps that could cause agent failures in complex scenarios.
Related MCP Connectors
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Real-time web search, reasoning, and research through Perplexity's API
Live web search, scraping and crawling API for AI. Get structured, LLM-ready data from any site.
Related MCP Servers
- FlicenseAqualityDmaintenanceAllows LLMs to execute Wolfram Language code in a secure, session-based environment by providing an interface to interact with a Wolfram Mathematica kernel.34-
- FlicenseNot gradedqualityDmaintenanceEnables users to query Wolfram Alpha's computational knowledge engine through natural language. Provides access to mathematical computations, scientific data, and factual information via the Wolfram Alpha API.-
- AlicenseNot gradedqualityDmaintenanceEnables scientific computing, mathematical problem solving, and step-by-step mathematical solutions through Wolfram Alpha's mobile API. Supports real-time streaming responses and multiple output formats for enhanced mathematical and scientific queries.1MIT
- AlicenseAqualityDmaintenanceProvides access to Wolfram Alpha's computational knowledge engine for mathematical calculations, scientific computing, data analysis, and factual information through natural language queries.26MIT