kongen-mcp
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@kongen-mcpScore this prompt: What is gravity?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
kongen-mcp
MCP (Model Context Protocol) server for the Kongen Labs 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 |
| Detect reasoning regime and optimal token budget for a prompt | 1 KT |
| Score a structural signature against cross-domain reference patterns | 50 KT |
| Check your token balance and usage | 0 KT |
| Recommend Haiku/Sonnet/Opus based on prompt complexity | 1 KT |
Related MCP server: Letta MCP Server
Installation
pip install kongenlabs-mcpOr install from source:
git clone https://github.com/kongen-labs/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-mcpThen 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:
kongenCommand:
kongen-mcpEnvironment 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 the server at a different API endpoint (for example a local proxy), set KONGEN_API_BASE_URL:
{
"mcpServers": {
"kongen": {
"command": "kongen-mcp",
"env": {
"KONGEN_API_KEY": "kl_test_...",
"KONGEN_API_BASE_URL": "http://localhost:8000"
}
}
}
}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 against cross-domain patterns."
Usage check:
"How many Kongen tokens do I have left?"
Environment variables
Variable | Required | Default | Description |
| Yes | — | Your Kongen API key ( |
| No |
| API base URL override |
License
MIT
Available Tools
4 toolscheck_usageA
Check your Kongen Token balance, usage in the current billing cycle, and active plan. No token cost.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It discloses 'No token cost' which is a positive behavioral trait, but does not mention authentication, rate limits, or data freshness. For a read-only check, this is adequate but not exceptional.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise, consisting of two short sentences. Every word adds value, and the structure is front-loaded with the main purpose followed by a key benefit. No wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (no parameters, no output schema), the description provides sufficient context for an AI agent to understand what the tool does. It could be improved by specifying the return format, but it's largely complete for its purpose.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
There are zero parameters, so the baseline is 4. The description adds no parameter details, but the schema coverage is 100% by default. The description's mention of checking balance and usage compensates for the lack of parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool checks token balance, usage in the current billing cycle, and active plan. It uses a specific verb 'Check' and resource 'Kongen Token balance/usage/plan', and is easily distinguishable from the sibling tools which involve routing, scoring, and transferring.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage for checking token status but does not explicitly state when to use this tool versus alternatives or provide any exclusions. Given the simplicity and distinct purpose, the lack of explicit guidance is acceptable but not above average.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
route_modelA
Recommend which Claude model (Haiku/Sonnet/Opus) to use for a given prompt based on its reasoning complexity. Internally scores the prompt with Logic, then maps the detected regime to a model recommendation with estimated cost savings. Costs 1 Kongen Token.
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The prompt text to evaluate for model routing. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses that the tool internally scores using 'Logic', maps to a model, and provides cost savings, and costs 1 token. This is fairly transparent, though it could mention the exact output format (e.g., a string recommendation or structured data).
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is three sentences long, contains no redundant information, and front-loads the core purpose. Every sentence adds distinct value: purpose, internal mechanism, and cost. It is optimally concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (1 param, no output schema, no annotations), the description covers purpose, internal logic, and cost. However, it could be enhanced by specifying what the output looks like (e.g., a model name string) and how cost savings are presented. Overall, it is sufficiently complete for a basic recommendation tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema coverage is 100% with one parameter 'text' described as 'The prompt text to evaluate'. The description adds value by explaining the purpose (routing based on reasoning complexity) beyond the schema's minimal description. It provides semantic context that aids in parameter usage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool recommends which Claude model to use based on reasoning complexity, and distinguishes itself from siblings like score_prompt (which likely only scores) and check_usage (which likely checks usage limits). The verb 'recommend' and resource 'model' are specific, and the description explains the internal process.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage (when you need a model recommendation) but does not explicitly state when to use this tool versus alternatives like score_prompt or check_usage. No exclusions or when-not-to-use guidance is provided, which is a gap given the sibling tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
score_promptB
Score a text prompt for reasoning complexity using Kongen's Logic engine. Returns the detected reasoning regime (trivial/fast/moderate/deep/exhaustive), a confidence adjustment factor, and recommended token budget. Costs 1 Kongen Token.
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The prompt text to analyze for reasoning complexity. | |
| model_hint | No | Optional model identifier for calibration (e.g., 'haiku', 'sonnet', 'opus'). |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses that the tool costs 1 Kongen Token and returns specific outputs. However, it does not mention whether the operation is read-only, has side effects, or requires permissions. It adds some value beyond the schema but is not comprehensive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise: two sentences that front-load the core purpose and outputs. Every sentence adds value with no fluff.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool is simple with 2 parameters, one required. The description explains the purpose, outputs, and cost. There is no output schema, but the description lists return values. Missing error cases or prerequisites, but overall adequate for the complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema covers 100% of parameters with descriptions. The tool description does not add any additional meaning beyond what is already in the schema for the parameters. Baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool scores a text prompt for reasoning complexity using a specific engine. It uses a specific verb ('score') and resource ('prompt'), and lists the returned values. However, it does not explicitly differentiate from sibling tools like check_usage or route_model, though the purpose is distinct enough.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. There is no mention of context, exclusions, or when not to use it. The agent must infer usage from the purpose alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
transfer_scoreA
Score a 7-dimensional signal vector against reference patterns. Returns pattern classification, confidence, confidence adjustment, and supporting evidence. Costs 50 Kongen Tokens.
| Name | Required | Description | Default |
|---|---|---|---|
| complexity | Yes | Primary signal dimension. Range [0, 1]. | |
| constraint | Yes | Counterbalancing signal dimension. Range [0, 1]. | |
| boundary | Yes | Boundary sharpness. Range [0, 1]. | |
| coherence | Yes | Multi-scale consistency. Range [0, 1]. | |
| magnitude | Yes | Overall signal magnitude. | |
| balance | Yes | Primary signal ratio. | |
| gradient | Yes | Spatial gradient strength. Range [0, 1]. | |
| source_domain | No | Originating domain hint. Excludes same-domain patterns from evidence. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Since no annotations are provided, the description carries full burden. It discloses return values (pattern classification, confidence, adjustment, evidence) and token cost (50 Kongen Tokens). It also mentions that the optional parameter 'source_domain' excludes same-domain patterns. However, it does not explicitly state whether the operation has side effects or requires authentication, but as a scoring function it is likely safe.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is extremely concise: two sentences covering purpose, return values, and token cost. Every word is meaningful and front-loaded. No fluff or repetition. It is well-structured for quick understanding.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has 8 parameters and no output schema. The description provides a high-level overview of output fields but lacks details on their structure or types. It covers the essential purpose and cost, but could be more complete given the complexity of the tool. It is adequate but not thorough.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% with all parameters described in the JSON schema. The tool description adds no parameter-specific information beyond the schema. Since the schema fully documents parameters, a baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: scoring a 7-dimensional signal vector against reference patterns. It uses a specific verb ('score') and specifies the resource ('7-dimensional signal vector'). The output is also listed: pattern classification, confidence, etc. This distinguishes it from siblings like 'score_prompt' which likely scores prompts, not signal vectors.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No usage guidelines or comparisons to sibling tools are provided. The description does not indicate when to use this tool over alternatives like 'score_prompt', nor does it specify prerequisites or context. The implied usage is for signal vector scoring, but no explicit guidance is given.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
v1.0.4- First observed
check_usage - First observed
route_model - First observed
score_prompt - First observed
transfer_score
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: checking usage, recommending models, scoring prompts, and scoring transfer vectors. No overlapping functionality.
All tool names follow a consistent verb_noun pattern in snake_case (check_usage, route_model, score_prompt, transfer_score), making them predictable.
With 4 tools, the set is well-scoped for the server's purpose, covering core operations without being too thin or bloated.
The tools cover primary use cases (check usage, route/score prompts, transfer scoring). Minor gaps like account management or token budget adjustments are missing but not critical for the core workflow.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Connect MCP clients to 2,000+ AI models without managing provider API keys.
21-framework people intelligence and compatibility scoring for any MCP client.
Connect AI to millions of laws and court cases with the Lawstronaut MCP.
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
Related MCP Servers
AlicenseNot gradedqualityAmaintenanceEnables integration between MCP-compatible clients and APIs registered in the SmartAPI registry, allowing seamless discovery and interaction with bioinformatics and life sciences APIs through standardized MCP protocols.1Apache 2.0- AlicenseBqualityDmaintenanceConnects any MCP-compatible AI client to Letta.ai's stateful agents for agent conversations, memory management, and tool orchestration.1812MIT
- FlicenseNot gradedqualityDmaintenanceConnects MindReader knowledge graph to MCP clients, enabling AI assistants with persistent memory and entity/relationship management.-
- AlicenseNot gradedqualityAmaintenanceConnects agentic AI to Software AG ARIS platforms, enabling model and object operations via MCP tools.MIT