Repository avatar
Finance
v1.0.1
active

friendly-calculator

io.github.avnishahirwar/friendly-calculator

Finance, tax, salary and everyday calculator tools.

Documentation

Friendly Calculator

Friendly Calculator is a static, browser-first collection of online calculators and explanatory pages. The public site is served from this repository with GitHub Pages and the custom domain configured in CNAME.

Use the source code

The original application source code in this repository is available under the MIT License in LICENSE. You may use, copy, modify, merge, publish, distribute, sublicense, and sell copies of that software, subject to the license notice and terms.

The software license does not cover the website's editorial articles, educational explanations, or other written content. Original educational content expressly covered by the site's Content Licence is licensed separately under CC BY 4.0. Logos, trademarks, brand illustrations, third-party assets, datasets, fonts, and other externally licensed works are not granted under the MIT License; check their individual notices and terms before reuse.

Remote MCP server

Friendly Calculator also exposes its calculator catalogue through a public Model Context Protocol (MCP) endpoint using Streamable HTTP.

  • MCP endpoint: https://gtuycqunlihegsbvvsol.supabase.co/functions/v1/friendly-calculator-mcp/mcp
  • Health endpoint: https://gtuycqunlihegsbvvsol.supabase.co/functions/v1/friendly-calculator-mcp/health
  • Tools: list_supported_calculators (discover available calculator operations) and calculate (run a supported calculation).
  • Detailed setup and current availability: MCP server documentation.

Generic remote MCP client configuration

For clients that support remote Streamable HTTP MCP servers, add this configuration:

{
  "mcpServers": {
    "friendly-calculator": {
      "url": "https://gtuycqunlihegsbvvsol.supabase.co/functions/v1/friendly-calculator-mcp/mcp"
    }
  }
}

The production health endpoint currently reports anonymous calculations as available: up to 10 calculations per client per UTC day and 5 requests per minute, without an API key. API-key callers use the existing account quota and rate limits. Client configuration and remote MCP support vary by product; see the MCP server documentation for current connection and security details.

Project structure

  • index.html, calculators/, calculator/, blog/, and language/country folders contain static pages.
  • assets/ contains application scripts, styles, images, and other resources.
  • scripts/ contains catalogue, locale, sitemap, and SEO maintenance tools.
  • tests/ contains Node.js regression and content checks.
  • .github/workflows/ contains automated checks and sitemap maintenance workflows.

The site is primarily static HTML, CSS, and JavaScript; there is no root-level package manager build step. GitHub Pages publishes the repository files.

Checks

Use a current Node.js release to run the regression tests:

node --test tests/*.test.cjs

Some test suites depend on live catalogue totals and country-specific calculation fixtures; read failure details and verify those against the current pages rather than assuming every historical assertion matches the present catalogue.

Contributions

Before proposing changes, review the relevant calculator's assumptions, formula, source notes, language edition, and test coverage. Do not commit API credentials, private keys, personal data, or unapproved third-party materials. The MIT License for source code does not change the separate licenses for written content, brand assets, or third-party works.

No installation packages available.