UK Rules & Rates
Sourced, date-aware UK tax and payroll rates, deadlines and UK business checks, with GOV.UK sources.
我該用這個嗎
品質與安全性
發現項目(1)
- MEDIUM在 check_uk_business 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"ukrules-mcp": {
"url": "https://ukrules.dailylifeelevation.workers.dev/mcp"
}
}
}遠端端點
https://ukrules.dailylifeelevation.workers.dev/mcpstreamable-http它能做什麼
工具清單
工具(7)
🟢list_topics
List rule topics (e.g. income_tax, vat) with the number of rules in each.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_rate(key, date, jurisdiction)
Get the UK rate/threshold in force for a key on a date (default today, Europe/London). Returns value, unit, effective dates and source. Paid: $0.005 USD per call via x402, or use an API key (see /pricing).
輸入結構描述
{
"type": "object",
"properties": {
"key": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[a-z0-9_]+$",
"description": "Rule key, e.g. vat_registration_threshold"
},
"date": {
"description": "YYYY-MM-DD; defaults to today in Europe/London",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"jurisdiction": {
"description": "Defaults to UK. Falls back to rUK/UK when no specific row exists.",
"type": "string",
"enum": [
"UK",
"England",
"Scotland",
"Wales",
"NI",
"rUK"
]
}
},
"required": [
"key"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢search_rules(query)
Free. Finds rule keys. Use get_rate (paid) to get the value in force on a date.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 2,
"maxLength": 100,
"description": "Search text, e.g. 'vat threshold'"
}
},
"required": [
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢get_rate_history(key, jurisdiction)
Get every version of a rule, ordered by applies_from. Paid: $0.005 USD per call via x402, or use an API key (see /pricing).
輸入結構描述
{
"type": "object",
"properties": {
"key": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"pattern": "^[a-z0-9_]+$"
},
"jurisdiction": {
"description": "Omit for all jurisdictions",
"type": "string",
"enum": [
"UK",
"England",
"Scotland",
"Wales",
"NI",
"rUK"
]
}
},
"required": [
"key"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢list_deadlines(from_date, to_date)
List UK tax/payroll deadlines. Fixed-date deadlines get the next due date on or after from_date (default today, Europe/London) and are filtered to to_date; deadlines that depend on your own period (e.g. VAT, Corporation Tax, Companies House) follow with next_due null and a plain-English recurrence_rule. Paid: $0.005 USD per call via x402, or use an API key (see /pricing).
輸入結構描述
{
"type": "object",
"properties": {
"from_date": {
"description": "YYYY-MM-DD; defaults to today in Europe/London",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
},
"to_date": {
"description": "YYYY-MM-DD",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢search_uk_company(query)
Search Companies House for UK companies by name. Free. Returns up to 10 matches (name, company number, status, incorporation date) so you can pick the right company_number for check_uk_business.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 2,
"maxLength": 100,
"description": "Company name, e.g. Tesco"
}
},
"required": [
"query"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢check_uk_business(company_number, vat_number)
Sourced check of a UK company from Companies House: status, type, incorporation date, registered office, SIC codes, filing health (accounts and confirmation statement overdue and by how many days, plus the GOV.UK late filing penalty band if accounts are overdue), insolvency and charges flags, active officers and PSCs, each with a source_url. VAT check: coming soon (a vat_number is accepted but not checked yet). Not a credit check, sanctions or PEP screening. Counts as 2 calls on an API key plan. Paid: $0.02 USD per call via x402, or use an API key (see /pricing).
輸入結構描述
{
"type": "object",
"properties": {
"company_number": {
"type": "string",
"minLength": 1,
"maxLength": 12,
"description": "Companies House number, e.g. 00445790 or SC123456 (find it with search_uk_company)"
},
"vat_number": {
"description": "Optional UK VAT number, e.g. GB123456789 (VAT check: coming soon, not checked yet)",
"type": "string",
"minLength": 9,
"maxLength": 20
}
},
"required": [
"company_number"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社群
證據