Skip to content

Commit dd76026

Browse files
authored
Merge pull request #82 from ryoppippi/mcp
chore: add context7 mcp servers
2 parents dbbc0dc + 140144b commit dd76026

2 files changed

Lines changed: 46 additions & 2 deletions

File tree

‎.mcp.json‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"mcpServers": {
3+
"context7": {
4+
"type": "sse",
5+
"url": "https://mcp.context7.com/sse"
6+
},
7+
"gunshi-doc": {
8+
"command": "bun",
9+
"args": [
10+
"x",
11+
"sitemcp",
12+
"https://gunshi.dev/",
13+
"--concurrency 10",
14+
"--no-cache"
15+
]
16+
},
17+
"eslint-mcp": {
18+
"type": "stdio",
19+
"command": "bun",
20+
"args": [
21+
"x",
22+
"@eslint/mcp@latest"
23+
],
24+
"env": {}
25+
}
26+
}
27+
}

‎CLAUDE.md‎

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
77
**Testing and Quality:**
88

99
- `bun test` - Run all tests
10-
- `bun run lint` - Lint code with ESLint
10+
- Lint code using ESLint MCP server (available via Claude Code tools)
1111
- `bun run format` - Format code with ESLint (writes changes)
1212
- `bun typecheck` - Type check with TypeScript
1313

@@ -63,6 +63,12 @@ This is a CLI tool that analyzes Claude Code usage data from local JSONL files s
6363
- CLI built with `gunshi` framework, tables with `cli-table3`
6464
- **LiteLLM Integration**: Cost calculations depend on LiteLLM's pricing database for model pricing data
6565

66+
**MCP Servers Available:**
67+
68+
- **ESLint MCP**: Lint TypeScript/JavaScript files directly through Claude Code tools
69+
- **Context7 MCP**: Look up documentation for libraries and frameworks
70+
- **Gunshi MCP**: Access gunshi.dev documentation and examples
71+
6672
## Code Style Notes
6773

6874
- Uses ESLint for linting and formatting with tab indentation and double quotes
@@ -71,6 +77,16 @@ This is a CLI tool that analyzes Claude Code usage data from local JSONL files s
7177
- Error handling: silently skips malformed JSONL lines during parsing
7278
- File paths always use Node.js path utilities for cross-platform compatibility
7379

80+
**Post-Code Change Workflow:**
81+
82+
After making any code changes, ALWAYS run these commands in parallel:
83+
84+
- `bun run format` - Auto-fix and format code with ESLint (includes linting)
85+
- `bun typecheck` - Type check with TypeScript
86+
- `bun test` - Run all tests
87+
88+
This ensures code quality and catches issues immediately after changes.
89+
7490
## Claude Models and Testing
7591

7692
**Supported Claude 4 Models (as of 2025):**
@@ -101,7 +117,8 @@ This is a CLI tool that analyzes Claude Code usage data from local JSONL files s
101117

102118
# Tips for Claude Code
103119

104-
- [gunshi](https://gunshi.dev/llms.txt)
120+
- [gunshi](https://gunshi.dev/llms.txt) - Documentation available via Gunshi MCP server
121+
- Context7 MCP server available for library documentation lookup
105122
- do not use console.log. use logger.ts instead
106123

107124
# important-instruction-reminders

0 commit comments

Comments
 (0)