UK Mortgage Repayment MCP
Provides tools to retrieve HSBC UK customer support contact information and mortgage product rate estimations for illustrative purposes.
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., "@UK Mortgage Repayment MCPCalculate monthly payment for £200,000 at 4.5% over 30 years"
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.
UK Mortgage Repayment MCP
Tool-only MCP server for estimating UK repayment mortgage payments in ChatGPT.
Build and run locally (no ngrok)
You can develop and test both the MCP server and browser front end entirely on your machine. No public URL or tunnel is needed.
Prerequisites
Node.js 22 or later (
node --version)npm
Install the root dependencies once:
npm installInstall the front-end dependencies once:
cd test-client
npm install
cd ..1. Start the MCP server
In the repository root, run:
npm run devThe server listens at:
http://localhost:8787/mcpUse PORT=9000 npm run dev to choose a different port.
Leave this terminal running.
2. Start the local front end and chat API
Open a second terminal in the repository root and run:
cd test-client
npm run devThis starts the browser UI on port 5173 and the local chat-orchestrator API
on port 5174. The browser and orchestrator are local; generating chat
replies uses OpenRouter and needs your API key and internet access.
Before starting it, create test-client/.env if it does not already exist:
OPENROUTER_API_KEY=your_api_keyOpen http://127.0.0.1:5173/. The default MCP
endpoint is http://127.0.0.1:8787/mcp. You can use both the chat composer
and the MCP Connect control.
Direct MCP controls only (no chat)
If you specifically want to test only MCP JSON-RPC calls and do not need the chat composer or an OpenRouter key, run this instead:
cd test-client
npm run dev:uiUse the MCP Connect control in this mode to inspect the available server
tools. The chat composer requires the local port-5174 API and will fail if
used with dev:ui. See the
test-client README for model and endpoint settings.
Related MCP server: Real Estate MCP Server
Tools
calculate_mortgage_repayment
Inputs:
loanAmount: mortgage loan amount in pounds sterlingannualInterestRatePercent: nominal annual interest rate, for example5.25termYears: whole mortgage term in yearsmonthlyOverpayment: optional extra monthly repayment in pounds sterling
Outputs include monthly payment, total paid, total interest, and overpayment impact when provided.
find_mortgage_product_rates
Inputs:
propertyValue: property value in pounds sterlingloanAmount: borrowing amount in pounds sterlingtermYears: mortgage term from 2 to 40 whole yearsdepositAmount: optional; if supplied, it must equal property value minus borrowing
It generates illustrative 2/3/5-year fixed and 2-year tracker products from the calculated LTV band. Each result includes the initial rate, monthly repayment, product fee, estimated APRC, reversion rate, and maximum LTV. These are deterministic demo calculations, not live rates, availability, eligibility, or offers.
mortgageNeed is optional and defaults to switch_residential. The supported
values are switch_residential, first_time_buyer, move_home,
remortgage, buy_to_let, remortgage_buy_to_let, and
switch_buy_to_let. It records the selected customer journey; every journey
uses the same deterministic illustrative pricing algorithm.
get_customer_support
Inputs:
topic:general(default) ormortgage
Outputs include official-source-linked HSBC UK contact options and phone numbers. The values are a local snapshot for the test tool; use the returned official contact page as the source of truth for current details and opening hours. General support output also includes HSBC's contact/chat guidance and online-banking links.
Using ChatGPT developer mode
ChatGPT's hosted service cannot reach 127.0.0.1 or localhost on your
computer. Therefore, without a public HTTPS endpoint, use the local browser
client or MCP Inspector to develop and test the server. Connecting the MCP
directly to ChatGPT developer mode requires a publicly reachable HTTPS URL;
this repository does not require ngrok for local development.
Verify
npm test
npm run build
npm run typecheckYou can also test the MCP endpoint with the MCP Inspector:
npx @modelcontextprotocol/inspector@latest --server-url http://localhost:8787/mcp --transport httpThe calculation is an estimate for illustration only and is not financial advice.
This server cannot be installed
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 Servers
- FlicenseDqualityCmaintenanceProvides access to RateSpot.io mortgage rate APIs, enabling AI assistants to fetch real-time mortgage rates, compare loan products, calculate payments, and access comprehensive lending information.Last updated7
- Alicense-quality-maintenanceEnables real estate property searches with location and criteria filtering, plus comprehensive mortgage calculations including monthly payments and affordability analysis. Currently uses mock data for property searches but provides full mortgage calculation functionality.Last updated
- Alicense-qualityAmaintenanceMortgage Calculator AI - MCP server providing AI-powered tools and automation by MEOK AI LabsLast updated22MIT
- Flicense-qualityBmaintenanceEnables financial calculations such as compound interest, loan EMI, and savings goal projections through natural language.Last updated
Related MCP Connectors
UK property finance: bridging cost, dev appraisal, BTL stress test, stamp duty (SDLT/LBTT/LTT).
UK mortgage calculators: stamp duty, MCOB 3A HNW qualification, and bridging loan cost.
UK property data — Land Registry comps, EPC, Rightmove, rental yields, stamp duty, Companies House
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/kstephens1/h_mortgage'
If you have feedback or need assistance with the MCP directory API, please join our Discord server