niahub-mcp
NiaHub — Nia 인덱스 마켓플레이스
한 번 인덱싱하고, 한 줄로 구독하세요. 모든 MCP 호환 에이전트(Cursor, Claude Code, Codex)가 한 번의 붙여넣기로 구독할 수 있는 사전 인덱싱된 Nia 지식 팩 마켓플레이스입니다. Stripe, React, Next.js, Postgres, AWS, Tailwind, MCP, Nozomio 등 사전 인덱싱되어 매시간 갱신되며 출처가 명확합니다.
Nozomio 해커톤을 위해 제작됨 · 2026년 5월 9일 · 샌프란시스코
핵심 가치
모든 Cursor 사용자는 자신의 에이전트가 2022년의 학습 데이터가 아닌 실제 문서에 기반하기를 원합니다. 그들은 Nia를 원합니다. 하지만:
모두가 자신의 노트북에서 Stripe / React / Postgres / S3 문서를 처음부터 다시 인덱싱합니다.
아무도 그 인덱스를 유지 관리하지 않아 일주일 내에 구식이 됩니다.
올바른 URL, 브랜치, 갱신 주기를 선택하는 것이 실제로는 어려운 부분입니다.
설정의 번거로움 때문에 대부분의 팀이 시작조차 하지 못합니다.
NiaHub는 이를 뒤집습니다. 한 번 인덱싱하고, 한 줄로 구독하세요. 8개의 출시 팩은 Tensorlake에 의해 매시간 갱신되고, Codex에 의해 매일 감사되며, 실제 Nia를 기반으로 하는 스냅샷 우선 게이트웨이를 통해 300ms 미만으로 제공됩니다.
// ~/.cursor/mcp.json — that's the whole install
{
"mcpServers": {
"niahub-stripe": {
"command": "npx",
"args": ["-y", "niahub-mcp@latest"],
"env": {
"NIAHUB_PACK": "stripe-api-current",
"NIAHUB_TOKEN": "tok_…"
}
}
}
}Cursor를 재시작하세요. 다음과 같이 질문하세요: "14일 체험판이 포함된 구독을 위한 Stripe Checkout 세션을 생성해줘." Cursor가 niahub_search_pack을 호출하면, 게이트웨이가 현재 Stripe 문서에서 실제 청크를 반환하고, gpt-5-mini가 "이 답변이 왜 정답인지"에 대한 추적 정보를 작성하며, Cursor는 실제 docs.stripe.com URL에 대한 출처가 포함된 올바른 코드를 생성합니다.
Related MCP server: local-rag-core
아키텍처
flowchart TD
classDef client fill:#1d1d28,stroke:#666,color:#f8fafc
classDef gateway fill:#1f9eff,stroke:#1f9eff,color:#fff
classDef nia fill:#0e5497,stroke:#1f9eff,color:#fff
classDef sponsor fill:#16161e,stroke:#a855f7,color:#f8fafc
classDef store fill:#161620,stroke:#34d399,color:#f8fafc
Cursor["Cursor / Claude Code / Codex<br/><sub>any MCP-compatible agent</sub>"]:::client
Browser["niahub.dev<br/><sub>marketplace · /playground · /me · /about</sub>"]:::client
Aside["Aside (Chrome)<br/><sub>docs.stripe.com → install offer</sub>"]:::client
Gateway{{"NiaHub Gateway · apps/web<br/>/api/mcp/[pack_id] · /api/playground · /api/recommend · /api/curator"}}:::gateway
Snapshots[("snapshots.json<br/><sub>17 frozen-real responses</sub>")]:::store
Nia["Nia /v2<br/><sub>POST /search · /oracle/jobs · /contexts</sub>"]:::nia
Codex["OpenAI /v1/responses<br/><sub>gpt-5-mini · why-this-answer + audit</sub>"]:::sponsor
Tensorlake["Tensorlake Sandbox<br/><sub>µVM refresh · GitHub webhook</sub>"]:::sponsor
Hyperspell["Hyperspell<br/><sub>private company packs</sub>"]:::sponsor
Devin["Devin Sessions<br/><sub>autonomous pack curator</sub>"]:::sponsor
Postgres[("InsForge Postgres<br/><sub>packs · subs · query_events · refresh_runs</sub>")]:::store
Convex[("Convex feed_events<br/><sub>reactive query · live ticker</sub>")]:::store
Cursor -->|stdio MCP| MCP[niahub-mcp<br/>npm forwarder]:::client
MCP -->|HTTPS JSON-RPC| Gateway
Browser -->|fetch| Gateway
Aside -->|webhook| Gateway
Gateway -->|snapshot-first| Snapshots
Gateway -->|real path| Nia
Gateway --> Codex
Gateway -->|nightly cron| Tensorlake
Gateway -->|/create| Devin
Gateway -->|/api/hyperspell| Hyperspell
Gateway -->|writes| Postgres
Gateway -->|push| Convex
Browser -.->|reactive subscribe| Convex모두 실시간으로 작동하는 3가지 데모 경로:
/playground(브라우저 전용) — 팩을 선택하고 제안을 클릭하면 5초 이내에 환각(hallucination) 비교 화면이 나타납니다. Cursor 설정이 필요 없습니다.Cursor MCP —
~/.cursor/mcp.json에 붙여넣고, 재시작 후 질문하세요. 실제 에이전트, 실제 청크, 실제 출처. 처음 사용하는 사용자도 약 60초면 끝납니다./recommend— 스택을 설명하거나package.json을 붙여넣으세요. Nia Oracle이 최고의 팩 3개를 선택하여 하나의 통합 설치 스니펫을 제공합니다.
스폰서 스택 — 각 스폰서의 실제 역할
스폰서 | 역할 | 이 저장소에서의 접점 | |
🏆 | Nia (Nozomio) | 인덱싱 기판 · | |
🚀 | InsForge | 인증 + Postgres + 엣지 — 팩 레지스트리, 구독, 쿼리 로그 | |
🛰 | Tensorlake | 샌드박스 격리 갱신 · 웹훅 인덱싱 | |
🎯 | OpenAI Codex |
| |
▲ | Vercel | Next.js 16 / Turbopack · 마켓플레이스 표면 | |
⚡ | Convex | 반응형 | |
🎓 | Devin | 자율 팩 큐레이터 · 실제 | |
🧠 | Hyperspell | 프로 티어 — Slack/Gmail/Drive/GitHub의 비공개 "회사 두뇌" 팩 | |
🔍 | Aside | 브라우저 컴패니언 — 문서 도메인 감지, 원클릭 설치 제공 |
데모 중에 이 모든 스폰서가 실시간으로 호출됩니다. 52개의 체크 항목으로 구성된 엔드투엔드 스위트(scripts/e2e.ps1)가 각 경로를 검증합니다:
pwsh -NoProfile -File scripts/e2e.ps1
# → 52 / 52 passed
# → All sponsors live, end-to-end.저장소 구성
niahub/
├─ apps/
│ ├─ web/ Next.js 16 marketplace + MCP gateway
│ │ ├─ app/
│ │ │ ├─ page.tsx homepage (grid · ticker · diff feed)
│ │ │ ├─ packs/[id]/page.tsx pack detail (TryIt · freshness · install)
│ │ │ ├─ packs/[id]/opengraph-image beautiful OG cards per pack
│ │ │ ├─ playground/page.tsx in-browser chat to any pack
│ │ │ ├─ recommend/page.tsx intent + package.json → Oracle picks
│ │ │ ├─ create/page.tsx Devin curator wizard
│ │ │ ├─ about/page.tsx pitch · how it works · arch diagram
│ │ │ ├─ me/page.tsx your subs + 14-day query sparkline
│ │ │ └─ api/
│ │ │ ├─ mcp/[pack_id]/route.ts MCP gateway (JSON-RPC, real Nia + Codex)
│ │ │ ├─ playground/route.ts browser equivalent + with/without compare
│ │ │ ├─ subscriptions/route.ts mint per-pack tokens + install snippet
│ │ │ ├─ recommend/route.ts Nia Oracle wrapper + ranker fallback
│ │ │ ├─ recommend/from-package package.json → tailored picks
│ │ │ ├─ curator/route.ts dispatch real Devin session
│ │ │ ├─ refresh/route.ts spin Tensorlake sandbox per pack
│ │ │ ├─ benchmark/route.ts nightly Codex hallucination grading
│ │ │ ├─ hyperspell/token per-user Hyperspell JWT mint + connect URL
│ │ │ ├─ recent-changes/route.ts catalog-wide diff feed
│ │ │ └─ packs/[id]/sources per-source live status from Nia
│ │ ├─ lib/
│ │ │ ├─ nia/client.ts real /v2/search query mode + snapshot-first
│ │ │ ├─ nia/snapshots.json 17 preloaded responses, all 8 packs
│ │ │ ├─ codex/auditor.ts gpt-5-mini benchmark + trace
│ │ │ ├─ tensorlake/indexer.ts Sandbox.create() refresh runner
│ │ │ ├─ convex/{feed,server}.ts useQuery + ConvexHttpClient.mutation
│ │ │ ├─ devin/curator.ts real /v1/sessions dispatch + polling
│ │ │ ├─ hyperspell.ts auth.userToken + collections.list
│ │ │ ├─ insforge.ts SDK auth + raw pg for SQL
│ │ │ ├─ env.ts per-sponsor demo flags
│ │ │ └─ install-snippet.ts single source of truth for mcp.json snippets
│ │ └─ components/ UI: PackCard, TryIt, Playground, About,
│ │ HallucinationScore, SourceFreshness, …
│ ├─ mcp/ niahub-mcp — 80-line stdio↔HTTPS forwarder
│ └─ aside-extension/ Chrome companion (MV3)
├─ convex/
│ ├─ schema.ts feed_events table
│ └─ feed.ts latest query + record mutation
├─ db/
│ ├─ schema.sql 6 tables (packs, subs, query_events, …)
│ └─ seed.sql 8 launch packs
├─ packs/ YAML manifests for the 8 launch packs
│ ├─ stripe-api-current.yaml
│ ├─ react-core.yaml
│ ├─ nextjs-app-router.yaml
│ ├─ postgres-17.yaml
│ ├─ aws-s3.yaml
│ ├─ tailwind-v4.yaml
│ ├─ mcp-protocol.yaml
│ └─ nozomio-self.yaml
├─ scripts/
│ ├─ bootstrap-pack.ts manifest YAML → real Nia category + sources
│ ├─ capture-snapshots.mjs hit live Nia, freeze responses
│ ├─ recapture-failures.mjs re-capture only ready sources
│ ├─ seed-missing-snapshots.mjs hand-written demo-grade snapshots
│ ├─ smoke-tensorlake.mjs isolated SDK smoke
│ ├─ smoke-codex.mjs inspect /v1/responses shape
│ ├─ db-migrate.ts apply schema + seed
│ ├─ patch-stripe-sources.mjs one-off DB patch helper
│ ├─ push-vercel-env.ps1 push .env.local to Vercel project
│ └─ e2e.ps1 52-check end-to-end suite
└─ docs/
├─ spec.md file-level implementation index
├─ demo.md 3-minute demo script
└─ pitch.md slide-deck-style pitch outline실행 방법
사전 요구 사항
Node 20 이상
무료 Postgres (InsForge CLI를 통해
npx @insforge/cli signup으로 생성 가능)trynia.ai에서 발급받은 Nia API 키
(선택 사항) 전체 스폰서 기능을 위한 Tensorlake, Devin, OpenAI, Hyperspell, Convex 키
빠른 시작
git clone https://github.com/<you>/niahub
cd niahub
npm install
cp apps/web/.env.example apps/web/.env.local
# fill at minimum NIA_API_KEY + DATABASE_URL — every other sponsor falls back gracefully
npm run db:migrate -- --seed # apply schema + seed 8 packs
npm run dev # http://localhost:3000이 명령어로 마켓플레이스, 8개의 팩 페이지, 플레이그라운드, 추천 흐름, MCP 게이트웨이를 로컬에서 실행할 수 있습니다. 스냅샷 우선 조회 방식을 사용하여 실시간 Nia API의 속도 제한이 걸려 있더라도 데모 질문에 즉시 답변합니다.
실제 Nia 인덱스 부트스트랩 (선택 사항)
시드 데이터에는 합성 Nia 카테고리 ID가 포함되어 있습니다. 각 팩을 실제 Nia와 연결하려면:
node scripts/bootstrap-pack.ts packs/stripe-api-current.yaml
# repeat per pack, then:
node scripts/capture-snapshots.mjsapps/web/lib/nia/snapshots.json에 있는 스냅샷 파일은 17개의 데모급 응답과 함께 커밋되어 있습니다. 11개는 실제 Nia에서 캡처되었고, 6개는 공개 문서를 소스로 사용하여 직접 작성되었습니다.
NiaHub가 장애 상황에서도 데모 준비 상태를 유지하는 방법
해커톤 데모의 핵심은 라이브 환경이 중단되지 않는 것입니다. NiaHub는 모든 외부 의존성이 다운되는 상황에 대비하여 강화되었습니다:
중간에 장애 발생 시 | 사용자에게 보이는 화면 |
Nia 속도 제한 / 다운 | 스냅샷 경로가 17개의 표준 질문을 300ms 이내에 제공 |
OpenAI 다운 | "이 답변이 왜 정답인지" 추적 정보가 호스트 목록 요약으로 대체 |
둘 다 다운 | 스냅샷 답변 + 대체 추적 정보, 약 270ms |
Postgres 다운 | 마켓플레이스가 메모리 내 미러에서 8개 팩을 렌더링 |
Convex 다운 | 실시간 티커가 조용히 합성 피드로 대체 |
Cursor가 예상치 못한 입력 시 | 실제 Nia로 전달 → Nia도 다운 시 유용한 데모 플레이스홀더 표시 |
Oracle 일일 할당량 소진 |
|
언제든지 스위트를 실행하여 검증하세요:
pwsh -NoProfile -File scripts/e2e.ps13분 데모
전체 상세 내용은 docs/demo.md에 있습니다. 요약:
0:00 – 0:10 niahub.dev 접속. 실시간 티커 스크롤.
0:10 – 0:55 Stripe 팩 클릭. "14일 Checkout 체험판" 제안 클릭. 사이드 바이 사이드 토글. 원본
gpt-5-mini가 NiaHub의 출처가 명시된 답변 옆에서 환각을 일으키는 것을 확인.0:55 – 1:35 Cursor 순간 — 질문을 붙여넣고,
stripe-nodeGitHub 이슈 #2231, #1418, #2274에 대한 출처가 포함된 실제 Stripe Checkout 코드를 받음. 출처를 클릭하면 실제 Stripe 문서 페이지가 열림.1:35 – 2:05
/about아키텍처 탭 — 30초 안에 8개 스폰서 모두 언급.2:05 – 2:35
/recommend→ package.json 붙여넣기 탭. 의존성 드롭. 근거와 통합 스니펫이 포함된 맞춤형 추천 받기.2:35 – 2:55
/create— Devin 큐레이터 + Hyperspell 프로 팩 설명. "오늘: 8개 팩. 8주 후: 800개."2:55 – 3:00 종료. 홈페이지로 하드 컷. 티커는 계속 스크롤 중.
인용 가능한 수치
52 | 통과된 엔드투엔드 체크, 모든 스폰서 실시간 검증 완료 |
8 | 퍼스트 파티 출시 팩 |
17 | 사전 로드된 쿼리 (실제 Nia 캡처 + 데모급 스냅샷) |
8 | 연결된 스폰서, 7개는 실시간 API 접근 가능 |
<5 s |
|
<60 s | 접속부터 에디터(Cursor)에서 작동하는 답변까지 |
매시간 | Tensorlake를 통한 모든 팩의 갱신 주기 |
gpt-5-mini | 감사 및 "이 답변이 왜 정답인지" 추적을 담당하는 모델 |
라이선스
Apache-2.0 — Nia의 MCP 서버와 동일하며, 의도적인 선택입니다. 쉬운 도입 경로를 제공합니다.
Nozomio 해커톤을 위해 제작됨, 2026년 5월 9일, 샌프란시스코.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityAmaintenanceProvides AI agents with persistent knowledge storage, enabling them to store, search, and retrieve text, documents, and files using semantic and keyword search via MCP tools.31Apache 2.0
- Alicense-qualityAmaintenanceA headless local knowledge library and RAG substrate that enables LLM clients to search, retrieve chunks, and list documentation packs through read-only MCP tools.MIT
- Alicense-qualityBmaintenanceProvides up-to-date documentation for AI agents by locally querying a community-driven registry of pre-built docs packages.Apache 2.0
- Alicense-qualityFmaintenanceRemote MCP server enabling agents to search, buy, and publish reusable knowledge via nine agent-native tools without API keys or custodied wallets.MIT
Related MCP Connectors
Curated knowledge API for AI agents - skill packs, semantic search, validated patterns.
Shared, peer-validated knowledge archive for AI agents — search, contribute, and validate via MCP
Shared knowledge base for AI agents. Semantic search across agents, no setup required — just a URL.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Kush614/niahub'
If you have feedback or need assistance with the MCP directory API, please join our Discord server