Skip to content
semconv.com
↑↓ move↵ openUse with your agent →

Agents

Your agent should not guess attribute names

A model's training data is months behind the registry, and the conventions rename keys most releases. This site is also a read-only MCP server at https://semconv.com/mcp. No key, no account, one URL. Add it once and your agent checks the registry instead of its memory.

Add it to your client

claude mcp add --transport http semconv https://semconv.com/mcp

Streamable HTTP with one JSON response per call. CORS is open, so an agent running in a browser can call it too.

What it looks like

You

Are the attribute keys in this service still current?

Agent calls

check_attribute_names(names: ["http.status_code", "db.statement", "service.name", "app.cart.size"])

Real tool output, generated from this build's data.

8 tools

Each reads the same JSON the pages are built from, so the site and your agent cannot disagree. Open one to see the description the model is given.

Things to ask it

Copy one into your agent. Each names the tool, so the agent reaches for the server rather than its memory.

Without an MCP client

The server is plain JSON-RPC over POST, and search is the tool to start with. Every page also has a static JSON twin an agent can fetch.

curl -s https://semconv.com/mcp \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search","arguments":{"query":"which attribute holds the http status code"}}}'