Nightspar

Features / AI assistant (MCP)

An MCP server that connects your AI assistant to your vocabulary

Nightspar has a built-in MCP server. Connect it once, and the assistant you already chat with can save words into your library mid-conversation, a single word or several at once, and read back what you have saved.

How does saving from an AI chat work?

MCP (Model Context Protocol) is the standard AI assistants use to talk to outside tools. Any MCP-capable assistant can connect to Nightspar: Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex CLI, Gemini CLI, Grok.

The usual moment looks like this. You ask what a word in a sentence means, the assistant explains it, and you say "add it to Nightspar". The phrase is captured with the context from that conversation, gets the same AI-built card as anything else you save (meanings, translation, pronunciation, examples, audio) and enters your review schedule.

It works for several words too. Paste a paragraph, ask which words are worth keeping, and say "save those". They are added in one go, each with its own card, and anything already in your library is left as it is.

It reads, too. Ask what you saved most recently, search your library from the chat, or ask the assistant to build its explanations around vocabulary you already have.

1
Connect once

Click the button for your assistant or run one command, then sign in with your Nightspar account.

2
Chat as usual

Ask about words wherever the conversation goes. When one is worth keeping, say so.

3
It lands in your library

The phrase appears in Nightspar with a finished card and a place in your review queue.

Connect your assistant

Pick your client. It opens a browser window where you sign in to Nightspar, no keys or tokens to paste.

In ChatGPT, turn on developer mode under Settings → Connectors, then add this URL as a custom connector (not every plan allows them).

https://api.nightspar.com/mcp

One click opens Claude's Settings → Connectors with Nightspar filled in. Confirm, then sign in.

Open in Claude

One click opens Cursor with Nightspar filled in. Confirm, then sign in.

Open in Cursor

One click opens VS Code with Nightspar filled in. Confirm, then sign in.

Open in VS Code

Run this in your terminal, then sign in to Nightspar in the browser when asked.

claude mcp add --transport http --scope user nightspar https://api.nightspar.com/mcp

Run this in your terminal, then sign in to Nightspar in the browser when asked.

codex mcp add nightspar --url https://api.nightspar.com/mcp

Run this in your terminal, then sign in to Nightspar in the browser when asked.

gemini mcp add --transport http nightspar https://api.nightspar.com/mcp

Add this URL to your app as a custom connector (remote MCP server), then sign in to Nightspar in the browser.

https://api.nightspar.com/mcp
A ChatGPT conversation explaining a Spanish word, with the Nightspar connector saving it along with the sentence as context

How do I connect my assistant?

Setup is one time. Claude, Cursor and VS Code have a one-click button above: it opens the client with Nightspar already filled in, and you confirm. Claude Code, Codex CLI and Gemini CLI take one command: copy it above and paste it into your terminal.

ChatGPT, Grok and other clients take the server URL by hand: https://api.nightspar.com/mcp. Add it as a custom connector (in ChatGPT that is Settings, then Connectors, with developer mode turned on). Already using Nightspar? The same options sit under "Use in AI chats" in your user menu.

Either way, a browser window then asks you to sign in to your Nightspar account. That is the whole setup, no API keys and no tokens to paste. Authorization is standard OAuth, tied to your account, and your password is never handed to the assistant. Remove the connector on the assistant side and its access goes with it.

Support varies by client and by plan. Some assistants allow custom connectors only on paid tiers, or behind a developer setting you have to enable first, and the sign-in step needs a client that supports remote MCP servers with OAuth. If your assistant lists no custom connectors anywhere, it cannot connect yet.

The same card as every other save

A phrase saved from a chat runs through the identical pipeline as one clipped from a webpage or typed into the app. Meanings, translations, IPA, example sentences and audio are built for you, and the card joins your FSRS queue with everything else.

Your collections are readable by the assistant too, so it can answer questions about what a collection already holds, file new saves straight into one, or start a new collection for them.

The word saved from the chat, open in the Nightspar library with its finished card

Common questions

Which assistants work?

Any client that supports remote MCP servers with OAuth sign-in. Claude (web and desktop), Cursor and VS Code connect with one click, Claude Code, Codex CLI and Gemini CLI with one command, and ChatGPT (with developer mode enabled), Grok and others with the server URL. Whether custom connectors are available to you also depends on your plan with that assistant. Several vendors keep them on paid tiers.

Is it safe? What can the assistant access?

It acts as you, on your vocabulary and collections, and nothing beyond that. Access comes from an OAuth sign-in rather than a password, and removing the connector in your assistant takes the access away. By default the assistant can read and add, nothing more. Editing and deleting are a separate permission: when it is offered, the sign-in screen lists it on its own line, and the assistant gets it only if you approve. Even then, a phrase or collection can be corrected, renamed or deleted only within 24 hours of being added, so a slip in a chat cannot wipe months of review history. Anything older is changed in the app.

Do words saved from a chat get the same flashcards?

Yes, the same pipeline as every other save, whether you add one word or several from one message. Meanings, translations, pronunciation, examples and audio are generated, and the card enters your review schedule.

Does it cost extra?

No. The MCP server is part of Nightspar. What your assistant charges for custom connectors is between you and that vendor.

More features

Try it yourself — free during the beta

Free during beta · no credit cardor try the demo first — no signup