Insurance Premium Calculator
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Insurance Premium CalculatorWhat's the health premium for a 40-year-old smoker with diabetes and ₹1,000,000 coverage?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Insurance Premium Calculator - MCP Server
A simple Model Context Protocol (MCP) server that provides insurance premium calculation services. This server implements three main tools for calculating and comparing insurance premiums.
Features
Tools Available
Calculate Basic Premium - Calculates basic insurance premium based on age, coverage amount, and policy type
Calculate Health Premium with Conditions - Calculates health insurance premium including pre-existing conditions and smoking status
Compare Policies - Compares premium for all policy types (term, health, vehicle) for a given age and coverage
Related MCP server: RACV Insurance MCP Server
Installation
npm installUsage
Running the Server
To run the MCP server with the inspector:
npx @modelcontextprotocol/inspector node index.jsThe server will start and display "Insurance Premium Calculator MCP Server is running!" when ready.
Tools Documentation
1. calculate_basic_premium
Calculates basic insurance premium based on age, coverage and policy type.
Parameters:
age(number): Age of the person (18-80)coverage_amount(number): Coverage amount in rupeespolicy_type(enum): Type of insurance policy ("term", "health", "vehicle")
2. calculate_health_premium
Calculates health insurance premium including pre-existing conditions.
Parameters:
age(number): Age of the personcoverage_amount(number): Coverage amount in rupeespre_existing_condition(enum): Pre-existing health condition ("none", "diabetes", "hypertension", "heart_disease")smoker(boolean): Whether the person is a smoker
3. compare_policies
Compares premium for all policy types for a given age and coverage.
Parameters:
age(number): Age of the personcoverage_amount(number): Coverage amount in rupees
Technology Stack
Node.js
@modelcontextprotocol/sdk - MCP server implementation
Zod - Data validation
Testing with Claude Desktop
Ensure you have Claude Desktop installed
Run the MCP server:
npx @modelcontextprotocol/inspector node index.jsOpen Claude Desktop
Connect to the MCP server:
Claude Desktop should automatically detect the running MCP server
If not, you may need to follow the instructions in Claude Desktop to manually connect to a local MCP server
Test the tools:
Use the Claude Desktop interface to interact with the MCP server
You can test each tool by providing the required parameters
Example prompts:
"Calculate the basic term insurance premium for a 35-year-old with ₹500,000 coverage"
"What's the health insurance premium for a 40-year-old non-smoker with ₹1,000,000 coverage and diabetes?"
"Compare all policy types for a 30-year-old with ₹750,000 coverage"
View results: Claude Desktop will display the JSON responses from the MCP server in a readable format
Note
Claude Desktop provides an intuitive interface for interacting with MCP servers without having to write custom code. It supports tool discovery, parameter validation, and response visualization.
Available Tools
3 toolscompare_policiesB
Compares premium for all policy types for a given age and coverage
| Name | Required | Description | Default |
|---|---|---|---|
| age | Yes | Age of the person | |
| coverage_amount | Yes | Coverage amount in rupees |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It states the tool 'compares premium' but doesn't disclose behavioral traits like whether it's read-only, what the output format is (e.g., list, table), or any constraints (e.g., rate limits, authentication needs). This is a significant gap for a tool with no annotation coverage.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with zero waste—front-loaded and appropriately sized for the tool's purpose. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no annotations, no output schema, and a tool that performs comparison (implying potential complexity), the description is incomplete. It lacks details on output format, behavioral constraints, and how it differs from siblings, making it inadequate for full agent understanding.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the schema already documents both parameters (age, coverage_amount). The description adds no additional meaning beyond implying these are used for comparison, matching the baseline when schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('compares premium') and scope ('for all policy types'), with specific inputs ('given age and coverage'). It distinguishes from sibling tools by covering multiple policy types rather than specific ones like 'basic' or 'health', though it doesn't explicitly name the siblings.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when needing premium comparisons across policy types, but doesn't explicitly state when to use this versus the sibling tools (calculate_basic_premium, calculate_health_premium) or any exclusions. Context is clear but lacks alternative guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
3 tool updates
v1.0.0- First observed
calculate_basic_premium - First observed
calculate_health_premium - First observed
compare_policies
TDQS
Each tool has a clearly distinct purpose: calculate_basic_premium handles standard insurance, calculate_health_premium focuses on health-specific factors, and compare_policies provides comparison across types. There is no overlap or ambiguity between these functions.
All tools follow a consistent verb_noun pattern with snake_case (calculate_basic_premium, calculate_health_premium, compare_policies). The naming is predictable and readable throughout the set.
With only 3 tools, the set feels thin for an insurance premium calculator domain. While the tools cover core calculations and comparison, additional operations like updating policies or handling claims might be expected, making the count borderline for the scope.
The tools cover basic premium calculations and comparison, but there are notable gaps for a full insurance domain, such as missing CRUD operations for policies, handling claims, or managing customer data. Agents can work around this for simple tasks but may fail in more complex scenarios.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
保险产品搜索、推荐、保费试算、核保预检。覆盖65家保司483款产品。China insurance MCP server.
MCP server for medicare-coverage
Commercial auto insurance MCP server for NYC TLC for-hire vehicles. 33 tools, submission to bind.
The Manifold Markets MCP server provides comprehensive access to prediction market features, enabling users to create and manage markets, execute trades, and manage liquidity through a clean interface. It facilitates sophisticated market interactions with Manifold's platform, including market discovery, trading operations, information retrieval for users and portfolios, and social features like following markets and transferring mana.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA comprehensive MCP server that enables file operations, mathematical calculations with unit conversions, and system information retrieval. Provides secure access to local file system, calculator functions with statistics, and system monitoring capabilities.16ISC
- FlicenseNot gradedqualityNot gradedmaintenanceProvides tools for motor insurance quoting, including vehicle lookups, postcode risk assessments, and premium calculations. It enables users to generate and compare car insurance quotes through natural language interactions.-
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI agents to interact with GEICO insurance services, including getting quotes, managing policies, filing claims, making payments, retrieving ID cards, requesting roadside assistance, and reporting accidents.181MIT
- FlicenseNot gradedqualityCmaintenanceThis server enables AI agents to provide insurance recommendations, validate user profiles, generate contract drafts, and manage electronic signature workflows with human approval.-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rajmohancoder/simple-mcp-test'
If you have feedback or need assistance with the MCP directory API, please join our Discord server