A powerful application that helps you memorize and learn English vocabulary with the assistance of Large Language Models (LLMs) and Model Control Protocol (MCP).
This application is designed to enhance your English vocabulary learning experience by leveraging AI to provide comprehensive word information. As you encounter new English words in your daily life, the application stores them along with detailed information to help you better understand and remember them.
- Word Collection: Easily add new English words you encounter in your daily life
- AI-Powered Explanations: Get detailed explanations of words from advanced LLMs
- Bilingual Support: Receive comprehensive Chinese translations and English definitions
- Contextual Examples: Learn how words are used in different contexts through example sentences
- Spaced Repetition: Review words at optimal intervals to maximize retention
- Progress Tracking: Monitor your vocabulary growth and learning progress
- MCP Integration: Utilize Model Control Protocol for efficient AI tool integration
- Frontend: User-friendly interface for inputting words and displaying information
- LLM Integration: Connection to language models for generating word explanations
- MCP Server: Implementation of tools API for LLM invocation
- Database: Storage of word information including:
- Original word and pronunciation
- Detailed Chinese translations
- Comprehensive English definitions
- Multiple example sentences
- Usage notes and common collocations
- User learning progress
The MCP (Model Control Protocol) server provides a standardized interface for the LLM to interact with the application's database and functionality. Below are the key API endpoints:
-
saveWord
- Description: Store a new word and its information in the database
- Parameters:
word
(string): The English word to savepronunciation
(string): Phonetic pronunciationtranslations
(array): List of Chinese translationsdefinitions
(array): List of English definitionsexamples
(array): Example sentences using the wordnotes
(string, optional): Additional usage notes
- Returns: Word ID and status
-
getWord
- Description: Retrieve information about a specific word
- Parameters:
wordId
(string) orword
(string): Identifier for the word
- Returns: Complete word information
-
updateWord
- Description: Update information for an existing word
- Parameters:
wordId
(string): Word identifierfieldToUpdate
(string): Field to be updatednewValue
(any): New value for the field
- Returns: Updated word information
-
trackWordStudy
- Description: Record a study session for a word
- Parameters:
wordId
(string): Word identifierstudyTime
(number): Time spent studying in secondsrecall
(number): Recall score (1-5, with 5 being perfect recall)
- Returns: Updated learning status
-
getNextReviewWords
- Description: Get a list of words due for review based on spaced repetition
- Parameters:
count
(number, optional): Number of words to return (default: 10)
- Returns: Array of words due for review
-
getWordStats
- Description: Retrieve learning statistics for a word
- Parameters:
wordId
(string): Word identifier
- Returns: Study history and performance metrics
-
translateText
- Description: Translate text between English and Chinese
- Parameters:
text
(string): Text to translatetargetLanguage
(string): Target language code (en/zh)
- Returns: Translated text
-
generateExamples
- Description: Generate additional example sentences for a word
- Parameters:
word
(string): The word to generate examples forcount
(number, optional): Number of examples to generate (default: 3)
- Returns: Array of example sentences
All API endpoints return responses in JSON format with appropriate status codes and error messages when applicable.
- User encounters an unfamiliar English word
- User inputs the word into the application
- LLM processes the word using MCP tools
- Word information is stored in the database
- User reviews the word details and examples
- Application schedules future review sessions based on learning progress
[Installation and setup instructions will be added here]
[Contribution guidelines will be added here]
[License information will be added here]