The Phrases MCP Server is a tool for managing inspirational phrases, accessible via MCP clients like Claude for Desktop. It offers these capabilities:
Get all phrases - Retrieve a list of all available phrases
Get phrase by ID - Fetch a specific phrase using its unique ID
Get phrase by author name - Search for phrases by author
Create a new phrase - Add new phrases with author and text
Update a phrase - Modify existing phrase text using its ID
Delete a phrase - Remove phrases by ID
The server integrates with Claude for Desktop and utilizes a mock API for data storage (a real database is recommended for production).
🤖 Phrases MCP Server
An elegant and efficient MCP (Model Context Protocol) server for managing inspirational quotes. Designed to integrate seamlessly with Claude for Desktop and other MCP clients.
✨ Features
Complete phrase management - Create, read, update and delete phrases with ease
Claude for Desktop Integration - Interact with your phrases directly from Claude
Integrated Mock API - Use a mock API for testing and development
Related MCP server: ClaudeKeep
🛠️ Available tools
The server exposes the following MCP tools:
Tool | Description |
| Get all available phrases |
| Search for a phrase by its ID |
| Search for phrases by author name |
| Create a new sentence |
| Updates the text of an existing sentence |
| Delete a phrase by its ID |
🚀 Installation
🔌 Setup with Claude for Desktop
Install Claude for Desktop (make sure you have the latest version)
Configure Claude for Desktop to use this MCP server:
Open the configuration file (MAC/Linux) at:
~/Library/Application Support/Claude/claude_desktop_config.jsonAdd server configuration:
{ "mcpServers": { "phrases": { "command": "node", "args": [ "/RUTA_ABSOLUTA_A/phrases/build/index.js" ] } } }Restart Claude for Desktop
💡 Use with Claude
Once configured, you can interact with your phrases directly from Claude for Desktop:
"Show me all available phrases"
"Find quotes by [author name]"
"Create a new sentence for [name] that says [text]"
"Update the phrase with ID [number] to [new text]"
"Delete the phrase with ID [number]"
🧪 Tests
⚠️ Important: Testing Settings
Before running the tests, you should temporarily modify the tsconfig.json file. Change the compilerOptions section to:
Note : Don't forget to revert back to the original configuration after testing to make the MCP server build work properly.
To run the tests:
This command will run a series of tests that create, read, update, and delete sentences using the mock API.
🏗️ Project structure
🔄 Development workflow
Modify the code in
src/Compile with
npm run buildTest with
npm run test:requestsRestart Claude for Desktop to apply the changes
🔍 MockAPI Configuration
This project uses MockAPI as the backend to store and manage phrases. The configured base URL is:
Setting up your own MockAPI instance
Create an account on MockAPI
Create a new project
Create a resource called
userwith the following fields:id(number, autogenerated)name(string)phrase(string)
Copy your API URL
Update the
BASE_URLconstant in thesrc/helpers/makeMockAPIRequest.tsfile
📝 Additional notes
This server uses a mock API to store data. In a production environment, consider implementing a real database.
The project structure follows official MCP guidelines for better maintainability.
If you encounter issues with the Mock API, please check the MockAPI free usage limits.
📄 License
ISC