Skip to main content
Tahir Nazir — blog home
T
Tahir Nazir
Engineering notes
Articles
Portfolio
Games
Hire me
Home
/
Blog
/
AI Engineering
/
Page 4
AI Engineering — page 4
Articles in this category
28
CC
CC
Why Is Claude Code So Slow, Hanging or Eating Memory? Start With the Silent Failures
High CPU, frozen commands and missing search results usually trace to a handful of specific causes — a compaction loop, a bundled ripgrep that won't run, or WSL quietly returning fewer matches while claude doctor reports everything as OK.
Troubleshooting
AI Engineering
·
August 16, 2026
·
9 min read
29
CC
CC
Claude Code Tokens: How Many It Uses, How to See Them, and How to Cut Them
A two-token prompt made Claude Code process about 38,000 tokens before it answered, and 54,000 with my plugins and MCP servers loaded. Where Claude Code's tokens go, how to see them with /usage, /context and the status line, what it costs, why usage climbs while you're idle, and the changes that actually cut it.
Troubleshooting
AI Engineering
·
August 14, 2026
·
19 min read
30
MCP
MCP
MCP Server Not Showing Up or 'Failed to Connect' in Claude Code? Read the Status First
Your MCP server is configured but Claude can't see it. `claude mcp list` tells you which of five different problems you actually have — pending approval, a failed spawn, a Windows .cmd shim, zero advertised tools, or a server that was never in the list to begin with.
Troubleshooting
AI Engineering
·
August 11, 2026
·
12 min read
31
RAG
RAG
RAG Retrieval Returns the Wrong Chunks: A Production Debugging Guide
Your RAG demo worked and production doesn't. Before you swap the embedding model, check the four things that actually break retrieval: recall settings, chunk boundaries, keyword blindness, and where the answer sits in the prompt.
Troubleshooting
AI Engineering
·
August 9, 2026
·
11 min read
32
CC
CC
Claude Code vs Cursor: AGENTS.md, CLAUDE.md and Cursor Rules Compared
Claude Code now reads AGENTS.md, but only when there is no CLAUDE.md, and a personal CLAUDE.local.md quietly turns that off. How both tools load AGENTS.md, CLAUDE.md and Cursor rules, and how to keep one repo working in both.
Comparison
AI Engineering
·
August 9, 2026
·
13 min read
33
MCP
MCP
Build a Custom MCP Server in TypeScript and Add It to Claude Code (Tested)
A custom MCP server, built and tested on the current SDK: @modelcontextprotocol/server 2.4.0 and the 2026-07-28 protocol. Register a tool with a Zod schema, serve it with serveStdio, test it with the official client or the MCP Inspector, add it to Claude Code with claude mcp add, and see what really happens when your server writes to stdout.
How-to
AI Engineering
·
August 9, 2026
·
20 min read
Previous
1
2
3
4
Next
More topics
Web Development
#Claude Code
#Troubleshooting
#AI Agents
#Developer Tools
#Enterprise
#Security
#Windows
#Codex
#Auto Mode
#Next.js
#Networking
#Cost Optimization