Connect your LINE data to your AI tools
MCP (Model Context Protocol) is a common standard that lets AI tools use outside data. LINE Data Master has a built-in MCP Server: once it's connected, you can ask AI to search, organize and analyze your LINE chat history directly.
Before you start
- ✓LINE Data Master must be running with a LINE account connected. AI tools can't connect while the app is closed.
- ✓The AI tool must be installed on the same computer. Web-based AI can't connect — see the FAQ below.
Claude Desktop
The easiest option: install the extension. No password needed.
- 1
Download the LINE Data Master extension for Claude Desktop (.mcpb).
Download .mcpb - 2
Double-click the downloaded file (or drag it into the Claude Desktop window) and follow the prompts to install.
You can also pick the file in Claude Desktop under Settings → Extensions → Advanced settings → Install Extension…. In the newer settings layout, go to Settings → Desktop app and click Manage next to Extensions.
- 3
Start a new chat and just ask, for example: "Find the messages in my family group from last week that mention dinner."
Other AI tools
Claude Code, Codex, Cursor and more
AI tools that can run commands can set up MCP by themselves. Just paste the setup instructions into them.
- 1Open LINE Data Master → "Settings" → "Connect other AI tools".
- 2Click "Copy setup instructions for AI".
- 3Paste it into a chat with your AI tool and send it, so it sets things up for you.
- 4Restart the AI tool as it tells you. After that, just ask it about your LINE chats.
The copied text looks like this (with the real file path on your computer):
Please add the MCP server of "LINE Data Master" to your MCP configuration: - Server name: line-data-master - Type: HTTP (Streamable HTTP) - URL: http://127.0.0.1:19836/mcp - Required HTTP header: Authorization: Bearer <password> - The password is the value of the token field in this file; please read the file directly: C:\Users\<your-name>\AppData\Local\LINE Data Master\mcp_connection.json When you're done, tell me whether you need to be restarted for it to take effect.
Manual setup
If your AI tool can't set itself up, or you'd rather do it yourself, enter these two items in the tool's MCP settings:
- URL
http://127.0.0.1:19836/mcp- Header
Authorization: Bearer <your-password>
You can copy both lines, with your password filled in, from "Manual setup" under "Connect other AI tools" in the app. Choose Streamable HTTP as the transport (some tools call it HTTP). Tools that can only launch a local program by command (stdio) can't connect directly.
FAQ
Why can't the ChatGPT or claude.ai websites connect?
LINE Data Master's MCP Server only accepts connections from your own computer (127.0.0.1); the outside network can't reach it. Web-based AI runs on cloud servers that can't reach your computer, so it can't connect. Use an AI tool installed on this computer instead, such as Claude Desktop, Claude Code or Cursor.
Do I need to keep the password secret?
Yes. Any program on your computer that has the password can read your LINE data through MCP. Don't paste it into chats or forums or share screenshots of it, and don't upload config files containing it to public places such as GitHub. The password doesn't change when you restart the app, so keep it in your own user settings, not in a project folder you share with others.
It won't connect. What should I check?
- LINE Data Master is running with an account connected, and MCP shows "Running" on its Settings page.
- MCP always uses port 19836. If another program is using that port, MCP fails to start; it does not switch to another port. Run the command below in PowerShell. If the program it shows isn't LINE Data Master, that program is using the port: close it, then restart LINE Data Master.
Get-Process -Id (Get-NetTCPConnection -LocalPort 19836 -State Listen).OwningProcess
- If you set it up manually, check that the password is pasted in full, with "Bearer " (including the space) in front. A wrong password makes the connection fail (the server replies 401).
- After changing settings, fully quit the AI tool and open it again.
Where does the content the AI reads go?
LINE Data Master never sends your chat data to our servers. However, messages an AI tool looks up through MCP are sent to that AI service (such as Anthropic, OpenAI or Google) for processing, just as if you pasted them into the AI yourself. Check that service's privacy policy.