Skip to main content
Glama
Expert Role Prompt MCP

Expert Role Prompt MCP

Expert Role Prompt MCP

MCP License Node Claude Desktop

Advanced expert role simulation and prompt enhancement MCP (Model Context Protocol) for Claude Desktop. Access 50 specialized expert personas to enhance your AI interactions with domain-specific expertise and reasoning frameworks.

🌟 Features

  • 50 Expert Roles: Comprehensive coverage across engineering, business, creative, scientific, and educational domains

  • Advanced Reasoning Chains: Each expert applies domain-specific analytical frameworks

  • Confidence Scoring: Intelligent expert matching with confidence metrics

  • Constitutional AI Principles: Built-in safety and ethical guidelines

  • Zero Cost: Runs entirely locally - no API costs

  • Instant Response: No network latency, immediate expert selection

  • Workflow Templates: Pre-built reasoning patterns for common tasks

Related MCP server: Claude Swarm MCP Server

πŸ“Š Expert Categories

Engineering (12 experts)

  • Backend Engineer, Frontend Engineer, AI/ML Engineer

  • Data Engineer, Security Engineer, DevOps Engineer

  • Cloud Architect, Mobile Developer, QA Engineer

  • Database Administrator, Blockchain Developer, Game Developer

Business & Product (10 experts)

  • Product Manager, Business Analyst, Marketing Manager

  • Sales Executive, Financial Analyst, HR Manager

  • Operations Manager, Strategy Consultant, Customer Success Manager

  • Supply Chain Manager

Creative & Design (8 experts)

  • UX/UI Designer, Graphic Designer, Content Writer

  • Video Editor, Social Media Manager, Brand Strategist

  • Copywriter, Creative Director

Science & Research (8 experts)

  • Data Scientist, Research Scientist, Bioinformatician

  • Statistician, Economist, Physicist

  • Chemist, Environmental Scientist

Education & Training (6 experts)

  • Teacher, Corporate Trainer, Curriculum Designer

  • E-Learning Specialist, Academic Researcher, Career Counselor

Other Specialists (6 experts)

  • Legal Advisor, Healthcare Professional, Project Manager

  • Technical Writer, System Administrator, Prompt Engineer

πŸš€ Installation

npm install -g expert-role-prompt-mcp

Manual Installation

git clone https://github.com/justmy2satoshis/expert-role-prompt-mcp.git
cd expert-role-prompt-mcp
npm install

πŸ”§ Configuration

Add to your Claude Desktop configuration file:

Windows: %APPDATA%\Claude\claude_desktop_config.json macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "expert-role-prompt": {
      "command": "node",
      "args": ["C:\\path\\to\\expert-role-prompt-mcp\\src\\server.js"],
      "env": {}
    }
  }
}

Or if installed globally via npm:

{
  "mcpServers": {
    "expert-role-prompt": {
      "command": "npx",
      "args": ["-y", "expert-role-prompt-mcp"],
      "env": {}
    }
  }
}

πŸ“– Usage Examples

Basic Expert Nomination

// Request an expert for your task
const expert = await nominate_expert({
  task_description: "Design a scalable microservices architecture for an e-commerce platform",
  context: "High-traffic, global users, multiple payment providers"
});

// Returns:
// {
//   expert: "Backend Engineer",
//   confidence: 92%,
//   reasoning: "Strong domain alignment with microservices, APIs, distributed systems"
// }

Enhance Prompt with Expert Knowledge

const enhanced = await enhance_prompt({
  expert_id: "backend-engineer",
  task_description: "Optimize database query performance",
  reasoning_type: "technical"
});

// Returns enhanced prompt with:
// - Domain-specific analysis framework
// - Best practices and tools
// - Step-by-step approach
// - Risk mitigation strategies

List Available Experts

const experts = await list_expert_roles({
  category: "engineering"  // optional filter
});

// Returns list of experts with capabilities

πŸ’‘ Use Cases

Software Development

  • Architecture design and code review

  • Performance optimization recommendations

  • Security vulnerability assessment

  • Testing strategy development

Business Strategy

  • Market analysis and competitive positioning

  • Product roadmap planning

  • Financial modeling and forecasting

  • Customer acquisition strategies

Content Creation

  • Technical documentation writing

  • Marketing copy optimization

  • Educational content development

  • Brand messaging refinement

Research & Analysis

  • Data analysis and visualization

  • Statistical modeling approaches

  • Research methodology design

  • Literature review strategies

πŸ—οΈ Architecture

expert-role-prompt-mcp/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ server.js           # Main MCP server
β”‚   β”œβ”€β”€ experts/
β”‚   β”‚   β”œβ”€β”€ roles.js        # Expert role definitions
β”‚   β”‚   └── frameworks.js   # Reasoning frameworks
β”‚   β”œβ”€β”€ matcher.js          # Expert matching logic
β”‚   └── enhancer.js         # Prompt enhancement
β”œβ”€β”€ examples/               # Usage examples
β”œβ”€β”€ tests/                  # Test suite
└── package.json

πŸ’° Cost Comparison

Solution

Monthly Cost

Response Time

Privacy

Expert Role MCP

$0 (Local)

<100ms

Full

GPT-4 with prompts

$50-200

2-5s

Limited

Claude API

$40-150

1-3s

Limited

Multiple AI subscriptions

$100+

Varies

Limited

Savings: $50-200/month while maintaining expert-quality responses

πŸ§ͺ Testing

npm test

Run the comprehensive test suite including:

  • Expert matching accuracy

  • Confidence scoring validation

  • Framework application tests

  • Edge case handling

🀝 Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

Adding New Experts

  1. Define the expert role in src/experts/roles.js

  2. Add specialized frameworks in src/experts/frameworks.js

  3. Update confidence scoring logic if needed

  4. Add tests for the new expert

  5. Submit a pull request

πŸ“Š Performance Metrics

  • Expert Selection: <50ms average

  • Prompt Enhancement: <100ms average

  • Memory Usage: <50MB

  • Accuracy: 85%+ expert-task alignment

  • Coverage: 50 expert roles across 6 categories

πŸ”’ Security

  • No external API calls

  • No data transmission

  • Runs entirely in local Claude Desktop environment

  • No sensitive data storage

  • Constitutional AI principles built-in

πŸ“ License

MIT License - see LICENSE file for details

πŸ™ Acknowledgments

  • Anthropic for the Model Context Protocol specification

  • Claude Desktop team for MCP integration

  • Community contributors and testers

πŸ“§ Support

🚦 Status

  • βœ… Production Ready

  • βœ… All 50 experts functional

  • βœ… Comprehensive test coverage

  • βœ… Documentation complete

  • βœ… Claude Desktop compatible


Note: This MCP requires Claude Desktop with MCP support enabled. It does not work with the web version of Claude.

Built with ❀️ for the Claude community

Available Tools

10 tools
apply_reasoningC

Apply Chain-of-Thought or Tree-of-Thoughts reasoning

Inputs: template (required), framework (required), variables (required).

chain_workflowsC

Execute multiple workflows in sequence

Inputs: workflows (required), context.

create_custom_workflowC

Create a custom workflow template

Inputs: name (required), steps (required), description (required).

enhance_promptC

Enhance a prompt with expert frameworks, methodologies, and reasoning

Inputs: expert_id (required), task_description (required), reasoning_type.

execute_workflowC

Execute a pre-defined workflow template with reasoning

Inputs: template_name (required), context.

get_expert_capabilitiesC

Get detailed information about a specific expert role

Inputs: expert_id (required).

list_expert_rolesC

List all available expert roles with categories

Inputs: category.

list_workflowsC

List available workflow templates

Inputs: domain.

nominate_expertC

Nominate the best expert role for a given task with enhanced confidence scoring

Inputs: task_description (required), context.

test_confidenceC

Test confidence scoring for expert matching

Inputs: query (required), expert_id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 10 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes: role discovery (list_expert_roles, get_expert_capabilities), matching (nominate_expert), and workflow operations are separable. However, test_confidence overlaps with nominate_expert (both concern confidence scoring for expert matching), and execute_workflow vs chain_workflows vs apply_reasoning require careful reading to distinguish.

    Naming Consistency5/5

    Every tool follows a consistent verb_noun snake_case pattern (nominate_expert, enhance_prompt, list_expert_roles, get_expert_capabilities, execute_workflow, apply_reasoning, create_custom_workflow, chain_workflows, list_workflows). No mixed conventions or vague verbs.

    Tool Count5/5

    Ten tools is well within the ideal 3-15 range and each maps to a coherent capability (expert discovery, matching, prompt enhancement, reasoning, workflow lifecycle). No obvious redundancy inflating the count.

    Completeness4/5

    The core lifecycle is covered: discover roles, get details, nominate, enhance prompts, list/create/execute/chain workflows, and apply reasoning. Minor gaps existβ€”custom workflows can be created but not updated, deleted, or fetched individually, which limits management of user-created templates.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Integrates 100+ specialized AI agents with Claude Desktop, providing automated agent discovery, multi-agent coordination, and ready-to-use task templates for complex development and business workflows. Enables users to leverage enterprise-level AI capabilities through actionable resources and intelligent agent matching.
      35 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables multi-agent orchestration and coordination using specialized, persistent Claude agents for complex workflows like financial analysis and research. It supports intelligent agent handoffs, local storage, and pre-built team templates through Claude Desktop.
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables Claude to consult over 17 AI platforms and 800,000+ models to provide alternative perspectives, code reviews, and diverse feedback. It features a unique personality system and supports multi-AI group discussions and debates directly within the chat interface.
      46
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Multi-persona engineering mentor with 64 specialized AI personas that injects engineering standards before Claude reasons, transforming passive documentation into active collaborative guidance.
      25
      1
      Apache 2.0