MCP Configuration

Connect AI Agents directly to the TeamedUp Intelligence API.

bp46/teamedup-intelligence-mcp on GitHub ↗ TeamedUp Intelligence MCP connector

The TeamedUp Intelligence API provides a native Model Context Protocol (MCP) server endpoint. This allows AI agents—such as Claude Code, OpenAI Codex, OpenCode, OpenClaw, Hermes Agent, Cursor, Antigravity, and custom agentic frameworks—to directly consume our market data as interactive tools, without requiring you to manually write API integrations.

Endpoint URL

POST https://intelligence.teamedupchina.com/api/v1/mcp

Protocol Handshake calls (initialize, ping, tools/list) are 100% Free (0 credits). Only tool execution consumes quota.

Connecting Your AI Stack

You can connect AI agent environments (Claude Desktop, Cursor, Zed, Windsurf, OpenCode, Antigravity) to TeamedUp Intelligence using either Direct Remote HTTP or a standard Stdio bridge.

Option 1: Direct Remote HTTP (Recommended)

If your MCP client supports remote HTTP endpoints (Claude Desktop 0.8+, modern Cursor, Windsurf), configure your claude_desktop_config.json or mcp.json directly with headers:

{ "mcpServers": { "teamedup-intelligence": { "url": "https://intelligence.teamedupchina.com/api/v1/mcp", "headers": { "Authorization": "Bearer 1|YOUR_ACCESS_TOKEN" } } } }

Option 2: Universal Stdio Bridge (mcp-remote)

For clients that expect a local stdio command process, use the official community mcp-remote package:

{ "mcpServers": { "teamedup-intelligence": { "command": "npx", "args": [ "-y", "mcp-remote", "https://intelligence.teamedupchina.com/api/v1/mcp", "--header", "Authorization: Bearer 1|YOUR_ACCESS_TOKEN" ] } } }

Replace 1|YOUR_ACCESS_TOKEN with your actual Bearer token generated in your Dashboard.

Using with Custom Agents (LangChain, LlamaIndex, Python SDK)

If you are building a custom agent, you can directly send JSON-RPC 2.0 requests to the endpoint.

1. Authentication & Protocol Handshake

Include your API token in the headers and initiate the protocol handshake:

Authorization: Bearer 1|YOUR_ACCESS_TOKEN Accept: application/json Content-Type: application/json
{ "jsonrpc": "2.0", "method": "initialize", "params": { "protocolVersion": "2024-11-05", "capabilities": {}, "clientInfo": { "name": "custom-agent", "version": "1.0.0" } }, "id": 1 }

2. Fetching Available Tools

Send a tools/list request to discover the tools:

{ "jsonrpc": "2.0", "method": "tools/list", "id": "1" }

3. Calling a Tool

Execute tools natively using tools/call. See the API Reference for details on what these tools do under the hood.

{ "jsonrpc": "2.0", "method": "tools/call", "id": "2", "params": { "name": "get_market_summary", "arguments": { "role": "Software Engineer", "city": "Beijing" } } }

Complete MCP Tools Reference

The TeamedUp MCP server registers 13 tools out of the box for agentic interaction:

Tool Name Required Parameters Description & Usage
get_market_summary role, city Query aggregated P25, P50, P75, P90 salary percentiles with data point count and confidence level. Optional: region, seniority, industry, macro_industry, company_size, education_level, month, per_page.
calculate_all_in_employer_cost city Calculate total all-in employer headcount cost in China including mandatory statutory social security (五险一金) with exact municipal floors & ceilings. Optional: monthly_salary_cny, role, seniority, headcount, bonus_months, housing_fund_rate.
calculate_compensation_arbitrage role, baseline_city, target_city Compute cross-city compensation arbitrage, annual CNY & USD payroll savings, statutory overhead, and headcount runway expansion. Optional: headcount, seniority, bonus_months.
get_company_info company_id OR name Retrieve firmographic profile, industry, size tier, financing status, active job count, and average salary.
get_salary_trend role, city Retrieve month-over-month chronological salary percentiles for salary inflation analysis.
get_skill_demand None (Optional: role, city, region, category, limit) Get skills ranked by posting demand frequency alongside associated median monthly salary.
get_dataset_trends role Retrieve weekly share-of-voice hiring signals indicating which employers are hiring most actively. Optional: city, company_id, week, limit.
search_companies None (Optional: name, industry, macro_industry, size_tier, headquarters_city, limit) Search for Chinese & APAC employers by English/Chinese name, industry, size tier, or city.
get_stats None (Optional: region) Get total counts of companies, datapoints, distinct roles, cities, skills, and calculated months.
list_roles None List all canonical standardized job role strings currently in the dataset.
list_cities None (Optional: region) List all available China & APAC cities in the dataset (filterable by mainland, greater, intl).
list_taxonomies None List all taxonomy lists: industries, macro_industries, seniority_levels, education_levels, company_size_tiers.
get_company_jobs company_id Retrieve cursor-paginated job listings and salary ranges for a company. Optional: per_page, cursor.

Best Practices for Agents