Networklytics Mcp
๐ - YouTube comment social network analysis (SNA): influencer centrality ranking, community detection (Louvain), sentiment analysis, and public JSON API for AI agents
Quick Install
{
"mcpServers": {
"leekangbum-networklytics-mcp": {
"command": "npx",
"args": [
"-y",
"leekangbum-networklytics-mcp"
]
}
}
}Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.
Documentation Overview
โ ๏ธ ์๋น์ค ์ด์ ์ค๋จ ์๋ด ํ์ฌ NetworkLytics ์๋ฒ๊ฐ ์ด์ ์ค๋จ ์ํ์ ๋๋ค.
NETWORKLYTICS_API_URL์ ๋ก์ปฌ ์๋ฒ ์ฃผ์๋ก ๋ณ๊ฒฝํ๋ฉด ๋ก์ปฌ ํ๊ฒฝ์์๋ ์ฌ์ฉ ๊ฐ๋ฅํฉ๋๋ค.
networklytics-mcp
NetworkLytics MCP (Model Context Protocol) server.
Claude Desktop, Cursor ๋ฑ MCP ์ง์ AI ๋๊ตฌ์์ YouTube ๋๊ธ ๋คํธ์ํฌ ๋ถ์ ๊ฒฐ๊ณผ๋ฅผ ์ง์ ์กฐํํ ์ ์์ต๋๋ค.
์ค์น
pip install networklytics-mcp
Claude Desktop ์ค์
~/.claude/claude_desktop_config.json ๋๋ %APPDATA%\Claude\claude_desktop_config.json์ ์ถ๊ฐ:
{
"mcpServers": {
"networklytics": {
"command": "networklytics-mcp",
"env": {
"NETWORKLYTICS_API_URL": "https://networklytics.net",
"NETWORKLYTICS_API_KEY": "nly_your_api_key_here"
}
}
}
}
API ํค๋ NetworkLytics ๊ณ์ ์ค์ ํ์ด์ง์์ ๋ฐ๊ธ๋ฐ์ ์ ์์ต๋๋ค.
์ฌ์ฉ ์์
Claude์์ ๋ค์๊ณผ ๊ฐ์ด ์์ฒญํ ์ ์์ต๋๋ค:
- "์ด ๊ณต์ ๋งํฌ ๋ถ์ ๊ฒฐ๊ณผ๋ฅผ ๋ณด์ฌ์ค: https://networklytics.net/shared/abc-123-..."
- "๋ถ์ ๊ฒฐ๊ณผ์์ ํต์ฌ ์ธํ๋ฃจ์ธ์ 3๋ช ์ ์ฐพ์์ค"
- "์ด YouTube ์ฑ๋ ๋๊ธ ์ปค๋ฎค๋ํฐ์ ๊ฐ์ฑ ํธ๋ ๋๋ ์ด๋?"
์ ๊ณต ๋๊ตฌ (Tools)
| Tool | ์ค๋ช | ์ธ์ฆ |
|---|---|---|
get_shared_analysis | ๊ณต์ ๋งํฌ ํ ํฐ์ผ๋ก ๋ถ์ ๊ฒฐ๊ณผ ์กฐํ | ๋ถํ์ |
get_analysis_by_id | ๋ถ์ ID๋ก ๊ฒฐ๊ณผ ์กฐํ | API ํค ํ์ |
get_api_info | API ์ ๋ณด ๋ฐ ์๋ํฌ์ธํธ ๋ชฉ๋ก | ๋ถํ์ |
๋ฐํ ๋ฐ์ดํฐ ๊ตฌ์กฐ
{
"video": { "title": "...", "channel": "...", "view_count": 123456 },
"network": {
"total_nodes": 1500,
"total_edges": 3200,
"density": 0.003,
"community_count": 7
},
"sentiment": {
"positive_ratio": 0.62,
"negative_ratio": 0.15,
"overall": "positive"
},
"top_influencers": [
{ "author": "username", "degree_centrality": 0.12, "comment_count": 45 }
],
"topic_keywords": ["ํค์๋1", "ํค์๋2"],
"ai_insights": { ... }
}