Moradas — Portuguese addresses & postal codes

Portuguese address autocomplete, postal codes, list checks; typo-tolerant, municipality-first; free.

我该使用它吗

质量与安全性

A
描述质量
83%
模式完整度
100%
命名质量
85%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

发现(1)

  • LOWTool 'postal_code_info' description lacks action verb在 postal_code_info 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~793token 数(工具定义)
~774 B典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 0.62%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "moradas": {
      "url": "https://moradas.dev/mcp"
    }
  }
}

远程端点

https://moradas.dev/mcpstreamable-http

它能做什么

工具清单

工具(4)

🟢 只读🟡 写入🔴 删除⚪ 未知
⚪suggest_address(q, count)

Autocomplete a Portuguese address or postal code. Pass free text (street, optionally locality and door number, e.g. 'av liberdade lisboa 196') or a postal code (e.g. '1000-098'). Returns suggestions with street, localidade (postal locality), concelho, distrito and cp7. When cp7 is null the street spans several postal codes: call resolve_postal_code with art_id and the door number. The beginning of a municipality or large locality name ('lisb', 'carcav') returns that place itself first (art_id 0). A suggestion found after correcting a typo or the street type in q ('rua agusta' or 'avenida augusta lisboa' → Rua Augusta) carries corrected: true.

输入模式

{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "description": "Street text (with optional door number) or a 4–7 digit postal code"
    },
    "count": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20,
      "default": 8,
      "description": "Max suggestions"
    }
  },
  "required": [
    "q"
  ]
}
🟢resolve_postal_code(art_id, numero)

Resolve the exact 7-digit postal code (CP7) for a street and door number. art_id comes from suggest_address (art_id 0 is a whole locality or municipality and cannot be resolved). Returns resolved address (or null) and the list of postal-code segments of that street.

输入模式

{
  "type": "object",
  "properties": {
    "art_id": {
      "type": "integer",
      "description": "Street id from suggest_address"
    },
    "numero": {
      "type": "string",
      "description": "Door number, e.g. '196' or '27A'"
    }
  },
  "required": [
    "art_id",
    "numero"
  ]
}
⚪postal_code_info(cp7)

Look up a Portuguese postal code (CP7, e.g. '1000-098'): localidade, concelho, distrito and the streets it covers.

输入模式

{
  "type": "object",
  "properties": {
    "cp7": {
      "type": "string",
      "description": "Postal code NNNN-NNN"
    }
  },
  "required": [
    "cp7"
  ]
}
🟡verify_addresses(items)

Check a list of Portuguese addresses in one call: a column from a CRM or spreadsheet, an order import, a customer base before shipping or mailing. Each item is checked like suggest_address (a door number in the text picks the exact postal code; a postal code is looked up as such). Results come back in input order, one per item: id exactly as sent (null when not sent), q, status, cp7 and suggestion. status 'ok' — the postal code was determined and is in cp7; 'ambiguous' — no single answer (several candidates with nothing to tell them apart, a street with several postal codes and no door number, or just a locality): cp7 is null and suggestion is the best candidate for a person to confirm; 'not_found' — nothing matched: suggestion is null. suggestion has the same shape as a suggest_address suggestion. Up to 100 items per call; a call with N items counts as N requests against the rate limit (about 50 per 10 seconds per IP), so send up to 50 at a time. For a single address use suggest_address.

输入模式

{
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "maxItems": 100,
      "description": "Addresses to check; results come back in this order",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "number"
            ],
            "description": "Your identifier for the row (order number, record id); echoed back unchanged"
          },
          "q": {
            "type": "string",
            "description": "Address as free text — street, door number, locality — or a postal code"
          }
        },
        "required": [
          "q"
        ]
      }
    }
  },
  "required": [
    "items"
  ]
}

社区

评价此服务器

证据

最近观测

已验证未记录版本4 个工具
已验证未记录版本4 个工具
已验证未记录版本4 个工具
已验证未记录版本4 个工具
已验证未记录版本3 个工具
已验证未记录版本3 个工具
已验证未记录版本3 个工具