Python quick-start and MCP install guides for the LinkedIn Posts API on Apify: collect posts and engagement as structured JSON.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add --transport http linkedin-posts 'https://mcp.apify.com/?tools=johnvc/linkedin-posts-api'~/.codex/config.toml
[mcp_servers.linkedin-posts]
url = "https://mcp.apify.com/?tools=johnvc/linkedin-posts-api"
# codex mcp add linkedin-posts --url 'https://mcp.apify.com/?tools=johnvc/linkedin-posts-api'~/.cursor/mcp.json
{
"mcpServers": {
"linkedin-posts": {
"url": "https://mcp.apify.com/?tools=johnvc/linkedin-posts-api"
}
}
}.vscode/mcp.json
{
"servers": {
"linkedin-posts": {
"type": "http",
"url": "https://mcp.apify.com/?tools=johnvc/linkedin-posts-api"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"linkedin-posts": {
"httpUrl": "https://mcp.apify.com/?tools=johnvc/linkedin-posts-api"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"linkedin-posts": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.apify.com/?tools=johnvc/linkedin-posts-api"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"linkedin-posts": {
"url": "https://mcp.apify.com/?tools=johnvc/linkedin-posts-api"
}
}
}