
Twig
io.github.Kind-lingPublished by GitHub account Kind-lingv0.4.2Updated Nov 10, 2026
MCP server quality scoring and optimization for the agent economy.
Overview
Twig scores and rewrites MCP tool and agent descriptions so AI agents are more likely to select a service, with free audits and paid monitoring.
- What you can do
- Score descriptions of an MCP server, A2A agent card, OpenAPI spec or local JSON schema on intent match, specificity and differentiation.
- Generate three optimized description variants per tool (functional, structured, contextual).
- Set up weekly re-scoring and alerts when positioning drifts.
- Compare a service against similar ones in a category and see top agent queries and intent trends.
- Measure x402 revenue against a baseline and produce a revenue report with fee calculation.
- When to use it
- Use it when you publish an MCP server, agent card or API and want its descriptions to be chosen by agents rather than skipped. Useful before launch for a free audit, and afterwards if you want ongoing competitive and intent tracking.
- Requirements
- Local process installed from the npm package @kind-ling/twig (Node.js). Targets are given as a URL or a local JSON schema file; a hosted HTTP API is also described. Paid tiers require an x402 payment setup on Base with a wallet address; no API key is needed for public endpoints, but rate limits apply.
Installation
In SourceWeft
- Open Twig in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Twig
Agents choose you or they don't. Twig makes them choose you.
Part of Kindling — agent SEO for the agent economy.
Free audit. Paid monitoring. Premium intelligence.
The Problem
Every MCP tool has a description. That description is what an LLM reads when deciding whether to call your service. It's the only signal between "selected" and "skipped".
Most descriptions are garbage.
These tools are useful. Their descriptions are not. And getting indexed in x402-discovery or MCPay doesn't help if agents skip you because they can't tell what you do.
Getting indexed is table stakes. Twig helps you get chosen.
Quick Start
Live API
Twig is available as a hosted API at https://twig.kind-ling.com
Response format:
No API key required for public endpoints. Rate limits apply.
Scoring Model
Three dimensions, 0–100 each:
Grades: A (85+) · B (70+) · C (55+) · D (40+) · F (<40)
Score below 40 = agents are skipping you.
What Twig Monitors
Your descriptions — re-scored weekly against a live intent corpus. Score changes alert you when your positioning drifts.
Your competitive position — how you rank vs. similar services in your category. Know when a competitor improves and overtakes you.
Intent trends — what agents are searching for this week vs. last. The queries change. Your descriptions need to keep up.
Volume correlation — description changes mapped to x402 volume changes. Close the loop between optimization and revenue.
Optimization Variants
Twig generates 3 variants per tool:
Functional — Action verb + what + return type:
"Answers questions with real-time web sources. Returns a cited response with source URLs, confidence score, and supporting quotes. Best for research and fact-checking."
Structured — Input → output with constraints:
"Web Q&A. Input: question string. Returns: answer (string), sources (URL array), confidence (0-1). Supports: factual queries, current events, research synthesis."
Contextual — Use case → action → output (highest LLM selectability):
"Use when you need a factual answer with sourced citations. Queries the web in real-time and synthesizes a response with URLs and supporting quotes. Best for research, fact-checking, and current events."
Before / After
exa/answer
Before: AI-powered answer ← F (28/100)
After (Contextual): Use when you need a factual answer with sourced citations. Queries the web in real-time and synthesizes a response with source URLs and supporting quotes. Best for research, fact-checking, and current events. ← B (72/100)
wordspace/invoke
Before: Run wordspace AI agent loop ← F (31/100)
After (Structured): Executes a Wordspace multi-step agent workflow. Input: task description and optional context. Returns: completed output, intermediate steps, tool calls made. Best for complex tasks requiring multiple tool invocations. $2/call. ← B (74/100)
Revenue Model
Standard (Monitoring)
Weekly reports are gated via x402 on Base. Set up once, runs automatically.
Enterprise (Performance-based)
For services with existing x402 volume:
twig measure 0xWallet --baseline— record 7-day baseline- Deploy Twig-optimized descriptions
twig measure 0xWallet --compare— measure delta (14–30 days later)- Pay 15% of the revenue increase in USDC on Base
- Revenue flat or down? Pay nothing.
Everything measured via on-chain USDC transfer logs. No self-reporting.
Supported Sources
- A2A Agent Cards (
/.well-known/agent.json) - MCP servers (JSON-RPC
tools/list) - OpenAPI specs
- Local JSON schema files
- x402-discovery catalog (for competitive analysis)
CLI Reference
Twig v0.1.0 · Kind-ling · Permanent Upper Class · MIT
Source: README.md at commit 7a8114b
Tools
0Version history
1- v0.4.2LatestSep 16, 2026
Score
40% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.