# linewhiz

AI-powered MCP server for managing LINE Official Accounts. Send broadcasts, push messages, check analytics, manage rich menus — all through natural language via Claude, ChatGPT, or Cursor.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add kinzen/linewhiz

# Browse available tools
npx -y @smithery/cli@latest tool list kinzen/linewhiz

# Get full schema for a tool
npx -y @smithery/cli@latest tool get kinzen/linewhiz get_account_info

# Call a tool
npx -y @smithery/cli@latest tool call kinzen/linewhiz get_account_info '{}'
```

## Direct MCP Connection

Endpoint: `https://linewhiz.run.tools`

## Tools (10)

- `get_account_info` — Get LINE Official Account info: name, friend count, plan, picture URL.
- `get_friend_count` — Get the number of LINE OA friends/followers on a specific date. Provide date as YYYYMMDD or omit for yesterday.
- `get_message_quota` — Get remaining message quota for this month. Shows total allowed, used, and remaining messages.
- `send_broadcast` — Send a text message to ALL friends of this LINE OA. Use carefully — this reaches everyone and costs message quota.
- `send_push_message` — Send a direct text message to a specific user by their LINE user ID.
- `send_multicast` — Send a text message to multiple users at once (max 500 user IDs).
- `get_message_delivery_stats` — Get delivery statistics (sent, opened, clicked) for messages sent on a specific date.
- `get_user_profile` — Get profile info of a LINE user: display name, picture, status message.
- `list_rich_menus` — List all rich menus created for this LINE OA.
- `get_followers` — Get the list of user IDs of followers of this LINE OA. Use this to find user IDs for send_push_message or get_user_prof…

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get kinzen/linewhiz <tool-name>
```
