API & Integrations
Connect MiniCards to your workflow with a local API, MCP protocol, and browser extension.
Embedded HTTP server on desktop (port 9020). Query, search, and create cards via REST API from any local script.
Support for Model Context Protocol. AI assistants like Claude, Cursor, and codex can read and write cards through natural conversation.
Chrome extension for one-click card creation. Select text on any webpage, right-click, and send to MiniCards.
Full RESTful API for batch operations. MiniCards is the most developer-friendly flashcard tool on the market.
Local API Server
On desktop platforms (macOS, Windows, Linux), MiniCards starts a lightweight HTTP server using the shelf framework. It listens on localhost:9020 by default and can be configured in developer settings.
The API provides endpoints for querying cards, searching content, and creating new cards. Optional token-based authentication is available.
MCP Integration
MiniCards supports the Model Context Protocol, allowing AI tools to interact with your card library directly. When using Claude Desktop, Cursor, or other MCP-compatible assistants, you can ask:
- “Turn these three key points into flashcards”
- “Search my cards for anything about recursion”
- “Create 5 cards from this article summary”
The AI sends requests to the local API, and cards appear in your MiniCards library instantly.
Browser Extension
The Chrome extension (source in browser/ directory) lets you:
- Select text on any webpage
- Right-click and choose “Send to MiniCards”
- The content lands in your card editor
No tab switching, no copy-paste — your learning flow stays uninterrupted.
API for Developers
The RESTful API is straightforward for scripting:
GET /cards— list or search cardsPOST /cards— create new cardsGET /groups— list groups
This makes it easy to write custom scripts, integrate with other tools, or batch-process content through the command line.