mclenhard/mcp-flashcards
If you are the rightful owner of mcp-flashcards and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
MCP Flashcards is a server for managing flashcards, allowing users to create, study, and organize flashcard decks programmatically.
MCP Flashcards
MCP server for managing flashcards - create, study, and organize flashcard decks programmatically.
Features
- Create and manage flashcard decks
- Add, edit, and delete cards
- Study mode with spaced repetition
- Import/Export decks
- Statistics tracking
- Full MCP integration
Installation
npm install @no-smoke/mcp-flashcards
Configuration
Add to your MCP settings:
{
"mcpServers": {
"flashcards": {
"command": "npx",
"args": ["@no-smoke/mcp-flashcards"],
"env": {
"FLASHCARDS_DATA_DIR": "./flashcards-data"
}
}
}
}
Usage
Create a deck
await createDeck({
name: "JavaScript Basics",
description: "Fundamental JavaScript concepts"
});
Add cards
await addCard({
deckId: "deck-id",
question: "What is a closure?",
answer: "A function that has access to variables in its outer scope"
});
Study mode
const card = await getNextCard({ deckId: "deck-id" });
await markCard({ cardId: card.id, correct: true });
Development
# Clone the repository
git clone https://github.com/No-Smoke/mcp-flashcards.git
cd mcp-flashcards
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
# Start development server
npm run dev
License
MIT License - see file for details