{
  "$schema": "https://raw.githubusercontent.com/modelcontextprotocol/modelcontextprotocol/main/schema/server-card.json",
  "serverInfo": {
    "name": "kevytyrittaja-laskuri-mcp",
    "version": "1.0.0",
    "title": "Kevytyrittäjälaskuri MCP Server",
    "description": "Model Context Protocol server for Finnish light entrepreneurship calculations, tax estimates, and invoicing service comparisons."
  },
  "endpoint": "https://kevytyrittaja-laskuri.fi/api/mcp",
  "transport": {
    "type": "http",
    "endpoint": "https://kevytyrittaja-laskuri.fi/api/mcp"
  },
  "capabilities": {
    "tools": {
      "listChanged": false
    },
    "resources": {
      "subscribe": false,
      "listChanged": false
    },
    "prompts": {
      "listChanged": false
    }
  },
  "tools": [
    {
      "name": "calculate_net_salary",
      "description": "Calculates net salary (käteen jäävä osuus) from gross billing for Finnish light entrepreneurship in 2026, comparing multiple invoicing services.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "billingAmount": {
            "type": "number",
            "description": "Gross billing amount without VAT in EUR"
          },
          "vatRate": {
            "type": "number",
            "description": "VAT percentage (default 25.5)"
          },
          "taxPercent": {
            "type": "number",
            "description": "Personal income tax rate percentage"
          },
          "hasYel": {
            "type": "boolean",
            "description": "Whether YEL pension insurance applies"
          },
          "yelIncome": {
            "type": "number",
            "description": "Annual confirmed YEL income in EUR"
          },
          "serviceSlug": {
            "type": "string",
            "description": "Optional invoicing service slug (e.g. ukko-fi, op-kevytyrittaja, eezy, free-fi, truster)"
          }
        },
        "required": ["billingAmount", "taxPercent"]
      }
    },
    {
      "name": "list_invoicing_services",
      "description": "Returns current 2026 pricing, commission rates, and feature breakdown of Finnish invoicing services.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": ["all", "palkkio", "toiminimi"],
            "description": "Filter by business model"
          }
        }
      }
    }
  ]
}
