About Latent Space Hub
Latent Space Hub is an MCP server in the Science category.
Install
git clone https://github.com/bradwmorris/latent-space-hubThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Latent Space Hub
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
Latent Space Hub
LS Wiki-Base for the Latent Space community. Podcasts, articles, AI news, conference talks, papers — searchable via semantic vector search and connected in a wiki-base.
Built on the RA-H foundation, deployed as its own product.
Tech Stack
- Framework: Next.js 15 + TypeScript + Tailwind CSS
- Database: Turso (cloud SQLite via
@libsql/client) - Search: Turso native vector search (F32_BLOB + vector_top_k) + FTS5
- AI: Anthropic (Claude) + OpenAI (GPT) models via Vercel AI SDK — BYO keys
- MCP: Model Context Protocol server for AI agent access
- Deployment: Vercel (readonly mode for public)
Local Development
git clone https://github.com/bradwmorris/latent-space-hub.git
cd latent-space-hub
cp .env.example .env.local # Add your Turso + API keys
npm install
npm run dev # localhost:3000
Required Environment Variables
TURSO_DATABASE_URL= # Your Turso database URL
TURSO_AUTH_TOKEN= # Turso auth token
ANTHROPIC_API_KEY= # For Claude models
OPENAI_API_KEY= # For GPT models + embeddings
Project Layout
app/ Next.js App Router (pages + API routes)
src/
components/ UI components (2-panel layout)
services/
database/ Turso client, node/edge/chunk services
agents/ Agent logic
embedding/ Embedding generation
extractors/ YouTube, website, PDF extraction
tools/ MCP tools + database CRUD tools
config/
prompts/ Agent system prompts
guides/ Built-in markdown guides
apps/
mcp-server/ MCP server (HTTP + stdio)
docs/ System documentation
docs/development/ Dev workflow, backlog, PRDs
Agent Entrypoint
For agent context and ordered skill loading, start at AGENTS.md.
Commands
| Command | Description |
|---|---|
npm run dev |
Dev server at localhost:3000 |
npm run build |
Production build |
npm run type-check |
TypeScript validation |
MCP Integration
Connect Claude Code or any MCP-compatible assistant:
{
"mcpServers": {
"latent-space": {
"command": "node",
"args": ["/path/to/latent-space-hub/apps/mcp-server/stdio-server.js"]
}
}
}
Want to Self-Host Your Own?
This repo is the Latent Space community wiki-base. If you want to run your own local-first wiki-base with a private SQLite database, use the open-source version: RA-H Open Source.
Contributing
See CONTRIBUTING.md. Issues and PRs welcome.
License
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.