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 "Install 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 Serverwhat 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
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The query to ask WolframAlpha |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions 'LLM-optimized structured response with multiple formats,' which hints at output behavior, but fails to cover critical aspects like rate limits, authentication needs, error handling, or whether it's read-only or destructive. For a tool with no annotations, this is insufficient.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads key information: the action, target, and outcome. There is no wasted text, and it directly communicates the tool's core functionality without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of querying an external service (WolframAlpha) and the lack of annotations and output schema, the description is incomplete. It doesn't explain the response formats, error cases, or operational constraints, leaving significant gaps for an AI agent to understand tool behavior fully.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, with the 'query' parameter clearly documented. The description adds no additional parameter semantics beyond what the schema provides, such as query format examples or constraints. With high schema coverage, the baseline is 3, as the description doesn't compensate but doesn't need to.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Ask WolframAlpha a query and get LLM-optimized structured response with multiple formats.' It specifies the action (ask), target (WolframAlpha), and outcome (structured response with multiple formats). However, it doesn't explicitly distinguish this from sibling tools like 'get_simple_answer' or 'validate_key', which would require a 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'get_simple_answer' or 'validate_key', nor does it specify contexts, prerequisites, or exclusions for usage. This lack of comparative guidance limits its effectiveness for an AI agent.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_simple_answerB
Get a simplified, LLM-friendly answer focusing on the most relevant information
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The query to ask WolframAlpha |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the output is 'simplified' and 'LLM-friendly,' but doesn't cover critical aspects like rate limits, authentication needs, error handling, or what 'simplified' entails (e.g., formatting, length). This leaves significant gaps for an AI agent to understand the tool's behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that clearly states the tool's purpose without unnecessary words. It is front-loaded with the core function ('Get a simplified, LLM-friendly answer'), making it easy to parse. Every part of the sentence contributes to understanding the tool.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (1 parameter, no output schema, no annotations), the description is minimally adequate. It covers the basic purpose but lacks details on behavior, usage guidelines, and output specifics. Without annotations or an output schema, more context on what the answer includes would improve completeness, but it meets a bare minimum.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, with the 'query' parameter documented as 'The query to ask WolframAlpha.' The description adds no additional meaning beyond this, such as query format examples or constraints. Since schema coverage is high, the baseline score of 3 is appropriate, as the description doesn't compensate but doesn't need to heavily.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: 'Get a simplified, LLM-friendly answer focusing on the most relevant information.' It specifies the action ('Get'), the output type ('simplified, LLM-friendly answer'), and the focus ('most relevant information'). However, it doesn't explicitly differentiate from sibling tools like 'ask_llm' or 'validate_key', which prevents a perfect score.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'ask_llm' or 'validate_key', nor does it specify contexts or exclusions for usage. The phrase 'LLM-friendly answer' implies a target audience but lacks explicit usage rules.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
validate_keyB
Validate the WolframAlpha LLM API key
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the action ('validate') but doesn't explain what validation entails, such as checking key format, connectivity, permissions, or returning success/failure status. This leaves significant gaps in understanding the tool's behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's purpose without any unnecessary words. It is appropriately sized and front-loaded, making it easy to understand at a glance.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of annotations and output schema, the description is incomplete. It doesn't explain what validation means, what the output might be (e.g., success/failure, error messages), or how it integrates with sibling tools. For a validation tool with no structured context, more detail is needed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 0 parameters with 100% coverage, so no parameter documentation is needed. The description doesn't add parameter details, which is appropriate, earning a baseline score of 4 for tools with no parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('validate') and the target resource ('WolframAlpha LLM API key'), making the purpose unambiguous. However, it doesn't differentiate from sibling tools like 'ask_llm' or 'get_simple_answer', which prevents a score of 5.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus the sibling tools. The description lacks context about prerequisites, such as whether validation is needed before using other tools, or any explicit when/when-not scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
3 tool updates
v1.0.0- First observed
ask_llm - First observed
get_simple_answer - First observed
validate_key
TDQS
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.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Integrates Wolfram Language and Wolfram|Alpha accessing curated data and sophisticated algorithms.
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
Google AI Overview answers and cited sources via the Apify Google AI Overview API, hosted MCP.
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.33-
- 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
- FlicenseAqualityDmaintenanceProvides access to Wolfram Alpha's computational knowledge engine for mathematical calculations, scientific computing, data analysis, and factual information through natural language queries.26-
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Garoth/wolframalpha-llm-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server