nika-is-nika/prompt_bookmarks
If you are the rightful owner of prompt_bookmarks and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
Prompt Bookmarks is a tool designed to organize and access prompts across various AI tools using the Model Context Protocol (MCP).
Prompt Bookmarks
A tool for organizing and accessing prompts across AI tools via Model Context Protocol (MCP).
Features
- Hierarchical Organization - Organize prompts in folders and subfolders
- Flexible Tagging - Tag prompts by topic, tool, or custom categories
- Claude Desktop Integration - Direct stdio-based MCP integration for seamless access
- Template Variables - Use prompts with variable substitution like
{name}or{{project}} - Multi-Tool Support - Works with Claude Desktop, Perplexity, and other MCP-compatible AI tools
- Shared Database - Single prompt library accessible across all connected AI tools
- CLI Interface - Command-line management for all operations
- Search & Filter - Find prompts quickly by content, tags, or folders
- Real-time Updates - Changes sync instantly between CLI and MCP interfaces
- Minimal Dependencies - Clean architecture with only essential packages
Installation
🚀 DXT Package (Claude Desktop)
For Claude Desktop users:
- Download
prompt-bookmarks.dxtfrom releases - Open Claude Desktop and navigate to Settings -> Extensions.
- Drag the dxt file to Claude Desktop.
- Click Install and then enable the Extension with a toggle.
- The extension automatically installs Python dependencies
- Enjoy! ✨
⚡ Claude Code Installation
For Claude Code users (fastest method):
claude mcp add prompt_bookmarks node /your-path/prompt_bookmarks/index.js
This automatically configures the MCP server in Claude Code with the correct path.
🔌 Manual MCP Setup (Perplexity)
For Perplexity or other MCP-compatible tools:
-
Clone or download this repository to your local machine.
-
Install Python dependencies:
cd prompt_bookmarks python -m venv venv source venv/bin/activate # or `venv\Scripts\activate` on Windows pip install -r requirements.txt python install.py -
Navigate to Connectors in settings and add new conenctor with the following:
{ "args": ["/path/to/prompt_bookmarks/index.js"], "command": "node", "env": {}, "useBuiltInNode": true } -
Replace
/path/to/prompt_bookmarkswith your actual installation path. -
Give the connector a name.
-
Click Save.
-
Enjoy! ✨
⚙️ Development Installation
-
Install:
pip install -e . -
Initialize:
prompt-bookmarks init -
Add a prompt:
prompt-bookmarks add "My prompt" --folder "dev" --tags "python,debugging" -
Configure your AI tool:
{ "mcpServers": { "prompt-bookmarks": { "command": "/path/to/your/prompt_bookmarks/venv/bin/prompt-bookmarks", "args": ["serve"], "env": {} } } }Find your path:
cd /path/to/your/prompt_bookmarks source venv/bin/activate which prompt-bookmarks -
Restart Claude Desktop completely and test with:
"What MCP tools do you have available?"
Usage
CLI Commands
init- Initialize the prompt databaseadd- Add a new promptlist- List prompts with filteringsearch- Search prompts by contentedit- Edit an existing promptdelete- Delete a promptserve- Start MCP server for Claude Desktop integration
MCP Integration
Once configured, you can manage prompts directly from Claude Desktop conversations:
Example usage:
- "Create a prompt titled 'Code Review' with content 'Please review this {language} code for {aspects}' in folder 'Development' with tags 'coding' and 'review'"
- "Search my prompts for 'python' and show me the top 5"
- "Find and use a prompt about code review with variables language='JavaScript' and aspects='performance'"
- "Update prompt ID 3 to change its folder to 'AI/Templates'"
- "Show me all my folders and create a new one called 'Personal/Notes'"
Available MCP Tools (15 total):
Prompt Management:
search_prompts- Find prompts by content, tags, or folder (supports limit parameter)create_prompt- Save new prompts during conversationsget_prompt- Retrieve prompt content for immediate useupdate_prompt- Modify existing prompts (title, content, description, folder, tags)delete_prompt- Remove outdated promptsuse_prompt_template- Use prompts with variable substitutionfind_and_use_prompt- Search and immediately use prompts with variables
Organization:
get_folders- List all folder structurescreate_folder- Create new folder paths (e.g., 'AI/Coding/Python')update_folder- Rename folders and update all child folders/promptsdelete_folder- Remove folders and move prompts to parentget_tags- List all available tagscreate_tag- Create tags with categories and colorsupdate_tag- Update tag name, category, or colordelete_tag- Remove tags from the system
Variable Substitution
Prompts support dynamic variables in two formats:
{variable_name}- Single braces{{variable_name}}- Double braces
Example:
Hello {name},
Thank you for your interest in {product}.
Best regards,
{sender}
Usage: "Use prompt ID 5 with variables name='John', product='our software', sender='Sarah'"
Advanced Usage Examples
Creating & Organizing:
- "Create a prompt called 'Bug Report Template' with content 'Bug: {title}\nSteps: {steps}\nExpected: {expected}\nActual: {actual}' in folder 'Templates' with tags 'bug' and 'template'"
- "Create a folder 'AI/Writing/Blog' and a tag 'content-creation' with category 'workflow' and color '#00D4AA'"
Managing Structure:
- "Rename folder 'AI/Coding' to 'AI/Development' to better reflect its purpose"
- "Update tag 'old-name' to 'new-name' and change its category to 'productivity'"
- "Update prompt ID 5 to change the title to 'Enhanced Code Review' and add tag 'quality-assurance'"
Using Templates:
- "Find a prompt about code review and use it with language='Python' and focus='security'"
- "Search my prompts for 'python' with limit 25"
Batch Operations:
- "First, create a prompt for meeting notes with variables {date}, {attendees}, {topics}. Then search for all prompts tagged 'meetings' and show me the first 3."
Organization Features
Hierarchical Folders:
AI/Coding/PythonMarketing/Email/WelcomeTemplates/Reports
Flexible Tagging:
- AI Tools:
claude,chatgpt,perplexity - Topics:
coding,writing,analysis - Categories:
template,example,draft - Custom: Any tag with optional category and color
Troubleshooting
Tools Not Available:
- Verify path:
which prompt-bookmarks - Restart Claude Desktop after config changes
- Check config file syntax (JSON must be valid)
- For MCPB installation issues, check Claude Desktop logs for "spawn python ENOENT" errors
Server Issues:
- Ensure virtual environment is activated
- Test command:
prompt-bookmarks --help - Make executable:
chmod +x /path/to/venv/bin/prompt-bookmarks
Limits:
- Prompts: Up to 1,000 per search (default: 10)
- Folders: No limit (returns all)
- Tags: No limit (returns all)
Tips for Best Results
- Be specific in search queries for better results
- Use consistent tagging for easier organization
- Create templates with variables for reusable prompts
- Organize with folders to maintain logical structure
- Test variables to ensure proper substitution
Development
-
Clone and set up:
git clone <repo> cd prompt_bookmarks python -m venv venv source venv/bin/activate # or `venv\Scripts\activate` on Windows pip install -e ".[dev]" -
Run tests:
pytest
Requirements
- Python 3.8+ (automatically managed in DXT package)
- Node.js 16+ (for DXT package execution)
- Dependencies are automatically installed during setup
Support
For issues and feature requests, visit: https://github.com/veronikatamaioflores/prompt_bookmarks
License
MIT License - see LICENSE file for details.