pypi meta-prompt-mcpstdioMITupdated 3mo ago
Instant access to Google and Anthropic's official prompting guides within your LLM workflowβoptimized for crafting high-quality meta-prompts and system prompts.
What can you do with meta prompt mcp?
Meta-Prompt MCP
Instant access to Google and Anthropic's official prompting guides within your LLM workflowβoptimized for crafting high-quality meta-prompts and system prompts.
What It Does
Meta-Prompt MCP is an MCP server that surfaces official prompting best practices from Google and Anthropic directly within your LLM workflow. Instead of searching documentation or guessing how to instruct an LLM, you can query expert guides on-demand.
This is especially valuable when crafting meta-prompts (system prompts for agents) or optimizing your own prompting strategies. By grounding your prompts in proven methodology, you'll generate more effective, well-structured outputs.
How It Works
Your MCP host (Claude Desktop, Cursor, etc.) communicates with the server via stdio. When you ask for a guide, the server retrieves it from bundled markdown filesβno API calls, no latency.
ββββββββββββββββββββββββββ ββββββββββββββββββββββββββββ
β Your LLM Host βββstdioβββΊβ Meta-Prompt MCP Server β
β (Claude Desktop, etc) β β β
ββββββββββββββββββββββββββ β β’ get_google_guide β
β β’ get_anthropic_guide β
β β
β Data layer: β
β ./data/ β
β βββ google_*.md β
β βββ anthropic_*.md β
ββββββββββββββββββββββββββββ
Key Features
get_google_guideβ Retrieves Google's comprehensive prompting guide covering techniques, best practices, and LLM configurationget_anthropic_guideβ Retrieves Anthropic's guide on chain-of-thought, multishot prompting, and extended thinking- Zero dependencies β Runs entirely offline with bundled guides; no API keys or network calls required
Validation
We ran a benchmark comparing prompts generated with and without guide access across 5 diverse tasks. An independent judge LLM scored each on Clarity, Specificity, Structure, Effectiveness, and Overall quality (1β10 scale).
To reproduce the benchmark:
export OPENROUTER_API_KEY=sk-or-...
make benchmark
Quick Start
1. Install
# Via uvx (recommended β run without installing globally)
uvx meta-prompt-mcp
# Or install via pip
pip install meta-prompt-mcp
The package ships with bundled markdown guides β no API keys or setup needed.
2. Configure Your MCP Host
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"meta-prompt-mcp": {
"command": "uvx",
"args": ["meta-prompt-mcp"]
}
}
}
Cursor
Add to your MCP settings:
{
"mcpServers": {
"meta-prompt-mcp": {
"command": "uvx",
"args": ["meta-prompt-mcp"]
}
}
}
Claude Code
Run the following command in your terminal:
claude mcp add meta-prompt-mcp -- uvx meta-prompt-mcp
Usage
Query the guides while crafting your prompts. Examples:
- "I'm building a code reviewer agent. Reference the Google guide to help me write a better system prompt."
- "Based on the Anthropic guide, suggest improvements to this prompt for better reasoning."
- "What technique from the guides would work best for this task?"
The LLM reads the guides and uses that knowledge to give you more informed suggestions and feedback on your prompts.
Development
# Clone the repo
git clone https://github.com/kapillamba4/meta-prompt-mcp.git
cd meta-prompt-mcp
# Install in dev mode
make dev
# Run the server
make run
Available Commands
make dev # Install in editable mode with dev dependencies
make run # Start the MCP server locally
make lint # Check code quality
make format # Auto-format code with Black & isort
make test # Run test suite
make benchmark # Run prompt quality benchmark (requires OPENROUTER_API_KEY)
make build # Build distribution packages
make publish # Publish to PyPI
Project Structure
meta-prompt-mcp/
βββ pyproject.toml # Dependencies and package config
βββ Makefile # Development commands
βββ .env.example # Template for OPENROUTER_API_KEY
β
βββ benchmarks/
β βββ benchmark.py # Prompt quality evaluation script
β βββ results.md # Benchmark results
β
βββ src/meta_prompt_mcp/
βββ __init__.py
βββ __main__.py # Entry point (python -m)
βββ server.py # FastMCP server & tool definitions
βββ data/
βββ google_prompting_guide.md
βββ anthropic_prompting_guide.md
Contributing
Issues, feature requests, and contributions welcome. Please open an issue on GitHub.
License
MIT
Install
Add meta prompt mcp to your client. Pick the one you use.
claude mcp add meta-prompt-mcp -- uvx meta-prompt-mcpcodex mcp add meta-prompt-mcp -- uvx meta-prompt-mcpamp mcp add meta-prompt-mcp -- uvx meta-prompt-mcp{
"mcpServers": {
"meta-prompt-mcp": {
"command": "uvx",
"args": [
"meta-prompt-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"meta-prompt-mcp": {
"command": "uvx",
"args": [
"meta-prompt-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"meta-prompt-mcp","command":"uvx","args":["meta-prompt-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"meta-prompt-mcp": {
"command": "uvx",
"args": [
"meta-prompt-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"meta-prompt-mcp": {
"command": "uvx",
"args": [
"meta-prompt-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"meta-prompt-mcp": {
"command": "uvx",
"args": [
"meta-prompt-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"meta-prompt-mcp": {
"type": "local",
"command": "uvx",
"args": [
"meta-prompt-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"meta-prompt-mcp": {
"command": {
"path": "uvx",
"args": [
"meta-prompt-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
uvx meta-prompt-mcpRun `goose configure`, choose **Add Extension β Command-line Extension**, and paste this command.
Score
39 / 100
Incomplete
- Documentation25/25
- Maintenance13/25
- Trust13/20
- Capability0/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 105 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint β no local install
Version history
| Versions | Published |
|---|---|
| 1.0.11Latest | Feb 28, 2026 |