Skip to main content
Glama
COS MCP Server

COS MCP Server

by SEMalytics

COS MCP Server

MCP server for COS (Communication Optimization System) — score content across 7 psychology frameworks.

Quick Start

# Set your API key
export COS_API_KEY="cos_api_..."

# Run with uvx (no install needed)
uvx cos-mcp

Get your API key at semalytics.com.

Related MCP server: Cold Email & Outreach MCP Server

Configuration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "cos": {
      "command": "uvx",
      "args": ["cos-mcp"],
      "env": {
        "COS_API_KEY": "cos_api_..."
      }
    }
  }
}

Claude Code

claude mcp add --transport stdio --env COS_API_KEY=cos_api_... cos -- uvx cos-mcp

Environment Variables

Variable

Required

Default

Description

COS_API_KEY

Yes

—

Your COS developer API key

COS_API_URL

No

https://semalytics.com/api

COS API base URL

Tools (11)

Core Analysis

Tool

Credits

Description

analyze_content

5

Full 4-framework analysis (HAPE + Big Five + Strategic Clarity + Framing Strategy)

analyze_framework

2

Single framework analysis

analyze_full_comms

10

All 7 frameworks in parallel

Extended Analysis

Tool

Credits

Description

analyze_persuasion

3

Domain-specific persuasion (business, politics, health, masculinity, comedy)

analyze_platform

2

Platform optimization (13 platforms)

analyze_quality

2

5-dimension quality scoring

profile_agent

3

Infer OCEAN personality from writing samples

Conversational

Tool

Credits

Description

chat

1

Interactive analysis agent

Templates

Tool

Credits

Description

get_templates

Free

List available analysis templates

get_template_details

Free

Get template specifications

execute_template

2

Run a template with variables

Frameworks

Core 4:

  • HAPE — Engagement scoring: impact, novelty, relevance, emotional valence

  • Big Five — Personality-based communication using the OCEAN model (0.0–1.0 traits)

  • Strategic Clarity — Message alignment: value proposition, differentiation, CTA strength

  • Framing Strategy — Cognitive frames, metaphors, and power positioning

Extended 3:

  • Persuasion — Domain-aware persuasion analysis (Cialdini's principles, ELM routes, moral foundations)

  • Platform — Platform-specific optimization for 13 platforms (Twitter, LinkedIn, Email, TikTok, etc.)

  • Quality — 5-dimension quality: clarity, coherence, correctness, completeness, conciseness

Examples

Analyze a LinkedIn post

Use analyze_content to score this LinkedIn post for engagement and personality fit:

"We just shipped our v2.0 and I couldn't be prouder of this team..."

Profile a writer's personality

Use profile_agent with these 3 writing samples to identify the author's communication style:

Sample 1: "..."
Sample 2: "..."
Sample 3: "..."

Run a full 7-framework analysis

Use analyze_full_comms on this sales email, targeting the business domain on the email platform:

"Subject: Quick question about your Q3 pipeline..."

Development

git clone https://github.com/SEMalytics/cos-mcp
cd cos-mcp
uv pip install -e .
export COS_API_KEY="your-key"
cos-mcp

License

MIT

Available Tools

11 tools
analyze_contentAnalyze ContentA

Analyze content using all 4 COS frameworks in parallel.

Returns comprehensive analysis with:

  • Overall scores (0-10) for each framework

  • Dimension breakdowns with weights

  • Specific recommendations for improvement

  • Cross-framework insights

Inputs: content (required), platform, target_audience. Returns: object

analyze_frameworkAnalyze FrameworkA

Analyze content using a single specific framework.

Faster than full analysis when you only need one perspective.

Frameworks:

  • hape: Engagement Analysis (novelty, relevance, emotional valence)

  • big_five: Personality Analysis using OCEAN model (openness, conscientiousness, extraversion, agreeableness, neuroticism)

  • strategic_clarity: Business message clarity (value prop, differentiation, CTA)

  • framing_strategy: Cognitive frames and power positioning

Inputs: content (required), framework (required), platform, target_audience. Returns: object

analyze_full_commsAnalyze Full CommsA

Run all 7 COS frameworks in parallel for comprehensive analysis.

This is the most thorough analysis option, running:

  • Core 4: HAPE, Big Five, Strategic Clarity, Framing Strategy

  • Extended 3: Persuasion (domain-specific), Platform, Quality

Use this when you need complete analysis across all dimensions. Takes longer but provides the most comprehensive view.

Inputs: content (required), domain, platform, target_audience. Returns: object

analyze_persuasionAnalyze PersuasionB

Analyze content using domain-specific persuasion frameworks.

Each domain has specialized scoring dimensions:

  • business: B2B/B2C messaging, ROI framing, objection handling

  • politics: Political messaging, polarization awareness, coalition building

  • health: Medical accuracy, safety messaging, behavior change (CRITICAL domain)

  • masculinity: Identity messaging, status signaling, tribe alignment

  • comedy: Humor mechanics, timing, callback patterns

Inputs: content (required), domain, platform, target_audience. Returns: object

analyze_platformAnalyze PlatformA

Analyze content for platform-specific optimization.

Evaluates content against platform constraints and algorithm preferences:

  • Character limits and formatting rules

  • Algorithm optimization signals

  • Engagement pattern recommendations

  • Platform-specific best practices

Supported platforms: twitter, linkedin, email, youtube, tiktok, instagram, facebook, medium, substack, podcast, newsletter, slack, discord

Inputs: content (required), platform, target_audience. Returns: object

analyze_qualityAnalyze QualityA

Analyze content quality across 5 dimensions.

Quality dimensions evaluated:

  • Clarity: Is the message easy to understand?

  • Coherence: Does the content flow logically?

  • Correctness: Grammar, spelling, factual accuracy

  • Completeness: Are all necessary elements present?

  • Conciseness: Is the content appropriately tight?

Inputs: content (required), platform, target_audience. Returns: object

chatChatA

Have a conversation with the COS analysis agent.

The agent can help you:

  • Analyze content interactively

  • Get recommendations for improvement

  • Understand framework scores

  • Configure analysis settings

Inputs: message (required), conversation_id. Returns: object

execute_templateExecute TemplateB

Execute a specific template with provided variables.

Templates guide the analysis with pre-defined prompts and variable placeholders. First use get_templates to find available templates and their required variables.

Inputs: variables (required), template_id (required), platform. Returns: object

get_template_detailsGet Template DetailsA

Get detailed information about a specific template.

Returns the template's:

  • Name and description

  • Required and optional variables with types

  • Categories and tags

  • Scoring dimensions and weights

Inputs: template_id (required). Returns: object

get_templatesGet TemplatesB

List available analysis templates.

Templates are pre-configured analysis scenarios for common use cases:

  • Email outreach optimization

  • LinkedIn post analysis

  • Sales pitch review

  • Content marketing assessment

Inputs: search, category. Returns: object

profile_agentProfile AgentA

Profile an agent's personality from their writing samples.

Analyzes 1-10 writing samples (3-5 recommended) to infer the author's Big Five (OCEAN) personality traits, communication style, strengths, blind spots, and persuasion profile.

This is the inverse of content analysis -- instead of "is this content effective?", it answers "who is this writer based on how they communicate?"

Inputs: samples (required), agent_name. Returns: object

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 11 tools

    Disambiguation3/5

    The analyze_* family is heavily nested: analyze_content covers the core 4 frameworks, which are a strict subset of analyze_full_comms (7 frameworks), and analyze_quality, analyze_platform, and analyze_persuasion each duplicate a slice of that same full analysis. An agent must reason carefully about scope to pick the right one, though descriptions do provide guidance on when to use each. get_templates vs get_template_details is a smaller but real overlap in naming semantics.

    Naming Consistency4/5

    Six tools follow a clean analyze_<dimension> pattern (analyze_content, analyze_framework, analyze_quality, analyze_platform, analyze_persuasion, analyze_full_comms), and the template tools use a verb_noun scheme. Minor deviations: get_templates (plural, list) vs get_template_details (singular) is slightly asymmetric, and 'chat' / 'profile_agent' break the pattern, but overall readable and predictable.

    Tool Count5/5

    11 tools sits squarely in the well-scoped range and each tool maps to a distinct analysis mode or template operation. Nothing feels padded given the breadth of frameworks the server advertises.

    Completeness4/5

    The analysis surface is thorough: single-framework, core-4, full-7, domain persuasion, platform, quality, and inverse writer profiling, plus a list/detail/execute template lifecycle. Gaps are minor — there is no create/save custom template, no analysis history or result retrieval, and settings can only be changed indirectly via chat.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides comprehensive psychological intelligence capabilities including persona analysis, attachment theory assessment, relationship compatibility evaluation, and autonomous workflow strategies through a complete graph database integration.
      -
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to draft evidence-grounded cold-email openers, A/B variants, personalized LinkedIn DMs, and SEO content-gap plans for sales and marketing outreach.
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables agents to analyze prose for formulaic AI writing patterns and return a 0–100 score, band label, violations with context, and concrete advice through its MCP tools.
      -
    • F
      license
      Not graded
      quality
      A
      maintenance
      Enables agents to analyze prose for formulaic AI writing patterns and receive a 0–100 score, band label, contextual violations, and concrete advice through tools for inline text or files.
      -