Academy · guide 3 of 10 · 6 min
Connect Claude Code
Who it is for: developers who work in the Claude Code terminal or editor extension. What you need: Claude Code installed, Python 3 (the plugin script uses only the standard library), a Nexorah account with an active plan, and a browser to sign in.
Steps
- Connect the library as an MCP server. This is the one command every page of the site points to; copy it from here:
Then runclaude mcp add --transport http nexorah https://nexorahai.io/mcp/mcpin Claude Code, picknexorahand complete the Nexorah sign-in in the browser. Your AI now has the library tools; run/mcp__nexorah__startfor the one-minute setup (see "First conversation" below). - Optional, when the plugin is published: the plugin adds the session-start rules and the
nl.pyhelper. It will install from the marketplace on this site with one command, which this guide will give here the day it is live. Until then, steps 3 to 6 below apply only if you already have the plugin folder. Once it is installed, turn on automatic updates for it, because Claude Code leaves them off for every marketplace that is not Anthropic's own. In a Claude Code session run/plugin, open the Marketplaces tab, select nexorah, then Enable auto-update. From then on, each new session refreshes the plugin, and new commands and skills reach you the next time you start Claude Code. To update by hand at any time:
The library's data, plans, reviews and the radar come from the server and reach you at once; updates matter only for the plugin's own commands and skills. When a session starts on an older plugin, the plugin says so in one line with this command. The plugin's own connection to the library tells the server its version too, so a plugin that is too old cannot keep sending reports or flags through the AI's tools either.claude plugin update nexorah-library@nexorah - If you have the plugin folder, the script lives at
scripts/nl.pyinside it. In the commands below,nl.pymeanspython3 <plugin folder>/scripts/nl.py. Connect this device:
It prints a link and a code, for example:python3 <plugin folder>/scripts/nl.py loginOpen https://nexorahai.io/library/connect, sign in, and enter this code: 1234-5678. - Open the link, sign in to Nexorah, and enter the code. The terminal then prints
Connected. This device now uses Nexorah Library. - Start a new Claude Code session. At the start, the plugin prints the library rules and, when it finds something relevant, lines for the current project folder.
- Try the commands:
python3 <plugin folder>/scripts/nl.py me python3 <plugin folder>/scripts/nl.py search "flutter app" python3 <plugin folder>/scripts/nl.py card flutter
Plugin or plain MCP: what differs
Step 1 alone gives your AI every library tool. The plugin (step 2, when published) adds two things: the library rules printed at the start of each session, and the nl.py helper for the terminal. Claude Code lists the server's commands under /; typing /mcp__nexorah__start runs the start command (the name must match the server name nexorah you chose in step 1).
The key is saved in ~/.config/nexorah-library/config.json (readable only by you). Nothing from the library is stored on your machine.
One device per subscription. The first device that connects is bound to your subscription. All your own AI accounts may use that device. A second device gets device_limit.
Done means: nl.py me prints your plan, price and queries_today; a new session starts with the line # Library rules for this session.
First conversation: the start wizard
Once connected, you do not have to learn the library's tools. Ask your AI to set you up with Nexorah Library, or run the start command if your app lists it: with the Nexorah plugin in Claude Code it is /nexorah-library:start; with a plain MCP connection it appears as /mcp__nexorah__start. Your AI then calls the nexorah_start tool and walks you through four short steps:
- your setup in one line: plan, sharing choice, today's question count;
- three questions about your stack, what you build, and what your AI should always or never do; the answers are saved as My preferences only after you say yes;
- a first real answer from the library for your kind of work;
- the next step for the app you use.
Until you run it once, library answers begin with the line "New here: call nexorah_start". Claude's help pages do not say whether the Claude apps list a connector's commands, so if you do not see start there, ask "Set me up with Nexorah Library"; it does the same. Your account page shows the connection within about thirty seconds: Your connections → Connected · just now.
Troubleshooting
- "This device is not connected" — run
nl.py loginagain. - Login times out — you did not finish in the browser; run it again for a new code.
- "already used on another device" — one device per subscription; see guide 9.
- "No active plan", "Daily question limit reached", "not reachable" — guide 9.
- "A newer Nexorah plugin is available" at the start of a session — run the update command above, then start a new session.
- "This plugin version is too old" — reading still works, but reports, flags, board notes, sharing and preference changes are paused until you update; run the update command above.
FAQ
- Does
nl.py mecount against my daily limit? No; other commands do. - What does the plugin send about my project? Only words that describe it, such as package names and languages. No file content.
- Is a password or token requested? No. You sign in on the Nexorah website.
- Why do I not see a new command after an update? The running session keeps the plugin version it loaded. Start a new session, or run
/reload-pluginsto load the new version now. - Is auto-update on by default? Not for this plugin: Claude Code turns it on by default only for Anthropic's official marketplaces. Turn it on once as in step 2.
Sources (✅ checked 2026-11-08)
- Claude Code docs, "Connect Claude Code to tools via MCP" (add a remote HTTP server, OAuth sign-in through
/mcp, MCP prompts as/mcp__server__prompt): https://code.claude.com/docs/en/mcp - Claude Code docs, "Discover and install plugins", section on keeping plugins updated (auto-update off by default for third-party marketplaces, Marketplaces tab → Enable auto-update,
claude plugin update <plugin>@<marketplace>,/reload-plugins; ✅ checked 2026-11-09): https://code.claude.com/docs/en/discover-plugins