MCP server for COS communication analysis — score content across 7 psychology frameworks
Project description
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.
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cos_mcp-0.1.0.tar.gz.
File metadata
- Download URL: cos_mcp-0.1.0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e842094b97ae3fc977bfac0cb74f233aaaf238eec7fa12277f0186734f9b5b28
|
|
| MD5 |
2a93e6a31faebf150ab080420b489819
|
|
| BLAKE2b-256 |
5ae36e9a027006845d5a99709a9daa1a478deddcb1073b1d3c77d25da07e0935
|
File details
Details for the file cos_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cos_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65fd5cf41e3587a05f2f91219198ebfae7c4accbde53d78422f9d7e85b160a47
|
|
| MD5 |
50db3c1e4b6e1f35842a2173e189c9b5
|
|
| BLAKE2b-256 |
59738ec16e1ee4a10a777e5a804b7046f17fc15a4b64a60b8252b314ff41831f
|