> Explore and analyze LinkedIn companies — from company profiles and employee directories to job market intelligence and content activity.
This skill provides comprehensive LinkedIn company intelligence using the KeyAPI MCP service. It enables retrieval of company profiles, employee lists, published posts, job listings with advanced filtering, job counts, and individual job details — all through a unified, cache-first workflow.
Use this skill when you need to:
author: KeyAPI
license: MIT
repository: https://github.com/EchoSell/keyapi-skills
| Requirement | Details |
|-------------|---------|
| KEYAPI_TOKEN | A valid API token from keyapi.ai. Register at the site to obtain your free token. Set it as an environment variable: export KEYAPI_TOKEN=your_token_here |
| Node.js | v18 or higher |
| Dependencies | Run npm install in the skill directory to install @modelcontextprotocol/sdk |
author: KeyAPI
license: MIT
repository: https://github.com/EchoSell/keyapi-skills
All tool calls in this skill target the KeyAPI LinkedIn MCP server:
Server URL : https://mcp.keyapi.ai/linkedin/mcp
Auth Header: Authorization: Bearer $KEYAPI_TOKEN
Setup (one-time):
# 1. Install dependencies
npm install
# 2. Set your API token (get one free at https://keyapi.ai/)
export KEYAPI_TOKEN=your_token_here
# 3. List all available tools to verify the connection
node scripts/run.js --platform linkedin --list-tools
author: KeyAPI
license: MIT
repository: https://github.com/EchoSell/keyapi-skills
| User Need | Node(s) | Best For |
|-----------|---------|----------|
| Company profile, size, industry, description | get_company_profile | Company overview, competitive profiling |
| Employee directory and headcount | get_company_people | Org mapping, talent research, key contact discovery |
| Company-published posts and content | get_company_posts | Content strategy analysis, brand voice audit |
| Open job listings with filters | get_company_jobs | Hiring intelligence, role availability, talent demand signals |
| Total active job count | get_company_job_count | Growth proxy, hiring velocity tracking |
| Individual job description and requirements | get_job_detail | Role qualification analysis, JD benchmarking |
author: KeyAPI
license: MIT
repository: https://github.com/EchoSell/keyapi-skills
Clarify the research objective and map it to one or more nodes. Typical entry points:
get_company_profile with company (name) or company_id.
get_company_jobs with filters, then get_job_detail for specific roles.
get_company_job_count to track hiring volume over time.
get_company_posts with sort_by: "recent" or "top".
get_company_people to browse the employee directory.
> Company Identifier: company vs. company_id
>
> get_company_profile accepts either:
> - company — the company's URL slug (e.g., rapidapi from https://www.linkedin.com/company/rapidapi). Resolves in a single request.
> - company_id — the numeric internal ID. Using company_id costs 1 additional internal request.
>
> All other company nodes (get_company_people, get_company_posts, get_company_jobs, get_company_job_count) require company_id. Call get_company_profile first with the company slug to obtain the company_id.
> get_job_detail Identifier
>
> get_job_detail requires a job_id — the numeric ID found in the job listing URL (e.g., https://www.linkedin.com/jobs/view/1234567890 → job_id: "1234567890"). Obtain it from get_company_jobs response data.
Before calling any node, inspect its input schema to confirm required parameters and available filter options:
node scripts/run.js --platform linkedin --schema <tool_name>
# Examples
node scripts/run.js --platform linkedin --schema get_company_profile
node scripts/run.js --platform linkedin --schema get_company_jobs
node scripts/run.js --platform linkedin --schema get_job_detail
Execute tool calls and persist responses to the local cache to avoid redundant API calls.
Calling a tool:
# Single call with pretty output
node scripts/run.js --platform linkedin --tool <tool_name> \
--params '<json_args>' --pretty
# Force fresh data, skip cache
node scripts/run.js --platform linkedin --tool <tool_name> \
--params '<json_args>' --no-cache --pretty
Example — get company profile by slug:
node scripts/run.js --platform linkedin --tool get_company_profile \
--params '{"company":"openai"}' --pretty
Example — get company jobs with filters:
node scripts/run.js --platform linkedin --tool get_company_jobs \
--params '{"company_id":"783611","experience_level":"mid_senior","remote":"remote","job_type":"full_time","page":1}' --pretty
Example — get job detail with skills:
node scripts/run.js --platform linkedin --tool get_job_detail \
--params '{"job_id":"1234567890","include_skills":true}' --pretty
Example — get company posts sorted by recent:
node scripts/run.js --platform linkedin --tool get_company_posts \
--params '{"company_id":"10649600","sort_by":"recent","page":1}' --pretty
Pagination:
| Endpoint | Pagination parameter | Notes |
|---|---|---|
| get_company_people, get_company_posts, get_company_jobs | page (int, 1-indexed) | Increment page to fetch subsequent results |
| get_company_profile, get_company_job_count, get_job_detail | — | Single-call response |
get_company_jobs filter reference:
| Parameter | Options | Description |
|---|---|---|
| sort_by | recent, relevant | Sort order for job listings |
| date_posted | anytime, past_month, past_week, past_24_hours | Recency filter |
| experience_level | internship, entry_level, associate, mid_senior, director, executive | Seniority filter |
| remote | onsite, remote, hybrid | Work location type |
| job_type | full_time, part_time, contract, temporary, volunteer, internship, other | Employment type |
| easy_apply | boolean string | Filter for LinkedIn Easy Apply jobs |
| under_10_applicants | boolean string | Filter for low-competition roles |
| fair_chance_employer | boolean string | Filter for fair chance employers |
Cache directory structure:
.keyapi-cache/
└── YYYY-MM-DD/
├── get_company_profile/
│ └── {params_hash}.json
├── get_company_people/
│ └── {params_hash}.json
├── get_company_posts/
│ └── {params_hash}.json
├── get_company_jobs/
│ └── {params_hash}.json
├── get_company_job_count/
│ └── {params_hash}.json
└── get_job_detail/
└── {params_hash}.json
Cache-first policy:
Before every API call, check whether a cached result already exists for the given parameters. If a valid cache file exists, load from disk and skip the API call.
After collecting all API responses, produce a structured company intelligence report:
author: KeyAPI
license: MIT
repository: https://github.com/EchoSell/keyapi-skills
| Rule | Detail |
|------|--------|
| Company ID resolution | get_company_people, get_company_posts, get_company_jobs, get_company_job_count all require company_id. Call get_company_profile first with the company slug to obtain it. |
| get_company_profile identifier | Pass company (URL slug) for a single-request lookup. company_id is also accepted but costs 1 additional internal request. |
| get_job_detail ID source | Extract job_id from the job listing URL or from get_company_jobs response data. |
| get_company_posts sort | Use sort_by: "top" for highest-engagement posts; sort_by: "recent" for latest activity. |
| Pagination | All list endpoints use page (1-indexed). No pagination token required. |
| Success check | code = 0 → success. Any other value → failure. Always check the response code before processing data. |
| Retry on 500 | If code = 500, retry the identical request up to 3 times with a 2–3 second pause between attempts before reporting the error. |
| Cache first | Always check the local .keyapi-cache/ directory before issuing a live API call. |
author: KeyAPI
license: MIT
repository: https://github.com/EchoSell/keyapi-skills
| Code | Meaning | Action |
|------|---------|--------|
| 0 | Success | Continue workflow normally |
| 400 | Bad request — invalid or missing parameters | Validate input against the tool schema; ensure company_id is provided where required |
| 401 | Unauthorized — token missing or expired | Confirm KEYAPI_TOKEN is set correctly; visit keyapi.ai to renew |
| 403 | Forbidden — plan quota exceeded or feature restricted | Review plan limits at keyapi.ai |
| 404 | Resource not found — company or job may not exist | Verify the company slug or company_id; confirm the job listing is still active |
| 429 | Rate limit exceeded | Wait 60 seconds, then retry |
| 500 | Internal server error | Retry up to 3 times with a 2–3 second pause; if it persists, log the full request and response and skip this node |
| Other non-0 | Unexpected error | Log the full response body and surface the error message to the user |
共 1 个版本