API & AI IntegrationMCP Integration
🤖

MCP Integration

Let AI assistants use Clario Scope via Model Context Protocol

What is MCP?

The Model Context Protocol (MCP) is an open standard by Anthropic that lets AI assistants (Claude, Cursor, Windsurf, etc.) connect to external services and call real tools. Datronis exposes an MCP server so any MCP-compatible AI can search jobs, browse news, explore companies, and query platform stats — all without writing a single line of integration code.

💡

Quickest way to test

Paste the server URL into Claude Desktop (or any MCP client) and immediately ask: "Find remote senior React jobs" or "Show me the latest tech news."

Streamable HTTPMCP 2025-03-26 SpecNo auth required6 tools

Server URL

The MCP server is a single HTTP endpoint. All three HTTP methods are used by the protocol:

FieldTypeRequiredDescription
POST /api/mcpHTTPYesInitialize a new session or send messages to an existing one
GET /api/mcpHTTPNoOpen a Server-Sent Events stream for server-initiated messages (requires Mcp-Session-Id header)
DELETE /api/mcpHTTPNoClose and clean up a session (requires Mcp-Session-Id header)
Server URL
https://api.clarioscope.com/api/mcp

Claude Desktop Setup

Add the following to your Claude Desktop configuration file. On macOS this is at ~/Library/Application Support/Claude/claude_desktop_config.json.

claude_desktop_config.json
{
  "mcpServers": {
    "datronis": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://api.clarioscope.com/api/mcp"
      ]
    }
  }
}
ℹ️

mcp-remote

The `mcp-remote` package bridges Claude Desktop (which uses stdio) to any HTTP MCP server. Install it once with: `npm install -g mcp-remote`

Cursor / Windsurf / Cline Setup

These editors support HTTP MCP servers natively. Add the server URL in your editor's MCP settings panel:

.cursor/mcp.json (or equivalent)
{
  "mcpServers": {
    "datronis": {
      "url": "https://api.clarioscope.com/api/mcp",
      "type": "http"
    }
  }
}

Available Tools

All tools are public (no API key required). The AI can call them automatically based on your request.

FieldTypeRequiredDescription
search_jobstool
"q""country""city""remote_type""job_type""job_level""skills""salary_min""page""limit"
NoSearch job listings by keyword, location, remote policy, job type, experience level, and skills. Returns paginated results.
get_jobtool
"slug (required)"
NoGet the full details of a job by its slug or ID — including description, requirements, salary, and application URL.
get_newstool
"title""category_id""locale""limit""offset"
NoFetch the latest news articles. Filter by title keyword, category ID, or locale (language). Returns title, summary, date, and URL.
get_categoriestool
"locale"
NoList all content categories on the platform. Used to discover category IDs for filtering news.
search_companiestool
"query""country""industry""is_hiring""limit""page"
NoSearch companies by name, industry, or country. Optionally filter to actively-hiring companies.
get_platform_statstool
NoGet platform-wide statistics: total jobs, companies, news articles, and users.

Resources

The MCP server also exposes a readable resource — the platform overview documentation — which AI assistants can read to understand the platform before calling tools:

Resource URI
platform://docs/overview

How Sessions Work

The server uses the Streamable HTTP transport (MCP spec 2025-03-26):

  • Step 1 — Client sends POST /api/mcp with an initialize message (no session ID header).
  • Step 2 — Server creates a session and returns the Mcp-Session-Id header.
  • Step 3 — All subsequent tool calls include the Mcp-Session-Id header.
  • Step 4 — Client can open a GET /api/mcp SSE stream for server-initiated notifications.
  • Step 5 — Client sends DELETE /api/mcp to close the session when done.
  • Auto-expiry — Sessions auto-expire after 30 minutes of inactivity.
Manual test with curl
# Step 1: Initialize a session
curl -X POST https://api.clarioscope.com/api/mcp \
  -H "Content-Type: application/json" \
  -D - \
  -d '{"jsonrpc":"2.0","method":"initialize","id":1,"params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"curl","version":"1.0"}}}'

# Note the Mcp-Session-Id in the response headers, then:

# Step 2: List available tools
curl -X POST https://api.clarioscope.com/api/mcp \
  -H "Content-Type: application/json" \
  -H "Mcp-Session-Id: <your-session-id>" \
  -d '{"jsonrpc":"2.0","method":"tools/list","id":2}'

# Step 3: Call search_jobs
curl -X POST https://api.clarioscope.com/api/mcp \
  -H "Content-Type: application/json" \
  -H "Mcp-Session-Id: <your-session-id>" \
  -d '{"jsonrpc":"2.0","method":"tools/call","id":3,"params":{"name":"search_jobs","arguments":{"q":"React","remote_type":"REMOTE","limit":5}}}'

Locale Reference

The locale parameter in get_news and get_categories accepts a number from 1–18:

FieldTypeRequiredDescription
1EnglishNoDefault
2ArabicNoRTL
3Persian / FarsiNoRTL
4FrenchNo
5GermanNo
6SpanishNo
7ItalianNo
8PortugueseNo
9RussianNo
10TurkishNo
11ChineseNo
12JapaneseNo
13KoreanNo
14HindiNo
15UrduNoRTL
16BengaliNo
17SwahiliNo
18DutchNo

Example AI Prompts

Once connected, try these natural language prompts in any MCP-aware AI:

  • "Find remote senior React developer jobs in Europe"
  • "What are the latest tech news articles in English?"
  • "Search for fintech companies actively hiring in London"
  • "How many jobs and companies are on the platform?"
  • "Get the job details for slug 'senior-frontend-engineer-acme-corp'"
  • "List all available news categories"

Schema v1 · Updated June 2026