A Model Context Protocol (MCP) Server that provides AI assistants with access to LinkedIn profile data from the Headstarter network. This server enables intelligent querying, searching, and analysis of LinkedIn profiles for recruiting, networking, and community building.
- Go to Cursor Settings
- Click on "Tools & Integrations"
- Click on "Add MCP Server"
- Paste the following JSON into the "MCP Servers" field:
{
"mcpServers": {
"Headstarter-MCP": {
"url": "https://headstarter-mcp-server.vercel.app/sse"
}
}
}The Model Context Protocol (MCP) is a standardized way for AI applications to access external data and functionality. This server implements MCP to expose LinkedIn network data through tools and resources that AI assistants can use.
This MCP server provides access to a database of LinkedIn profiles from the Headstarter community, including:
- Personal Information: Names, usernames, profile pictures, headlines
- Work Status: Open to work status, hiring status, creator status
- Location Data: Cities and countries
- Professional Experience: Full-time and internship counts
- Education & Company Info: Most recent schools and companies
- Community Affiliation: Headstarter network connections
linkedin-sql-query- Execute read-only SELECT queries against the LinkedIn network tableget-linkedin-profile- Get a specific profile by username or URNsearch-linkedin-profiles- Advanced search with multiple filter options
get-profiles-by-location- Find profiles by city or countryget-open-to-work-profiles- Find people currently seeking opportunitiesget-hiring-profiles- Find people who are actively hiringget-creator-profiles- Find content creators and thought leadersget-headstarter-affiliated-profiles- Find Headstarter community members
linkedin-network-schema- Database table schema and structurelinkedin-network-stats- Network statistics and overview
Use the get-headstarter-affiliated-profiles tool with city: "New York"
Use the get-hiring-profiles tool with company: "Google" or "Meta"
Use the linkedin-sql-query tool with:
query: "SELECT first_name, last_name, city, headline FROM hs_linkedin_network WHERE is_creator = true AND city ILIKE '%San Francisco%'"
This server is built with Next.js and uses the Vercel MCP Adapter.
- Database: PostgreSQL database with
hs_linkedin_networktable - Redis: Required for SSE transport (available as
process.env.REDIS_URL) - Fluid Compute: Enable for efficient long-running queries
DATABASE_URL=postgresql://...
REDIS_URL=redis://...- Set up your PostgreSQL database with LinkedIn profile data
- Enable Fluid compute in your Vercel project
- Set
maxDurationto 800 for Pro/Enterprise accounts inapp/[transport]/route.ts - Configure environment variables
- Deploy using the MCP Next.js template
Test your deployed server using the included client script:
node scripts/test-client.mjs https://your-deployment.vercel.appOr use the MCP Inspector for interactive testing:
npx @modelcontextprotocol/inspector- Read-only Access: Only SELECT queries are allowed for data security
- Automatic LIMIT Protection: Queries are automatically limited to prevent large result sets
- Input Validation: All parameters are validated using Zod schemas
- Comprehensive Logging: Full request/response logging for monitoring
- Networking: Connect with Headstarter alumni in specific locations or companies
- Market Research: Analyze where Headstarter alumni are located and what companies they work for
- Content Collaboration: Find creators and thought leaders for collaborations
Built with:
- Next.js 14 - Full-stack React framework
- TypeScript - Type-safe development
- Drizzle ORM - Database queries and schema management
- @vercel/mcp-adapter - MCP protocol implementation
- Zod - Runtime type validation
This MCP server enables AI assistants to intelligently search and analyze LinkedIn profile data, making it easier to find the right people for opportunities, collaborations, and community building.

