
secretiveshell/mcp-wolfram-alpha
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
secretiveshell/mcp-wolfram-alpha は [https://github.com/secretiveshell/mcp-wolfram-alpha.] からインポートされた MCP サーバーの候補です
概要
secretiveshell/mcp-wolfram-alpha は [https://github.com/secretiveshell/mcp-wolfram-alpha.] からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
Wolfram alpha API に接続する MCP サーバー。
コンポーネント
プロンプト
これは[!waに類似しています。 duckduckgo検索でバングします。
ツール
Wolfram Alpha api をクエリします。
設定
must WOLFRAM_API_KEY 環境変数を設定します。 Wolfram Alphaからapi ketを入手してください。
これは、フル結果APIでテストされましたが、それは必要ではないかもしれません。
開発
デバッグ
正式なMCP検査官は環境対応が良くないので、wong2のmcp-cli-inspectorを使って再考します。
config.json ファイルを claude デスクトップと同じスタイルで作成します。
次に実行します:
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
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.
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
インストール
npx @wong2/mcp-cli -c .\config.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"
}
}
}
}