Best way to provide a library documentation as context #3563
-
Hi, I maintain several libraries, such as Simple Data Analysis, which is published on JSR. What is the best way to instruct Gemini-CLI to refer to the documentation when asked to work with it? Cheers |
Beta Was this translation helpful? Give feedback.
Answered by
GhostArchitect01
Jul 8, 2025
Replies: 2 comments
-
Run it from a directory with a custom GEMINI.md that includes the documentation in it? |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nshiab
-
You can use the Context7 MCP server:
{
"mcpServers": {
"context7": {
"command": "npx",
"args": ["-y", "@upstash/context7-mcp"]
}
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run it from a directory with a custom GEMINI.md that includes the documentation in it?