Docs MCP
An agent answers evlog questions from its training data, which can be a release behind the package you installed. The docs MCP server gives it the current pages instead. Add https://www.evlog.dev/mcp to your editor: no account, no key, read-only, over streamable HTTP.
Add it to your editor
Cursor
Add to Cursor opens Cursor with the server filled in. Every docs page carries the same link as Add MCP Server in the copy menu at the top.
To add it by hand, create .cursor/mcp.json in your project, or ~/.cursor/mcp.json for every project (Cursor MCP docs):
{
"mcpServers": {
"evlog": {
"url": "https://www.evlog.dev/mcp"
}
}
}
Claude Code
claude mcp add --transport http evlog https://www.evlog.dev/mcp
Add --scope user to make it available in every project (Claude Code MCP docs).
VS Code
Install in VS Code, run MCP: Add Server from the Command Palette and pick HTTP, or commit it for the team in .vscode/mcp.json (VS Code MCP docs):
{
"servers": {
"evlog": {
"type": "http",
"url": "https://www.evlog.dev/mcp"
}
}
}
Any other client
Point any MCP client that speaks streamable HTTP at https://www.evlog.dev/mcp. Opening that URL in a browser brings you back to this page.
Tools
All three are read-only. None of them reads your project: they take a page path or the numbers you pass.
| Tool | Returns | Input |
|---|---|---|
list-pages | Every docs page: title, path, description, URL | None |
get-page | The full markdown of one page, the same bytes as /raw/<path>.md | path, e.g. /start/installation |
estimate-log-cost | A month of logs before and after evlog: events, GB, cost, and the basis used | requestsPerMonth, plus optional linesPerRequest (default 4), provider, perGb, perMillionIndexed, keepPercent (default 100) |
provider is one of datadog, grafana, sentry, posthog, betterstack, axiom. The byte counts and the rates behind estimate-log-cost are on Log cost.
Ask it something
Once the server is connected, name it in the prompt so the agent reads the docs instead of guessing:
Using the evlog MCP, read the Nuxt integration page and add evlog to this app.
Using the evlog MCP, what does 10 million requests a month at 4 log lines each cost on Datadog, and with evlog?
MCP, skills, or llms.txt
| You want the agent to | Use |
|---|---|
| Look up a page in the middle of a task | This MCP server |
| Follow the evlog conventions and review logging code | Agent skills, installed with npx skills add https://www.evlog.dev |
| Read the docs in a tool that has no MCP support | llms.txt, or any page as markdown at /raw/<path>.md |
The server and the skills work together: the skills carry the patterns, the server carries the current API.
FAQ
list-pages and get-page read the docs, and estimate-log-cost computes from the numbers in its arguments. The tools take no other input.list-pages and get-page cache for one hour, so a docs change reaches the server within an hour of deploying.Next
- Agent skills: teach the agent the evlog conventions
evlog agents: write those conventions intoAGENTS.md