
akalaric/mcp-wolframalpha
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
akalaric/mcp-wolframalpha는 [T0]]에서 수입된 MCP 서버 후보입니다
개요
akalaric/mcp-wolframalpha는 [T0]]에서 수입된 MCP 서버 후보입니다
개요(AI 번역)
원활하게 Wolfram Alpha를 채팅 애플리케이션에 통합합니다.
이 프로젝트는 Wolfram Alpha API와 인터페이스하도록 설계된 MCP (Model Context Protocol) 서버를 구현합니다. 대화 기반 응용 프로그램을 사용하여 컴퓨팅 쿼리 및 구조적 지식, 고급 대화 기능을 촉진 할 수 있습니다.
포함 된 랑체인을 통해 Gemini를 사용하는 MCP-클라이언트 예이며 Wolfram Alpha의 지식 엔진과 실시간 상호 작용을위한 MCP 서버에 큰 언어 모델을 연결하는 방법을 민주화합니다.
특징
-
Wolfram|Alpha Integration for math, 과학 및 데이터 쿼리.
-
**모듈 아키텍처 ** 추가 API 및 기능 지원에 쉽게 확장 가능.
-
Multi-Client 지원 여러 클라이언트 또는 인터페이스에서 원활하게 상호 작용할 수 있습니다.
-
MCP-클라이언트 예제 Gemini 사용 (LangChain 사용).
-
**UI 지원 ** 사용자 친화적 인 웹 인터페이스를 위해 Gradio를 사용하여 Google AI 및 Wolfram Alpha MCP 서버와 상호 작용합니다.
설치
# Repo 외곽
환경 변수 설정
.env 파일을 예를 들면:
- WOLFRAM API KEY=your wolframalpha appid
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
MCP Wolfram Alpha (Server + Client)
Seamlessly integrate Wolfram Alpha into your chat applications.
This project implements an MCP (Model Context Protocol) server designed to interface with the Wolfram Alpha API. It enables chat-based applications to perform computational queries and retrieve structured knowledge, facilitating advanced conversational capabilities.
Included is an MCP-Client example utilizing Gemini via LangChain, demonstrating how to connect large language models to the MCP server for real-time interactions with Wolfram Alpha’s knowledge engine.
Features
-
Wolfram|Alpha Integration for math, science, and data queries.
-
Modular Architecture Easily extendable to support additional APIs and functionalities.
-
Multi-Client Support Seamlessly handle interactions from multiple clients or interfaces.
-
MCP-Client example using Gemini (via LangChain).
-
UI Support using Gradio for a user-friendly web interface to interact with Google AI and Wolfram Alpha MCP server.
Installation
Clone the Repo
git clone https://github.com/ricocf/mcp-wolframalpha.git
cd mcp-wolframalpha
Set Up Environment Variables
Create a .env file based on the example:
-
WOLFRAM_API_KEY=your_wolframalpha_appid
-
GeminiAPI=your_google_gemini_api_key (Optional if using Client method below.)
Install Requirements
pip install -r requirements.txt
Install the required dependencies with uv:
Ensure uv is installed.
uv sync
Configuration
To use with the VSCode MCP Server:
- Create a configuration file at
.vscode/mcp.jsonin your project root. - Use the example provided in
configs/vscode_mcp.jsonas a template. - For more details, refer to the VSCode MCP Server Guide.
To use with Claude Desktop:
{
"mcpServers": {
"WolframAlphaServer": {
"command": "python3",
"args": [
"/path/to/src/core/server.py"
]
}
}
}
Client Usage Example
This project includes an LLM client that communicates with the MCP server.
Run with Gradio UI
- Required: GeminiAPI
- Provides a local web interface to interact with Google AI and Wolfram Alpha.
- To run the client directly from the command line:
python main.py --ui
Docker
To build and run the client inside a Docker container:
docker build -t wolframalphaui -f .devops/ui.Dockerfile .
docker run wolframalphaui
UI
- Intuitive interface built with Gradio to interact with both Google AI (Gemini) and the Wolfram Alpha MCP server.
- Allows users to switch between Wolfram Alpha, Google AI (Gemini), and query history.
Run as CLI Tool
- Required: GeminiAPI
설치
docker run wolframalphaui설정
{
"mcpServers": {
"WolframAlphaServer": {
"command": "python3",
"args": [
"/path/to/src/core/server.py"
]
}
}
}