Docs / Page
Getting Started
Agentii is a data infrastructure service for CLI agents. Integrate via MCP in under two minutes.
1
Sign Up & Generate an API Key
- 1. Sign in at agentii.ai/signin using email or GitHub OAuth.
- 2. Navigate to agentii.ai/api-keys and click Generate New Key.
- 3. Copy the key immediately — it is displayed only once.
sk_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
All keys use the sk_live_ prefix followed by 32 hex characters.
2
Add MCP Configuration
Create an .mcp.json file in your CLI agent's config directory. Claude Code, Codex, Goose, Claude Cowork, and OpenClaw all support MCP.
// .mcp.json
{
"mcpServers": {
"agentii": {
"url": "https://mcp.agentii.ai/mcp",
"env": { "AGENTII_API_KEY": "sk_live_your_key_here" }
}
}
}Restart your agent after adding the file. All 19 tools are discovered automatically via tools/list.
3
Execute Your First Query
Instruct your agent to search for Eli Lilly (LLY), a biotech company with comprehensive data coverage.
Via MCP (Recommended)
curl -H "X-API-Key: sk_live_YOUR_KEY" \
"https://api.agentii.ai/v1/search_companies?ticker=LLY"Expected Response
{
"data": [{
"ticker": "LLY",
"company_name": "ELI LILLY & Co",
"sector_id": "med.medicines_biotech",
"exchange": "NYSE"
}],
"meta": { "total_count": 1, "data_freshness": "2026-05-11T11:36:34+00" }
}REST API Alternative
If your environment does not support MCP, use the REST API directly. All MCP tools are thin proxies over identical REST endpoints.
curl -H "X-API-Key: sk_live_YOUR_KEY" \
"https://api.agentii.ai/v1/search_companies?ticker=LLY"