New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

search_server_logs

[MAINTENANCE] 222d54f8 — BM25 full-text search over the server_logs ring-buffer. Complements get_server_logs (which filters by level/module/since) with keyword-ranked retrieval — useful when you know WHAT went wrong but not exactly WHEN (e.g. search 'OAuth token refresh' or 'psycopg connection po...

SERVERMeridian SOURCE@meridianmcp/mcp
Low RISK CLASS
Category Read
Parameters 41 required
Recommended Allowedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/io-github-ajc3xc-meridian/search-server-logs.md

What search_server_logs does on Meridian

AI agents call search_server_logs to retrieve information from Meridian without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
level string Filter hits to a specific log level (post-BM25 filter). Omit to return all levels.
limit integer Max ranked hits to return (default 20).
query string Yes BM25 search terms — keywords across log level, logger name, message text, and traceback (e.g. 'OAuth refresh', 'connection pool timeout', 'psycopg').
since string ISO timestamp (UTC). Only return hits at or after this time (post-BM25 filter). Example: '2026-07-15 03:00:00'

Parameters from the server's own tool schema.

Why search_server_logs is rated Low

This tool retrieves and queries log data using full-text search with no side effects. It searches existing logs without creating, modifying, deleting, or executing operations. The description explicitly frames it as a retrieval mechanism ("search", "retrieval", "filters") complementary to a read-only log getter. No code execution, data modification, or destructive actions are present.

From the tool's definition BM25 full-text search over the server_logs ring-buffer; keyword-ranked retrieval; no modification or deletion described; complements get_server_logs which filters by level/module/since

Questions about search_server_logs

What does the search_server_logs tool do? +

[MAINTENANCE] 222d54f8 — BM25 full-text search over the server_logs ring-buffer. Complements get_server_logs (which filters by level/module/since) with keyword-ranked retrieval — useful when you know WHAT went wrong but not exactly WHEN (e.g. search 'OAuth token refresh' or 'psycopg connection pool' across the last 2000 log records). Uses DuckDB native FTS (Okapi BM25) with Porter stemming over a concatenated body of level + logger + message + exc_text. Incremental: re-syncs only new/evicted rows on each call; repeat queries over an unchanged log window are near-free. Ring-buffer eviction is handled consistently — rows pruned from server_logs are removed from the FTS index on the next call. Returns {query, total_in_index, count, hits:[{id, level, logger, message, exc_text, recorded_at, score, bm25}]}. Empty/no-match query returns {hits:[]}. It is categorised as a Read tool in the Meridian MCP Server, which means it retrieves data without modifying state.

What parameters does search_server_logs accept? +

search_server_logs accepts 4 parameters: level, limit, query, since. Required: query. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on search_server_logs? +

Register the Meridian MCP server in PolicyLayer and add a rule for search_server_logs: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Meridian. Nothing to install.

What risk level is search_server_logs? +

search_server_logs is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit search_server_logs? +

Yes. Add a rate_limit block to the search_server_logs rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block search_server_logs completely? +

Set action: deny in the PolicyLayer policy for search_server_logs. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides search_server_logs? +

search_server_logs is provided by the Meridian MCP server (@meridianmcp/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Meridian, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Meridian's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.