Skip to main content
Glama
kenall-mcp

kenall-mcp

by knsh14

Kenall MCP Server

An MCP (Model Context Protocol) server that provides access to the Kenall postal code API for Japanese address lookups.

Features

  • Look up address information from Japanese postal codes

  • Search for postal codes by address

  • Support for both hyphenated and non-hyphenated postal code formats

Related MCP server: houjin-bangou-api-mcp

Prerequisites

Installation

npm install -g kenall-mcp

Or use directly with npx:

npx kenall-mcp

Configuration

Set your Kenall API key as an environment variable:

export KENALL_API_KEY="your-api-key-here"

Building (for development)

npm run build

Running

KENALL_API_KEY="your-api-key-here" npx kenall-mcp

After global installation:

KENALL_API_KEY="your-api-key-here" kenall-mcp

Development mode (with auto-reload):

npm run dev

Production mode (from source):

npm start

MCP Client Configuration

To use this server with an MCP client, add the following to your MCP client configuration:

{
  "mcpServers": {
    "kenall": {
      "command": "npx",
      "args": ["kenall-mcp"],
      "env": {
        "KENALL_API_KEY": "your-api-key-here"
      }
    }
  }
}

Using global installation:

{
  "mcpServers": {
    "kenall": {
      "command": "kenall-mcp",
      "env": {
        "KENALL_API_KEY": "your-api-key-here"
      }
    }
  }
}

Using local installation:

{
  "mcpServers": {
    "kenall": {
      "command": "node",
      "args": ["/path/to/kenall-mcp/dist/index.js"],
      "env": {
        "KENALL_API_KEY": "your-api-key-here"
      }
    }
  }
}

Available Tools

lookup_postal_code

Look up address information from a Japanese postal code.

Parameters:

  • postalCode (string, required): Japanese postal code (e.g., '1000001' or '100-0001')

search_address

Search for postal codes by address.

Parameters:

  • query (string, required): Address query in Japanese

  • prefecture (string, optional): Prefecture name to filter results

  • city (string, optional): City name to filter results

Example Usage

Looking up a postal code:

{
  "tool": "lookup_postal_code",
  "arguments": {
    "postalCode": "100-0001"
  }
}

Searching by address:

{
  "tool": "search_address",
  "arguments": {
    "query": "千代田",
    "prefecture": "東京都"
  }
}

License

MIT

Available Tools

2 tools
lookup_postal_codeB

Look up address information from a Japanese postal code

Inputs: postalCode (required).

search_addressB

Search for postal codes by address

Inputs: query (required), city, prefecture.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools perform inverse but clearly distinct operations: postal code to address versus address to postal code. An agent can unambiguously pick the correct tool based on the direction of the query.

    Naming Consistency4/5

    Both names follow a verb_noun pattern (lookup_postal_code, search_address) in consistent snake_case. The verbs differ slightly (lookup vs search), but the convention is otherwise predictable and readable.

    Tool Count3/5

    Two tools is thin, but the server's purpose (Japanese postal code lookup) is inherently narrow and both directions of the mapping are covered. It is borderline minimal rather than clearly well-scoped.

    Completeness4/5

    The core domain—bidirectional postal code/address resolution—is fully covered with no dead ends for the primary use case. Minor extras like batch lookup or input validation are absent but not essential.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      B
      maintenance
      MCP server for the Japan National Tax Agency Corporate Number API, enabling corporate number lookup and search via local AI clients.
      3
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server for Japanese address and parcel lookup using ReverseGeoJP and ChibanJP APIs, enabling AI agents to convert coordinates to addresses and vice versa.
      4
      47 npm
      MIT