Claude Code MCP servers: connect Claude to your database and browser in 5 minutes
MCP (Model Context Protocol) is the feature that transforms Claude Code from a text editor assistant into something that actually understands your running system.
Without MCP, you paste schema. With MCP, Claude reads it live.
This is how to set it up in 5 minutes.
What MCP actually does
MCP lets Claude connect to external data sources and tools in real time:
- Database MCP: Claude reads your actual schema, queries live data, suggests indexes
- Browser MCP: Claude navigates pages, fills forms, extracts data
- Filesystem MCP: Claude reads files outside your project directory
- Fetch MCP: Claude calls URLs and APIs directly
Instead of you pasting context, Claude pulls it on demand.
Setting up the Postgres MCP server
Create or edit ~/.config/claude/claude_desktop_config.json:
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"postgresql://localhost/mydb"
]
}
}
}
Restart Claude Code. Now type:
> Show me the users table schema
> Which queries are missing indexes?
> Write a migration to add created_at to orders
Claude reads the live schema. No pasting.
Setting up the browser MCP server (Playwright)
{
"mcpServers": {
"playwright": {
"command": "npx",
"args": ["@executeautomation/playwright-mcp-server"]
}
}
}
Now you can ask:
> Navigate to localhost:3000/login, fill in test@example.com / password123, click submit, screenshot the result
Claude runs the browser. No Cypress setup required for quick checks.
Multiple MCP servers at once
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://localhost/mydb"]
},
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/home/user/documents"]
},
"fetch": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-fetch"]
}
}
}
All three active simultaneously. Claude picks the right tool for each query.
Project-scoped MCP (Claude Code specific)
For per-project MCP config, add .mcp.json to your project root:
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://localhost/projectdb"]
}
}
}
This overrides global config for this project. Commit it to git so the whole team gets it.
Verifying MCP is connected
In Claude Code, run:
/mcp
You'll see which servers are connected and their status. If a server isn't listed, check the config path and restart.
The rate limit problem with MCP
MCP sessions that query databases or run browsers generate a lot of tokens. A live schema read can be 2,000-5,000 tokens per query. If you're running a multi-step MCP workflow, you'll hit rate limits mid-task.
The fix is to route Claude Code through a proxy that removes the rate limit ceiling:
export ANTHROPIC_BASE_URL=https://simplylouie.com/api
Set this and your MCP sessions run uninterrupted — no mid-task "rate limit reached" interruptions.
SimplyLouie is ✌️2/month and gives Claude Code unlimited access to your MCP workflows. 7-day free trial.
Available MCP servers right now
The MCP ecosystem is growing fast. Confirmed working:
| Server | Package | What it does |
|---|---|---|
| Postgres | @modelcontextprotocol/server-postgres |
Live schema + queries |
| SQLite | @modelcontextprotocol/server-sqlite |
Local DB files |
| Filesystem | @modelcontextprotocol/server-filesystem |
Read any directory |
| Fetch | @modelcontextprotocol/server-fetch |
HTTP requests |
| Playwright | @executeautomation/playwright-mcp-server |
Browser automation |
| GitHub | @modelcontextprotocol/server-github |
Repos, PRs, issues |
| Slack | @modelcontextprotocol/server-slack |
Messages, channels |
| Google Drive | @modelcontextprotocol/server-gdrive |
Docs, sheets |
What changes when MCP works
Without MCP:
You: Here's my schema [pastes 200 lines] now write a query for...
Claude: Based on the schema you provided...
With MCP:
You: Write a query to find users who signed up but never paid
Claude: [reads schema live] Here's the query using your users and subscriptions tables...
Less copy-pasting. More actual work.
Summary
- Edit
~/.config/claude/claude_desktop_config.json - Add your MCP server configs
- Restart Claude Code
- Run
/mcpto verify - For uninterrupted multi-step MCP sessions:
export ANTHROPIC_BASE_URL=https://simplylouie.com/api
MCP is the biggest quality-of-life upgrade for Claude Code that most developers haven't tried yet. The 5-minute setup is worth it.
Running long MCP sessions? SimplyLouie removes the rate limit ceiling for ✌️2/month. 7-day free trial, no charge until day 8.
Top comments (0)