get_linkedin_profile
Extract LinkedIn profile data including headline, about section, and experience to automatically populate CVs and resumes with professional information.
Instructions
Get LinkedIn profile summary (headline, about, experience)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The main handler function for the 'get_linkedin_profile' tool. It checks for LINKEDIN_PROFILE_URL environment variable and returns a text content explaining limitations and alternatives due to LinkedIn's restrictions on automated access.async def get_linkedin_profile() -> list[TextContent]: """Get LinkedIn profile (limited due to LinkedIn restrictions).""" if not LINKEDIN_PROFILE_URL: return [TextContent( type="text", text="LinkedIn profile URL not configured. Set LINKEDIN_PROFILE_URL" )] output = f"""LinkedIn Profile Summary: Profile URL: {LINKEDIN_PROFILE_URL} Note: LinkedIn restricts automated access to profiles. For best results: 1. Ensure your profile is set to public 2. Manually copy key achievements to wins.md 3. Or use LinkedIn's official API with proper authentication Alternative: Create a linkedin.md file with your profile summary, recent posts, and achievements.""" return [TextContent(type="text", text=output)]
- src/cv_resume_builder_mcp/server.py:252-259 (registration)Registration of the 'get_linkedin_profile' tool in the list_tools() function, including its name, description, and empty input schema.Tool( name="get_linkedin_profile", description="Get LinkedIn profile summary (headline, about, experience)", inputSchema={ "type": "object", "properties": {} } ),
- The input schema for the tool, which is an empty object (no parameters required).inputSchema={ "type": "object", "properties": {} }
- src/cv_resume_builder_mcp/server.py:353-354 (registration)Dispatch/registration in the call_tool handler that routes calls to the get_linkedin_profile function.elif name == "get_linkedin_profile": return await get_linkedin_profile()