Purujit Vij

notes from the job

Work

Problems I've hit at work and how I solved them, plus things I learned along the way.

featured · case study · 20 Nov 2026

Keeping an AI astrologer honest: a Vedic engine and a 30-tool MCP server

LLMs make up planetary positions, and the real chart is 146 KB of JSON that drowns them. I built a Vedic astrology engine within 39″ of Swiss Ephemeris and an MCP server that hands the model verified numbers, one small block at a time.

  • TypeScript
  • Python
  • MCP
  • Vercel
  • Unkey
worst planet-position error vs Swiss Ephemeris, 21 charts, 1900–2050
<39″
default chart response after field selection
146 → 7 KB
MCP tools, each returning one block of the chart
30
case study · 20 Nov 2026

Shipping a mood-based Spotify agent four months before Spotify did

In January 2026 I shipped Moodify, a chat agent that hears how you feel and plays a Spotify playlist to match. I took open-source Spotify MCP tools, made them multi-user over HTTP, and put a Gemini agent on top. In April, Spotify launched mood playlists in Claude.

  • TypeScript
  • MCP
  • Next.js
  • Gemini
months ahead of Spotify's own mood playlists in Claude (23 Apr 2026)
4 mo
users: a single-user local MCP server turned into a web app
1 → many
case study · 20 Nov 2026

MIRA: a wellness agent that knows when to stop talking

A single-prompt chatbot never gave a local crisis number in my evals. MIRA puts a safety gate, a quarantined extractor and a pure planner around the model, and reached one every time, including 5 crisis cases written after its rules were frozen. Then I tested it live.

  • TypeScript
  • Next.js
  • Supabase
  • Gemini
  • LLM evals
crisis cases that reached a local helpline, on two models. The single-prompt baseline: 0/10; it gave US numbers like 988
10/10
held-out cases with the right escalation call (5 crises, 11 not), written after the rules were frozen
16/16
case study · 20 Nov 2026

A 2014 laptop as a 24/7 home server: rebuilt, locked down, no open ports

Someone offered me ₹3,000 for my 2014 Dell laptop. Instead I spent about ₹2,500 on RAM and a new battery, cleaned it and re-pasted the CPU, and put Ubuntu Server on it behind Tailscale, with three factors on every SSH login. It has been up for 29 days, with nothing forwarded on the router.

  • Linux
  • Ubuntu
  • Tailscale
  • Docker
  • Cloudflare Tunnel
uptime since the last reboot, on 22 October
29 days
factors on every SSH login: key, password and a TOTP code
3
case study · 20 Nov 2026

From $75+ to ~$15 a month: moving a live news CMS off Strapi Cloud with zero downtime

A news publisher was paying $75+ a month for Strapi Cloud, plus overage charges, with no logs when something broke. I scoped a move to its own AWS account, moved 2,100 articles and 39,000 media files with zero downtime for about $15 a month, and closed a security hole that wasn't in the brief.

  • Strapi
  • AWS EC2 · S3 · IAM
  • SQLite
  • GitHub Actions
  • Security
monthly hosting bill, and no more API overage charges
$75+ → $15
website downtime during the move
0 min
case study · 20 Nov 2026

Why an LLM shouldn't move the pieces: Claude vs a 3200 bot, and three fixes to chess-mcp

I had Claude Fable 5.1, one of the best models on the market at the time, play Chess.com's 3200-rated bot through browser automation. It played 28 moves the review rated great, best or excellent, then lost its queen to one line-opening blunder and tried two illegal moves. That's why a model needs an engine in the loop, and why I sent three fixes to an open-source chess MCP server.

  • TypeScript
  • MCP
  • Docker
  • Stockfish
moves rated great, best or excellent by Chess.com's review
28
line-opening blunder that lost the queen (37.Bb1??)
1

Looking for projects? See selected work →

let's talk!

Hiring for AI or platform engineering?

I like ambiguous 0→1 problems: turning them into clear system designs, and shipping software that behaves safely in production.