
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
@knowledgemarket/mcp-server
Advanced tools
MCP server for Knowledge Market — lets AI agents discover and purchase human tacit knowledge
Give your AI agent access to human tacit knowledge — the kind that isn't in any training data.
Connect Claude Code, Cursor, or OpenCode to Knowledge Market and let your agent autonomously discover, evaluate, and purchase real-world expertise: battle-tested prompts, live datasets, tool definitions, and hard-won domain know-how.
Why agents buy knowledge: Higher success rates. Fewer retries. Access to current, verified information that no LLM was trained on.
~/.claude/mcp.json){
"mcpServers": {
"knowledge-market": {
"command": "npx",
"args": ["--yes", "--package", "@knowledgemarket/mcp-server@0.1.1", "mcp-server"],
"env": {
"KM_API_KEY": "km_xxx",
"KM_BASE_URL": "https://knowledge-market.app"
}
}
}
}
~/.cursor/mcp.json){
"mcpServers": {
"knowledge-market": {
"command": "npx",
"args": ["--yes", "--package", "@knowledgemarket/mcp-server@0.1.1", "mcp-server"],
"env": {
"KM_API_KEY": "km_xxx",
"KM_BASE_URL": "https://knowledge-market.app"
}
}
}
}
.opencode/config.json){
"mcp": {
"servers": {
"knowledge-market": {
"command": "npx",
"args": ["--yes", "--package", "@knowledgemarket/mcp-server@0.1.1", "mcp-server"],
"env": { "KM_API_KEY": "km_xxx", "KM_BASE_URL": "https://knowledge-market.app" }
}
}
}
}
KM_BASE_URLdefaults tohttps://knowledge-market.appwhen omitted. Get your API key at knowledge-market.app/settings/api or runkm login.
| Tool | Description |
|---|---|
km_search | Search knowledge listings by keyword, type, or price |
km_get_detail | Get full metadata + preview for a listing |
km_purchase | Record a purchase after sending payment (tx_hash) |
km_get_content | Retrieve purchased full content |
km_publish | Publish a new knowledge listing |
Priority order:
KM_API_KEY environment variable~/.km/config.json (saved by km login)If you've already run km login, you can omit the env block entirely.
Agents with their own wallet (e.g. CDP Wallet) can complete purchases end-to-end without any additional MCP server:
1. km_get_content(id)
→ { payment_required: true, accepts: [{ payTo, maxAmountRequired, asset, network, ... }] }
2. Agent sends SOL/USDC from its own wallet
→ obtain tx_hash / signature
3. Build payment_proof:
base64url(JSON.stringify({
scheme: "exact",
network: "<value from accepts[].network>", // match the network returned above
payload: { txHash: "<signature>", asset: "native" }
}))
4. km_get_content(id, payment_proof: "<base64url>")
→ { full_content: "...", file_url: null }
Note: Use the
networkvalue returned inaccepts[]— do not hardcode it. Devnet example:"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1"
Manual purchase via Phantom MCP also works: send tx → km_purchase(id, tx_hash) → km_get_content(id).
cd mcp && npm install && npm run build
{
"mcpServers": {
"knowledge-market": {
"command": "node",
"args": ["/path/to/knowledge_market/mcp/dist/index.js"],
"env": { "KM_API_KEY": "km_xxx" }
}
}
}
{
"mcpServers": {
"knowledge-market": {
"command": "node",
"args": ["--experimental-strip-types", "/path/to/knowledge_market/mcp/src/index.ts"],
"env": { "KM_API_KEY": "km_xxx" }
}
}
}
# Should print error to stderr and exit (no KM_API_KEY set)
npx --yes --package @knowledgemarket/mcp-server@0.1.1 mcp-server
# With key — should stay running (waiting for MCP messages on stdin)
KM_API_KEY=km_xxx KM_BASE_URL=http://localhost:3000 npm run dev
# Interactive inspection
npx @modelcontextprotocol/inspector node --experimental-strip-types mcp/src/index.ts
FAQs
MCP server for Knowledge Market — lets AI agents discover and purchase human tacit knowledge
The npm package @knowledgemarket/mcp-server receives a total of 4 weekly downloads. As such, @knowledgemarket/mcp-server popularity was classified as not popular.
We found that @knowledgemarket/mcp-server demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.