MCP server for Kongen Labs SCI Pattern Intelligence API
Project description
kongen-mcp
MCP (Model Context Protocol) server for the Kongen Labs SCI Pattern Intelligence API.
Connects Claude Code, Cursor, Windsurf, and any MCP-compatible client to Kongen's cross-domain pattern intelligence — reasoning regime detection, structural transfer scoring, and intelligent model routing.
Tools
| Tool | Description | Cost |
|---|---|---|
score_prompt |
Detect reasoning regime and optimal token budget for a prompt | 1 KT |
transfer_score |
Score a structural signature against 2.8M+ cross-domain patterns | 50 KT |
check_usage |
Check your token balance and usage | 0 KT |
route_model |
Recommend Haiku/Sonnet/Opus based on prompt complexity | 1 KT |
Installation
pip install kongenlabs-mcp
Or install from source:
git clone https://github.com/kongenlabs/kongen-mcp.git
cd kongen-mcp
pip install .
Configuration
Get your API key at kongenlabs.life.
Claude Code
Add with the CLI:
claude mcp add kongen -- kongen-mcp
Then set your API key when prompted, or add it manually to .claude/mcp.json:
{
"mcpServers": {
"kongen": {
"command": "kongen-mcp",
"env": {
"KONGEN_API_KEY": "kl_live_..."
}
}
}
}
Cursor
- Open Settings > MCP > Add Server
- Name:
kongen - Command:
kongen-mcp - Environment variables:
KONGEN_API_KEY: your API key
Windsurf
Add to your MCP configuration:
{
"mcpServers": {
"kongen": {
"command": "kongen-mcp",
"env": {
"KONGEN_API_KEY": "kl_live_..."
}
}
}
}
Custom base URL
To point at staging or a local instance, set KONGEN_API_BASE_URL:
{
"mcpServers": {
"kongen": {
"command": "kongen-mcp",
"env": {
"KONGEN_API_KEY": "kl_test_...",
"KONGEN_API_BASE_URL": "https://staging-api.kongenlabs.life"
}
}
}
}
Usage examples
Once configured, the tools are available to your AI assistant. Examples of what you can ask:
Prompt scoring:
"Score this prompt for complexity: Prove that the square root of 2 is irrational using proof by contradiction."
Model routing:
"Which Claude model should I use for this task: Summarize this 3-line email."
Transfer scoring:
"Score this structural signature: activator 0.7, inhibitor 0.3, boundary 0.8, scale_coherence 0.6, field_magnitude 1.5, a_i_ratio 2.33, gradient 0.5"
Usage check:
"How many Kongen tokens do I have left?"
Environment variables
| Variable | Required | Default | Description |
|---|---|---|---|
KONGEN_API_KEY |
Yes | — | Your Kongen API key (kl_live_... or kl_test_...) |
KONGEN_API_BASE_URL |
No | https://api.kongenlabs.life |
API base URL override |
License
MIT
Project details
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 kongenlabs_mcp-1.0.0.tar.gz.
File metadata
- Download URL: kongenlabs_mcp-1.0.0.tar.gz
- Upload date:
- Size: 6.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d4f5d12633e7c7654818b9a9710a45071573f453c926dd9901fd47c15f0b2d4
|
|
| MD5 |
7d45a62d1ad1f87e3179c66f037e3dd3
|
|
| BLAKE2b-256 |
4f89736991d6ce131179f45fb8ecce0ac782eacc4428ab70f9f3e94a3b7b5c3d
|
File details
Details for the file kongenlabs_mcp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: kongenlabs_mcp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7a2c4b944870499f3b2b9c9eebaab94423a26c91e32a9ba06aa72b587170076c
|
|
| MD5 |
d6c5a1c72bbb41bd81847b8dab9bc5f3
|
|
| BLAKE2b-256 |
bbcda029b10f35e16e3801a6576c54e54dc0d8a9366ed3330ec7f86b9d9b2b08
|