
ethanhenrickson/math-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
ethanhenrickson/math-mcp는 [[T0]에서 가져온 MCP 서버 후보입니다.
개요
ethanhenrickson/math-mcp는 [[T0]에서 가져온 MCP 서버 후보입니다.
개요(AI 번역)
대형 언어 모델(LLM)에 기본적인 수학, 통계 및 삼각함수 기능을 제공하는 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버는 간단한 API를 통해 LLM이 정확한 수치 계산을 수행할 수 있도록 합니다.
특징
- 기본 산술 연산(덧셈, 뺄셈, 곱셈, 나눗셈, 합, 모듈로)
- 통계 함수 (평균, 중앙값, 최소값, 최대값)
- 둥근 기능(바닥, 천장, 원형)
- 삼각함수 (사악, 코스, 탄 및 그 역함수; 차수/라디안 변환)
설치
참고: 컴퓨터에 Node.js 설치되어 있는지 확인하세요.
이 저장소를 복제해서 컴퓨터 어딘가에 로컬에 저장하세요.
그 다음 이 서버를 MCP 구성 파일에 추가하세요:
다음은 OpenCode의 예시입니다
PATH\\TO\\PROJECT를 저장소를 복제한 실제 경로로 교체하세요.
참고: 이 프로젝트는 미리 만들어져 설치가 쉽지만, 코드를 변경하면
npm run build로 프로젝트를 다시 구축하세요.
사용 가능한 기능
Math-MCP 서버는 다음과 같은 수학적 연산을 제공합니다:
산수 연산
| 기능 | 설명 | 매개변수 |
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Math-MCP
A Model Context Protocol (MCP) server that provides basic mathematical, statistical and trigonometric functions to Large Language Models (LLMs). This server enables LLMs to perform accurate numerical calculations through a simple API.
Features
- Basic arithmetic operations (addition, subtraction, multiplication, division, sum, modulo)
- Statistical functions (mean, median, mode, min, max)
- Rounding functions (floor, ceiling, round)
- Trigonometric functions (sin, cos, tan, and their inverses; degrees/radians conversions)
Installation
Note: Ensure you have Node.js installed on your computer.
Just clone this repository and save it locally somewhere on your computer.
Then add this server to your MCP configuration file:
"math": {
"command": "node",
"args": ["PATH\\TO\\PROJECT\\math-mcp\\build\\index.js"]
}
Here is an example for OpenCode
{
"mcp": {
"math-mcp": {
"type": "local",
"command": [
"node",
"PATH\\TO\\PROJECT\\math-mcp\\build\\index.js"
]
}
}
}
Replace PATH\\TO\\PROJECT with the actual path to where you cloned the repository.
Note: This project comes prebuilt, so installation is easy but if you change anything in the code, rebuild the project with
npm run build.
Available Functions
The Math-MCP server provides the following mathematical operations:
Arithmetic Operations
| Function | Description | Parameters |
|---|---|---|
add |
Adds two numbers together | firstNumber: The first addendsecondNumber: The second addend |
subtract |
Subtracts the second number from the first number | minuend: The number to subtract from (minuend)subtrahend: The number being subtracted (subtrahend) |
multiply |
Multiplies two numbers together | firstNumber: The first numbersecondNumber: The second number |
division |
Divides the first number by the second number | numerator: The number being divided (numerator)denominator: The number to divide by (denominator) |
sum |
Adds any number of numbers together | numbers: Array of numbers to sum |
modulo |
Divides two numbers and returns the remainder | numerator: The number being divided (numerator)denominator: The number to divide by (denominator) |
floor |
Rounds a number down to the nearest integer | number: The number to round down |
ceiling |
Rounds a number up to the nearest integer | number: The number to round up |
round |
Rounds a number to the nearest integer | number: The number to round |
Statistical Operations
| Function | Description | Parameters |
|---|
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →