Back to Docs

Quickstart

Three ways to use AgentsKB. Pick one.

1

MCP (Claude Code, Cursor, Cline)

Add AgentsKB to your MCP config. Your AI automatically queries it.

Claude Code

claude mcp add agentskb https://mcp.agentskb.com/mcp-kb

Then restart: exit && claude

Cursor

// .cursor/mcp.json
{
  "mcpServers": {
    "agentskb": {
      "url": "https://mcp.agentskb.com/mcp-kb"
    }
  }
}

Create .cursor/mcp.json in your project root

Cline / Other MCP Clients

// cline_mcp_settings.json
{
  "mcpServers": {
    "agentskb": {
      "url": "https://mcp.agentskb.com/mcp-kb"
    }
  }
}

Add to your MCP settings file

After setup: Ask your AI any technical question. It will automatically use AgentsKB for researched answers. Try: "What's PostgreSQL's default max_connections?"

2

REST API

Direct API access. No signup required for the free tier.

cURL

curl https://agentskb-api.agentskb.com/api/free/ask \
  -H "Content-Type: application/json" \
  -d '{"question": "PostgreSQL max_connections default?"}'

JavaScript

const response = await fetch('https://agentskb-api.agentskb.com/api/free/ask', {
  method: 'POST',
  headers: { 'Content-Type': 'application/json' },
  body: JSON.stringify({ question: 'PostgreSQL max_connections default?' })
});

const { answer, confidence, sources } = await response.json();

Python

import requests

response = requests.post(
    'https://agentskb-api.agentskb.com/api/free/ask',
    json={'question': 'PostgreSQL max_connections default?'}
)

data = response.json()
print(data['answer'], data['sources'])

API Endpoints

POST /api/free/ask Ask a question
POST /api/free/search Search Q&As
GET /api/free/stats Get statistics
GET /health Health check
3

Browse the KB

Search and browse 39,827 answers directly.

Browse Knowledge Base

Pricing

Anonymous
300/month free
No signup
Free (signed in)
1,000/month
Google sign-in
Pro
10,000/month - $9/mo

Questions? Check the full docs or email us.