MCPcopy Index your code
hub / github.com/DimiMikadze/orca

github.com/DimiMikadze/orca @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
166 symbols 386 edges 60 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Orca Logo

AI agent for deep LinkedIn profile analysis.

License: MIT Build Status Contributions Welcome

Orca is an AI agent for deep LinkedIn profile analysis. You define the insights you care about, and Orca extracts them.

It scrapes posts, comments, reactions, and interaction networks, then reasons over the data autonomously to extract structured insights like pain points, current focus, values, expertise, network influence, communication style, and how interests change over time. It calls additional scraping tools on its own when it needs more data.

The core logic lives in orca-ai/ as a standalone library. You can plug it into any Node.js project and run it at scale.

Use cases

  • Sales: understand a prospect's real priorities before outreach
  • Recruiting: assess what a candidate actually cares about beyond their résumé
  • Investing: map a founder's thinking and evaluate positioning

Orca Demo

How it works

  1. Provide a LinkedIn profile URL and define the insights you want to extract.
  2. Orca scrapes the baseline data: profile, posts, comments, reactions, and top post engagement.
  3. The agent reasons over the data and extracts structured insights. If it needs more data for a specific insight, it calls scraping tools autonomously.
  4. Results stream back to the UI as the agent works.

Tech Stack

  • Next.js 16, TypeScript, Tailwind CSS
  • LangChain (supports OpenAI, Anthropic, and other LLM providers)

Requirements

Environment Variables

Create .env.local in the project root:

RAPIDAPI_KEY=your_key
OPENAI_API_KEY=your_key

Authentication is optional. To restrict access with a login page, add Supabase credentials:

NEXT_PUBLIC_SUPABASE_URL=your_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_anon_key

When set, all pages and the API are protected behind email/password login. Without them, the app runs open with no auth.

Installation

git clone https://github.com/dimimikadze/orca.git
cd orca
pnpm install
pnpm dev

Open http://localhost:3000.

Tests

All scrapers and the analysis agent are covered by tests. Each test can run against recorded fixtures (no live API needed) or against real LinkedIn data by setting USE_LIVE_DATA = true in the test file.

Dedicated test cases and all available test commands are in package.json.

Contributing

See CONTRIBUTING.md for guidelines.

License

Distributed under the MIT License. See LICENSE for details.

Extension points exported contracts — how you extend this code

UseAutosizeTextAreaProps (Interface)
(no doc)
components/ui/autosize-textarea.tsx
AnalyzeProfileOptions (Interface)
(no doc)
orca-ai/orchestrator.ts
AnalysisOptions (Interface)
(no doc)
orca-ai/analysis-agent.ts
LinkedInEducation (Interface)
(no doc)
orca-ai/types.ts
ScrapeActivityOptions (Interface)
(no doc)
orca-ai/services/linkedin-activity-scraper.ts
getAuthPayload (Interface)
(no doc)
app/supabase/auth.ts
ProfileAnalysisResultActivityProps (Interface)
(no doc)
app/profile-analysis/profile-analysis-result-activity.tsx
AnalyzeProfileResult (Interface)
(no doc)
orca-ai/orchestrator.ts

Core symbols most depended-on inside this repo

cn
called by 42
components/utils.ts
scrapeLinkedInActivity
called by 7
orca-ai/services/linkedin-activity-scraper.ts
useFormField
called by 4
components/ui/form.tsx
truncate
called by 4
orca-ai/utils/format-linkedin-data.ts
trackCredits
called by 4
orca-ai/utils/linkedin-api-credits.ts
scrapePostReactions
called by 3
orca-ai/services/linkedin-post-reactions-scraper.ts
scrapePostComments
called by 3
orca-ai/services/linkedin-post-comments-scraper.ts
createSupabaseServerClient
called by 3
app/supabase/server.ts

Shape

Function 123
Interface 43

Languages

TypeScript100%

Modules by API surface

orca-ai/types.ts22 symbols
components/ui/dropdown-menu.tsx15 symbols
components/ui/dialog.tsx10 symbols
app/profile-analysis/profile-analysis-result-activity.tsx8 symbols
components/ui/form.tsx7 symbols
components/ui/card.tsx7 symbols
app/profile-analysis/profile-analysis-result-timeline.tsx7 symbols
app/profile-analysis/profile-analysis-insights-modal.tsx6 symbols
app/profile-analysis/profile-analysis-result.tsx5 symbols
orca-ai/analysis-agent.ts4 symbols
components/ui/tooltip.tsx4 symbols
app/supabase/orm.ts4 symbols

For agents

$ claude mcp add orca \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page