kivv
Automated arXiv research paper discovery and AI-powered summarization system that enables Claude Desktop users to search, retrieve, and get intelligent summaries of academic papers through MCP integration.
README
<picture> <source media="(prefers-color-scheme: dark)" srcset="assets/hero-dark.svg"> <source media="(prefers-color-scheme: light)" srcset="assets/hero.svg"> <img alt="kivv - arXiv Research Assistant" src="assets/hero.svg"> </picture>
Automated arXiv research paper discovery and AI-powered summarization system with MCP (Model Context Protocol) integration for Claude Desktop. Built as a vibe-coding project, we keep the tooling lightweight and the feedback loop fast so you can stay in flow while shipping research insights.
Features
- Daily Automation: Automatically searches arXiv for papers matching your topics
- AI Summaries: Claude-powered intelligent paper summarization with cost optimization
- Multi-User: Support for multiple users with independent topic configurations
- MCP Integration: Direct integration with Claude Desktop via Model Context Protocol
- RSS Feeds: Per-user RSS/Atom feeds for any feed reader
- Web Dashboard: Optional SvelteKit dashboard (coming soon)
- Cost-Effective: Runs mostly on Cloudflare free tier (~$3/month for 2 users)
Architecture
- MCP Server: TypeScript Worker handling MCP protocol and tool execution
- Daily Automation: Cron-triggered Worker for paper collection and summarization
- Storage: Cloudflare D1 (SQLite), R2 (PDFs), KV (cache)
- AI: Claude 3.5 Sonnet with Haiku triage for cost optimization
Quick Start
Prerequisites
- Cloudflare account with Workers, D1, KV, and R2 enabled
- Anthropic Claude API key (console.anthropic.com)
- Bun 1.1+ (package manager - install from bun.sh)
- Wrangler CLI (installed automatically via bun)
Installation
# Clone the repository
git clone https://github.com/jeffaf/kivv.git
cd kivv
# Install dependencies with bun (our vibe-coding default)
bun install
# Set up environment variables
cp .env.example .env
# Edit .env with your API keys and Cloudflare credentials
Deployment
For complete deployment instructions, see DEPLOYMENT.md.
Quick deployment:
# Set secrets for automation worker
cd automation
wrangler secret put CLAUDE_API_KEY
wrangler secret put CRON_SECRET
# Deploy automation worker
wrangler deploy
# Deploy MCP server
cd ../mcp-server
wrangler deploy
# Configure Claude Desktop (see DEPLOYMENT.md for details)
# Add MCP server URL and API key to Claude Desktop config
Verification
# Test automation worker
curl https://kivv-automation.<username>.workers.dev/health
# Test MCP server
curl https://kivv-mcp.<username>.workers.dev/health
# Check database
wrangler d1 execute kivv-db --command "SELECT COUNT(*) FROM users"
# Or use the automated health check script
./scripts/health-check.sh
See TROUBLESHOOTING.md if you encounter any issues.
Automated Deployment Script
For one-command deployment:
# Run the automated deployment script
./scripts/deploy.sh
# This will:
# - Verify prerequisites
# - Check infrastructure
# - Configure secrets
# - Deploy both workers
# - Provide Claude Desktop config
Project Structure
kivv/
├── mcp-server/ # MCP Server Worker (Claude integration)
├── automation/ # Daily automation Worker (cron)
├── shared/ # Shared types and utilities
├── tests/
│ ├── security/ # Security tests (auth, injection, XSS)
│ ├── integration/ # MCP tool integration tests
│ └── unit/ # Unit tests
├── .checkpoint/ # Development checkpoints
└── package.json # Monorepo root with workspaces
Documentation
- Deployment Guide - Complete production deployment instructions
- Troubleshooting Guide - Common issues and solutions
- Setup Checklist - Infrastructure setup
- Implementation Plan - Chunked development guide
- API Documentation - API endpoints and usage
- PRD (Full Spec) - Complete technical specification
CI & Automation
- Tests & Type Checks: GitHub Actions run
bun run type-checkandbun teston pushes and pull requests to keep the vibe coding fast without breaking the build. - Deployments: Cloudflare Workers deploy pipelines trigger when
mcp-server/orautomation/change, usingwranglerwith your configured Cloudflare credentials.
Development
# Run type checking
bun run type-check
# Run all tests
bun test
# Run security tests specifically
bun run test:security
# Run tests in watch mode
bun run test:watch
# Run MCP server locally
bun run dev:mcp
# Run automation worker locally
bun run dev:automation
# Build all workspaces
bun run build
Testing
The project includes comprehensive test coverage:
-
Security Tests (100% coverage required):
- Authentication (API key validation)
- Authorization (user data isolation)
- SQL injection prevention
- XSS prevention in RSS feeds
- Rate limiting enforcement
-
Integration Tests: End-to-end MCP tool workflows
-
Unit Tests: Isolated utility function testing
# Run with coverage report
bun run test:coverage
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.