Prompt Decorators
@synaptiai
About Prompt Decorators
A standardized framework for enhancing how LLMs process and respond to prompts through composable decorators, featuring an official open standard specification and Python reference implementation. Claude Code plugin and MCP server integration.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"prompt-decorators": {
"command": "python",
"args": [
"-m",
"prompt_decorators",
"verify"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Prompt Decorators?
Prompt Decorators is a comprehensive framework that standardizes how prompts for Large Language Models (LLMs) are enhanced, structured, and transformed. It includes both an official specification and a Python reference implementation, plus a Model Context Protocol (MCP) server that enables decorator functionality in tools like Claude Desktop.
How to use Prompt Decorators?
Install the package via pip install prompt-decorators (or with [mcp] for MCP integration). Load decorator definitions, create decorator instances with parameters, and apply them to prompts. The MCP server can be run alongside Claude Desktop for on‑the‑fly decorator usage.
Key features of Prompt Decorators
- Standardized annotation system inspired by software design patterns
- 140+ pre‑built decorators for reasoning, formatting, and more
- Registry‑based decorator management with parameter validation
- Composability: combine multiple decorators cleanly
- MCP server integration for desktop AI applications
- Claude Code plugin with inline sigil expansion
Use cases of Prompt Decorators
- Craft prompts for specific reasoning patterns (e.g., StepByStep, Reasoning)
- Structure outputs in consistent formats with OutputFormat decorators
- Ensure uniform model behavior across different LLMs and platforms
- Reduce token consumption by replacing verbose instructions with concise annotations
FAQ from Prompt Decorators
What are Prompt Decorators?
Prompt Decorators are composable annotations (e.g., +++Reasoning(depth=comprehensive)) that modify LLM behavior without rewriting the core prompt.
How do I install Prompt Decorators?
Run pip install prompt-decorators. For MCP integration, use pip install "prompt-decorators[mcp]".
What is the MCP server for?
The MCP server enables prompt decorator functionality in tools like Claude Desktop, allowing users to apply decorators directly within those applications.
Does Prompt Decorators work with any LLM?
Yes, the specification is platform‑agnostic. The Python implementation and MCP server work with any LLM that accepts prompt modifications.
Where do decorators get defined?
Decorators are defined in a standardized JSON registry and loaded at runtime. The package includes a comprehensive library of 140+ built‑in decorators.
Frequently asked questions
What are Prompt Decorators?
Prompt Decorators are composable annotations (e.g., `+++Reasoning(depth=comprehensive)`) that modify LLM behavior without rewriting the core prompt.
How do I install Prompt Decorators?
Run `pip install prompt-decorators`. For MCP integration, use `pip install "prompt-decorators[mcp]"`.
What is the MCP server for?
The MCP server enables prompt decorator functionality in tools like Claude Desktop, allowing users to apply decorators directly within those applications.
Does Prompt Decorators work with any LLM?
Yes, the specification is platform‑agnostic. The Python implementation and MCP server work with any LLM that accepts prompt modifications.
Where do decorators get defined?
Decorators are defined in a standardized JSON registry and loaded at runtime. The package includes a comprehensive library of 140+ built‑in decorators.
Basic information
More Developer Tools MCP servers
AptiBuild AI — Career Intelligence
ParklandBuildsAptiBuild AI — Career Intelligence MCP Server Structured career decision scaffolding for AI agents. Provides personality-conditioned business idea generation, official BLS OEWS wage data, FRED labor market signals, and
Mobbin
MobbinMobbin MCP connects your AI agents to 600,000+ real product screens, so what they build starts with what already works.

Skilder.ai
skilder.aiRun skills and MCP tools like production software: versioned, composed into roles, distributed to every agent from one governed library.

directree
coburn2716directree MCP server — query the honest software directory from any AI assistant

Skycloak
Manage your Skycloak-hosted Keycloak: clusters, realms, apps, SSO and users, from any MCP client.
Comments