Skip to main content
Glama
macalc

macalc

by tresor4k

macalc — 最全面的日常计算器 MCP 服务器

macalc MCP server

501 个计算工具,涵盖 22 个类别,涉及 8 个国家的税务系统。免费,无需 API 密钥。

快速开始

提供两种安装模式 — 选择您的 MCP 客户端支持的一种即可。

选项 A — 远程(流式 HTTP,无需安装)

适用于支持原生远程 MCP 的客户端(Claude Desktop ≥ 0.8、Cursor、Windsurf、VS Code MCP 等)

{
  "mcpServers": {
    "macalc": {
      "url": "https://macalculatriceenligne.com/api/mcp"
    }
  }
}

选项 B — 本地 stdio 代理(适用于所有环境)

适用于仅支持 stdio 的客户端或沙盒环境:

{
  "mcpServers": {
    "macalc": {
      "command": "npx",
      "args": ["-y", "macalc-mcp"]
    }
  }
}

或者使用 Docker:

{
  "mcpServers": {
    "macalc": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "ghcr.io/tresor4k/macalc-mcp:latest"]
    }
  }
}

就是这样。无需 API 密钥,无需身份验证,无需配置。

Related MCP server: Currency Converter MCP

内容概览 — 501 个工具

金融(8 个国家)

国家

工具数量

示例

🇫🇷 法国

85+

所得税 (IR 2026)、工资税前转税后、增值税 (VAT)、抵押贷款、公证费、遗产税、退休金、失业金、自雇人士计算

🇧🇪 比利时

35+

专业预扣税、就业奖金、养老金、餐券、赠与税

🇨🇭 瑞士

30+

联邦及州税、AVS/LPP、LAMal、第三支柱、跨境通勤者

🇨🇦 加拿大/魁北克

25+

联邦及省税、RRQ、RQAP、REER、CELI、TPS/TVQ

🇺🇸 美国

15+

联邦所得税、FICA、州税、401k、HSA

🇬🇧 英国

10+

所得税、国民保险 (NI)、印花税 (SDLT)、学生贷款还款

🇲🇦 摩洛哥

10+

IR、CNSS、TVA

🇸🇳 塞内加尔

10+

IR、CSS、TVA

健康与运动(50+ 个工具)

BMI、BMR(Mifflin/Harris-Benedict 公式)、TDEE、心率区间(Karvonen 公式)、1RM(Epley/Brzycki 公式)、VMA(Cooper/Luc-Léger 测试)、VO2max、比赛预测(Riegel 公式)、马拉松/半马配速、预产期(3 种方法)、排卵日历、体脂率(海军方法)、每日卡路里、宏量营养素、补水需求。

数学(60+ 个工具)

百分比(增加/减少/比例)、平均值(加权/几何/调和)、勾股定理、面积(三角形/圆形/矩形/梯形/多边形)、体积(球体/圆柱体/圆锥体/立方体)、周长、方程(一元一次/二次)、数列(算术/几何)、分数、统计学(平均值/中位数/众数/标准差)、最大公约数/最小公倍数、进制转换。

建筑(40+ 个工具)

混凝土体积与配比 (B25 DTU 21)、油漆覆盖率、瓷砖数量、楼梯尺寸(Blondel 公式)、绝缘 R 值、屋顶表面积与坡度、电缆截面 (NF C 15-100)、梁尺寸计算 (Eurocode 5)、砂石吨位、壁纸卷数、石膏板张数。

科学(25+ 个工具)

欧姆定律、牛顿定律、pH 值计算、稀释 (C1V1=C2V2)、密度、放射性衰变、声速、理想气体定律、摩尔质量、浓度。

单位换算(40+ 个工具)

温度、距离、重量、体积、速度、压力、能量、数据存储、烹饪单位、鞋码、服装尺码、货币。

跑步与骑行(35+ 个工具)

配速计算器、VMA(6 种测试方法)、VO2max、FTP、心率区间、比赛预测、训练计划、卡路里消耗、补水需求、自行车齿比、胎压。

教育(20+ 个工具)

GPA 计算器(法国高中会考/初中会考系统)、加权平均分、统计学、导数、组合数学、概率分布。

房地产(15+ 个工具)

租金收益率(毛/净/净净)、Pinel 税收减免、PTZ 资格、DPE 能效等级、Carrez 面积、各省公证费、贷款比较。

烹饪与营养(15+ 个工具)

食谱营养计算器、烘焙换算、血糖负荷、咖啡因摄入量、每日维生素、单位换算(杯/毫升/盎司)。

旅行(10+ 个工具)

行李重量计算器、时差恢复、旅行预算、电压适配器、日晒时间。

动物(8+ 个工具)

猫狗食物计算器、宠物年龄换算(修正公式)、鱼缸体积、繁殖预产期。

天文学(8+ 个工具)

日出/日落、月相、太阳能板输出、风寒指数、热指数、碳封存。

纺织(5+ 个工具)

布料码数、毛线计算器、戒指/文胸/帽子尺码转换。

技术细节

属性

值

端点

https://macalculatriceenligne.com/api/mcp

传输

流式 HTTP (无状态)

协议

MCP v1 (@modelcontextprotocol/sdk ^1.27.1)

身份验证

无(免费,无需 API 密钥)

速率限制

1,000 次调用/天

响应格式

包含公式、来源、参考 URL 的结构化 JSON

发现

https://macalculatriceenligne.com/.well-known/mcp/server.json

使用示例

询问您的 AI 助手:

"计算单身人士 45,000 欧元的法国所得税"

助手调用 calculate_ir_france 并传入 {revenu_net_imposable: 45000, parts: 1},返回:

{
  "impot": 4611,
  "taux_effectif": "10.2%",
  "taux_marginal": "30%",
  "tranches": [
    {"min": 0, "max": 11624, "taux": "0%", "impot": 0},
    {"min": 11624, "max": 29638, "taux": "11%", "impot": 1982},
    {"min": 29638, "max": 45000, "taux": "30%", "impot": 2629}
  ],
  "source": "Article 197 CGI — Loi de finances 2026",
  "reference_url": "https://macalculatriceenligne.com/finance/fiscalite/calcul-impots/"
}

所有工具类别

Finance FR (85)     Finance BE (35)     Finance CH (30)
Finance CA (25)     Finance US (15)     Finance UK (10)
Finance MA (10)     Finance SN (10)     Health (30)
Sport/Running (35)  Math (60)           Construction (40)
Science (25)        Conversions (40)    Education (20)
Real Estate (15)    Cooking (15)        Travel (10)
Animals (8)         Astronomy (8)       Textile (5)
Automotive (10)

总计:501 个工具

链接

许可证

MIT

Available Tools

15 tools
calculate_bmiA
Read-onlyIdempotent
Inspect

Calculate Body Mass Index and the corresponding WHO weight category for an adult. Inputs: weight_kg (kilograms) and height_cm (centimeters). Returns the BMI value and category. Read-only and deterministic. Screening indicator only — not a medical diagnosis; not valid for children or athletes with high muscle mass.

Inputs: height_cm (required), weight_kg (required).

calculate_canada_federal_taxA
Read-onlyIdempotent
Inspect

Calculate Canadian FEDERAL income tax using CRA brackets and the basic personal amount. Use for a federal-only estimate; provincial/territorial tax and CPP/EI are NOT included, so the real total tax is higher. Input: income_cad (annual income in CAD). Returns basic personal amount, taxable income, federal tax, effective and marginal rates. Read-only, deterministic, estimate only.

Inputs: income_cad (required).

calculate_compound_interestA
Read-onlyIdempotent
Inspect

Compute compound growth of a lump sum with A = P·(1+r/n)^(n·t). Use for savings, investment or retirement projections without periodic contributions. Inputs: principal (initial amount), annual_rate (annual rate in percent), years (duration), optional compounds_per_year (compounding frequency, default annual). Returns final amount, total interest earned and a yearly breakdown. Read-only, deterministic. For loans/repayments use calculate_loan_payment or calculate_mortgage instead.

Inputs: years (required), principal (required), annual_rate (required), compounds_per_year.

calculate_french_income_taxA
Read-onlyIdempotent
Inspect

Calculate French personal income tax (impôt sur le revenu) for the 2026 tax year using the official progressive brackets (Article 197 CGI) and the family-quotient system. Use when the user asks how much income tax they owe in France. Inputs: income (annual net taxable income in EUR) and optional parts (number of family-quotient shares, default 1 — e.g. 2 for a married couple, 2.5 with one child). Returns total tax, effective and marginal rates, and the per-bracket breakdown. Read-only and deterministic: same inputs always give the same result; no data is stored. Not tax advice. For payroll gross-to-net conversion use calculate_french_salary instead.

Inputs: income (required), parts.

calculate_french_salaryA
Read-onlyIdempotent
Inspect

Convert a French gross salary to net salary for 2026, applying the social-contribution rates of the selected employment status. Use when the user knows their gross pay and wants their take-home pay in France. Inputs: gross_monthly (gross monthly salary in EUR) and optional status ('cadre', 'non-cadre' or civil servant — see the enum). Returns monthly and annual net, total social contributions, and employer cost. Read-only, deterministic estimate based on standard rates; individual company agreements may differ. For income tax on that salary, use calculate_french_income_tax.

Inputs: gross_monthly (required), status.

calculate_loan_paymentA
Read-onlyIdempotent
Inspect

Calculate the fixed monthly payment of a generic amortizing loan when the term is expressed in months. Inputs: principal (amount borrowed), annual_rate (annual interest rate in percent), months (term in months). Returns monthly payment, total cost and total interest. Read-only and deterministic. Prefer calculate_mortgage if you want a term in years or an amortization schedule.

Inputs: months (required), principal (required), annual_rate (required).

calculate_mortgageA
Read-onlyIdempotent
Inspect

Calculate the fixed monthly payment, total interest and total cost of a mortgage or amortizing loan, with an optional month-by-month amortization schedule. Use for home-loan or any fixed-rate amortizing loan questions in any currency. Inputs: principal (amount borrowed), annual_rate (nominal annual interest rate in percent, e.g. 3.5), years (term in years), optional with_schedule (boolean — include the full amortization table). Read-only and deterministic. Does not include insurance, taxes or fees.

Inputs: years (required), principal (required), annual_rate (required), with_schedule.

calculate_percentageA
Read-onlyIdempotent
Inspect

Perform one of three percentage operations selected by operation: the value of a percent of a total, the percentage change between two values, or what percent one value is of another. Inputs: operation (see enum), a and b (the two operands — their meaning depends on the operation, as described in the parameter docs). Returns the numeric result with the applied formula. Read-only and deterministic.

Inputs: a (required), b (required), operation (required).

calculate_tdeeA
Read-onlyIdempotent
Inspect

Calculate Total Daily Energy Expenditure (maintenance calories) by multiplying a Basal Metabolic Rate by a standard activity factor. Inputs: bmr (basal metabolic rate in kcal — compute it first if unknown) and activity_level (see enum, from sedentary to very active). Returns TDEE in kcal/day. Read-only and deterministic. General guidance, not medical or dietary advice.

Inputs: bmr (required), activity_level (required).

calculate_uk_income_taxA
Read-onlyIdempotent
Inspect

Calculate UK income tax for the 2025/26 tax year using HMRC bands, including the personal-allowance taper above £100,000. Use for England/Wales/NI income tax questions (National Insurance is not included; Scottish bands are not modelled). Input: income (annual gross income in GBP). Returns personal allowance, taxable income, income tax, effective and marginal rates. Read-only, deterministic, estimate only.

Inputs: income (required).

calculate_us_federal_taxA
Read-onlyIdempotent
Inspect

Calculate US federal income tax for tax year 2026 using the IRS progressive brackets and the standard deduction for the chosen filing status. Use for a quick federal-only estimate; it does NOT include state income tax or FICA payroll taxes. Inputs: income (annual gross income in USD) and optional filing_status. Returns taxable income after standard deduction, federal tax, effective and marginal rates. Read-only and deterministic. Estimates only — not tax advice.

Inputs: income (required), filing_status.

calculate_vat_genericA
Read-onlyIdempotent
Inspect

Add or remove VAT/GST/sales tax at any custom rate, for any country. Inputs: amount, rate (tax rate in percent) and optional mode (whether amount is before-tax or after-tax — see enum). Returns amount before tax, amount after tax and the tax amount. Read-only and deterministic. Country-specific helpers (French/UK/Swiss VAT…) exist in the full catalog via get_bundle_tools('finance-universal').

Inputs: rate (required), amount (required), mode.

call_any_calculatorA
Read-onlyIdempotent
Inspect

Invoke ANY of the 446 calculators of the hosted macalc catalog by name — not just the core tools listed by this server. Workflow: 1) list_bundles to find the right domain, 2) get_bundle_tools(bundle_id) to get the exact tool name and its parameters, 3) call_any_calculator with that tool_name and its arguments object. The call is forwarded verbatim to the hosted macalc API (network request, no authentication, nothing stored beyond anonymous usage counters). Read-only and deterministic for a given catalog version. Returns the target calculator's JSON result ({result, formula, source, reference_url}) or a clear error if the tool name is unknown.

Inputs: tool_name (required), arguments.

get_bundle_toolsA
Read-onlyIdempotent
Inspect

Return the tool names and descriptions inside one thematic bundle of the full macalc catalog. Use after list_bundles to discover a specific calculator, then invoke it with call_any_calculator. Input: bundle_id (one of the enum values, e.g. 'finance-france', 'sante', 'math'). Read-only and deterministic.

Inputs: bundle_id (required).

list_bundlesA
Read-onlyIdempotent
Inspect

List the 31 thematic bundles that organize the full macalc catalog of 446 calculators (finance by country, real-estate, health, math, construction, conversions…). Use this FIRST when the user needs a calculator that is not among this server's core tools, then call get_bundle_tools to see the tools of the relevant bundle. Takes no meaningful parameters. Read-only, deterministic, returns the same catalog every time.

Inputs: _unused.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 15 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes, but `call_any_calculator` could cause ambiguity as it can invoke any of 446 calculators, potentially overlapping with dedicated tools. However, the workflow is well-documented to use dedicated tools first.

    Naming Consistency4/5

    The core calculators consistently use 'calculate_' prefix, while discovery tools use 'call_', 'get_', 'list_'. This slight inconsistency is acceptable given the different function groups.

    Tool Count5/5

    15 tools is well-scoped for a calculator server, covering common domains and providing a gateway to hundreds more without being overwhelming.

    Completeness5/5

    The tool set covers key financial, health, and math calculations, and the bundle discovery mechanism ensures no major gaps—users can access 446 additional calculators if needed.

    Maintenance

    ActivitySlowing
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      A Model Context Protocol server that provides basic calculator functionality for LLMs, enabling them to perform mathematical operations like addition, subtraction, multiplication, division, modulo, and square root.
      6
      235 npm
      15
      MIT
    • F
      license
      C
      quality
      D
      maintenance
      An MCP server providing real-time currency conversion and exchange rate data through the Frankfurter API, enabling users to convert currencies, fetch latest or historical rates, and list available currencies.
      4
      37
      -
    • A
      license
      B
      quality
      F
      maintenance
      Enables AI assistants to calculate French individual income tax and retrieve current tax brackets using official government data. Supports household composition calculations and provides up-to-date tax information for French residents.
      11
      14
      Apache 2.0
    • A
      license
      C
      quality
      D
      maintenance
      Enables financial research and analysis through AI agents that combine web search, content crawling, entity extraction, and deep research workflows. Supports extracting stock/fund entities with security codes and conducting structured financial investigations.
      9
      26
      Apache 2.0