MCP_WolframAlpha

MIT License
9
  • Linux
  • Apple
Integrations
  • Supports integration with Google's Gemini model via LangChain to create an example client that interacts with the MCP server for real-time Wolfram Alpha queries

  • Utilizes LangChain to connect large language models (specifically Gemini) to the Wolfram Alpha API, facilitating the creation of AI clients that can interact with the MCP server

  • Allows chat applications to perform computational queries and retrieve structured knowledge through the Wolfram Alpha API, enabling advanced mathematical, scientific, and data analysis capabilities

MCP Wolfram Alpha (クライアント + サーバー)

Wolfram Alpha をチャット アプリケーションにシームレスに統合します。

このプロジェクトは、Wolfram Alpha APIとのインターフェースとして設計されたMCP(Model Context Protocol)サーバーを実装します。これにより、チャットベースのアプリケーションは計算クエリを実行し、構造化された知識を取得できるようになり、高度な会話機能を実現できます。

LangChain 経由で Gemini を利用する MCP クライアントの例が含まれており、大規模な言語モデルを MCP サーバーに接続して、Wolfram Alpha の知識エンジンとリアルタイムでやりとりする方法が示されています。


特徴

  • 数学、科学、データクエリのためのWolfram|Alpha 統合
  • モジュラー アーキテクチャ追加の API と機能をサポートするために簡単に拡張できます。
  • マルチクライアント サポート複数のクライアントまたはインターフェースからのやり取りをシームレスに処理します。
  • Gemini を使用したMCP クライアントの例(LangChain 経由)。

インストール

リポジトリをクローンする

git clone https://github.com/ricocf/mcp-wolframalpha.git cd mcp-wolframalpha

環境変数を設定する

例に基づいて .env ファイルを作成します。

  • WOLFRAM_API_KEY=あなたのwolframalpha_appid
  • GeminiAPI=your_google_gemini_api_key (以下のクライアント方式を使用する場合はオプション)

インストール要件

pip install -r requirements.txt

構成

VSCode MCP サーバーで使用するには:

  1. プロジェクト ルートの.vscode/mcp.jsonに構成ファイルを作成します。
  2. configs/vscode_mcp.jsonで提供されている例をテンプレートとして使用します。
  3. 詳細については、 VSCode MCP サーバー ガイドを参照してください。

Claude Desktop で使用するには:

{ "mcpServers": { "WolframAlphaServer": { "command": "python3", "args": [ "/path/to/src/core/server.py" ] } } }

クライアントの使用例

このプロジェクトには、MCP サーバーと通信する LLM クライアントが含まれています。

CLIツールとして実行
  • 必須: GeminiAPI
  • コマンドラインからクライアントを直接実行するには:
python main.py
ドッカー

Docker コンテナ内でクライアントをビルドして実行するには:

docker build -t wolframalpha -f .devops/llm.Dockerfile . docker run -it wolframalpha
-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

MCP_Wolframアルファ

  1. 特徴
    1. インストール
      1. リポジトリをクローンする
      2. 環境変数を設定する
      3. インストール要件
      4. 構成
    2. クライアントの使用例
      1. CLIツールとして実行
      2. ドッカー

    Related MCP Servers

    View all related MCP servers

    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/ricocf/mcp-wolframalpha'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server