Connect jpcite to Cline (VSCode) MCP in 5 minutes
Add a single jpcite entry to the Cline MCP servers panel to unlock 261 MCP tools. VSCode 1.85+ / Cline 1.4+ required; anonymous free 3 req/IP/day.
Five-minute setup
- Install Cline: search for
Cline(formerlyClaude Dev) in the VSCode marketplace and install it. Confirm 1.4 or later. - Prepare uvx: install with
curl -LsSf https://astral.sh/uv/install.sh | sh(skip if you already have it). Ifuvis not installed,brew install uvalso works. - Open the MCP servers panel: click the
MCP Serversicon at the top of the Cline sidebar →Configure MCP Serversto opencline_mcp_settings.json. - Add jpcite to
mcpServers: paste the snippet below and save. Cline reloads the server automatically. - (Optional) Embed an API key: replace
env.JPCITE_API_KEYwith yourjc_...key (new keys use thejc_prefix; previously issuedsk_/am_keys remain compatible). Omit it to stay on the anonymous free tier.
Copy-paste snippet
Paste into Cline's cline_mcp_settings.json (open it from Configure MCP Servers).
{
"mcpServers": {
"jpcite": {
"command": "uvx",
"args": ["autonomath-mcp"],
"env": {
"JPCITE_API_KEY": "jc_xxxxx"
}
}
}
}
If you have run pip install autonomath-mcp, "command": "autonomath-mcp" also works. When sharing a workspace, switch env to environment-variable expansion (${JPCITE_API_KEY}) to avoid leaking the secret.
Verification
Type the following in Cline chat. Success means jpcite is called and the result comes back with a source_url. If you use Cline's auto-approve mode, add the jpcite tool calls to the allow list.
@jpcite search_programs q="ものづくり補助金" prefecture="東京都"
You are connected when jpcite turns green in the MCP Servers panel and shows a tools count of 261. Generation of 36-Agreement labor documents is not offered publicly.
When smoke-testing the REST endpoint directly, always use -G --data-urlencode. Embedding a Japanese query straight into the URL breaks the HTTP request line, and the API returns {"error":{"code":"bad_request",...,"hint":"Use --data-urlencode for non-ASCII query params..."}}.
curl -G "https://api.jpcite.com/v1/programs/search" \
--data-urlencode "q=ものづくり補助金" \
--data-urlencode "prefecture=東京都" \
-H "X-API-Key: ${JPCITE_API_KEY:-}"
FAQ
It will not turn green / tools count is 0
Quit VSCode completely and restart. A tools count of 0 is usually an API key authentication failure — check the jc_ prefix on env.JPCITE_API_KEY. On WSL / Remote SSH, we recommend specifying the full path to uvx.
What is the difference between anonymous and paid?
Anonymous is IP-based at 3 req/day (AnonIpLimit) with no API key. Paid is metered at ¥3/billable unit excl. tax with no cap, counted via JPCITE_API_KEY.
How do I issue an API key?
Issue one from /en/pricing.html#api-paid via Stripe Checkout (consent is in custom_text.submit.message). The dashboard shows your jc_... key right afterward (new keys use the jc_ prefix; previously issued sk_ / am_ keys remain compatible).
What is the 8-profession legal fence?
jpcite does not return individualized advice that would intrude on the exclusive practice areas under the Certified Tax Accountant Act §52, the Attorney Act §72, and similar statutes. See /en/legal-fence.html.