mcp-search
Skill25 starsChanged 3 months agoApache-2.0View on GitHub
Search, analyze, and author Elastic documentation using the remote MCP server. Use this when the user asks about Elastic product documentation, features, or APIs; wants to find, read, or verify existing docs pages; is writing or editing documentation; mentions cross-links between repos; asks about documentation structure, coherence, or consistency; wants to generate templates following Elastic content type guidelines; or references elastic.co/docs URLs or Elastic product names.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- commitSkill
- feature-flagSkill
- issueSkill
- lintSkill
- prSkill
- style-reviewSkill
- testSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 3 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Trigger words: search, find, docs, documentation, look up, examples, query, what docs, Elastic features
- Distinctive: line 25
Returns: Search results with URLs, titles, descriptions, AI summaries, scores, and navigation context.
- Distinctive: line 48
Trigger words: verify, check, accurate, coherent, validate, consistency, coverage, align with docs, audit
- Very specific: line 228
For general searches: Start with SemanticSearch to find relevant documentation.
- Very specific: line 229
For content verification: Use CheckCoherence to see how well a topic is documented.
- Very specific: line 230
For quality checks: Use FindInconsistencies to identify potential documentation conflicts.
- Very specific: line 231
For specific pages: Use GetDocumentByUrl when you have an exact URL.
- Very specific: line 232
For deep analysis: Use AnalyzeDocumentStructure to understand page organization.
- Very specific: line 233
For cross-linking: Use ResolveCrossLink to turn a cross-link URI into a real URL, ListRepositories to discover available repos, and …
- Very specific: line 234
For authoring: Use ListContentTypes to pick the right type, GenerateTemplate to get a starter, and GetContentTypeGuidelines to write or …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Elastic Documentation MCP
This skill provides access to Elastic documentation through a remote MCP server. Use these tools to search, analyze, author, and validate documentation content.
Available Tools
1. SemanticSearch
When to use: User asks about Elastic product features, needs to find existing docs pages, verify published content, or research what documentation exists on a topic.
Trigger words: search, find, docs, documentation, look up, examples, query, what docs, Elastic features
Parameters:
query(required): The search query — can be a question or keywordspageNumber(optional, default: 1): Page number (1-based)pageSize(optional, default: 10, max: 50): Number of results per pageproductFilter(optional): Filter by product ID (e.g., 'elasticsearch', 'kibana', 'fleet', 'logstash')sectionFilter(optional): Filter by navigation section (e.g., 'reference', 'getting-started')
Returns: Search results with URLs, titles, descriptions, AI summaries, scores, and navigation context.
2. FindRelatedDocs
When to use: User wants to explore what documentation exists around a subject, build context for writing, or discover related content they should be aware of.
Trigger words: related, similar, links, content reuse, related documentation, see also, what else
Parameters:
topic(required): Topic or search terms to find related documents forlimit(optional, default: 10, max: 20): Maximum number of related documents to returnproductFilter(optional): Filter by product ID
Returns: List of related documents with URLs, titles, descriptions, AI summaries, and relevance scores.
3. CheckCoherence
When to use: User wants to review documentation quality, audit coverage of a feature or concept, or check whether a topic is documented consistently across products and sections.
Trigger words: verify, check, accurate, coherent, validate, consistency, coverage, align with docs, audit
Parameters:
topic(required): Topic or concept to check coherence forlimit(optional, default: 20, max: 50): Maximum number of documents to analyze
Returns: Coherence analysis including:
- Total documents covering the topic
- Section coverage (how topic is spread across navigation sections)
- Product coverage (which products document this topic)
- AI enrichment status (docs with summaries)
- Coverage score (0-100)
- Top documents for the topic
4. FindInconsistencies
When to use: User wants to audit docs quality, verify that instructions don't contradict each other, or check for overlapping content within a product area.
Trigger words: inconsistencies, contradictions, conflicts, discrepancies, compare, differences, overlaps
Parameters:
topic(required): Topic or concept to check for inconsistenciesfocusArea(optional): Specific area to focus on (e.g., 'installation', 'configuration', 'api')
Returns: Analysis of potential inconsistencies including:
- Documents that may have overlapping or conflicting content
- Product breakdown showing document distribution
- Pairs of documents that cover similar topics and may need review
5. GetDocumentByUrl
When to use: User provides an elastic.co/docs URL, references a known page, or you need the full content and metadata of a specific doc.
Trigger words: get document, fetch, URL, specific page, retrieve, show page, elastic.co
Parameters:
url(required): The document URL. Accepts a full URL (e.g.,https://www.elastic.co/docs/deploy-manage/api-keys) or a path (e.g.,/docs/deploy-manage/api-keys). Query strings, fragments, and trailing slashes are ignored.includeBody(optional, default: false): Include full body content (set true for detailed analysis)
Returns: Full document content including:
- Title, URL, type, description
- Navigation section and parent hierarchy
- AI summaries (short summary and RAG-optimized summary)
- AI-generated questions and use cases
- Headings list
- Product and related products
- Body content (if includeBody=true)
6. AnalyzeDocumentStructure
When to use: User wants to evaluate page quality, check heading hierarchy, or assess AI enrichment status.
Trigger words: structure, hierarchy, organization, headings, parents, layout, analyze, quality
Parameters:
url(required): The document URL to analyze. Accepts a full URL (e.g.,https://www.elastic.co/docs/deploy-manage/api-keys) or a path (e.g.,/docs/deploy-manage/api-keys). Query strings, fragments, and trailing slashes are ignored.
Returns: Structure analysis including:
- Heading count and list of headings
- Link count
- Parent count and parent hierarchy
- Body length
- AI enrichment status (has summary, has questions, has use cases)
7. ResolveCrossLink
When to use: User references a cross-link, needs to verify a link target, or wants to know what anchors are available on a page.
Trigger words: cross-link, resolve, cross link, docs-content://, URI, anchor
Parameters:
crossLink(required): The cross-link URI to resolve (e.g.,docs-content://get-started/intro.md)
Returns: Resolved URL, repository, path, available anchors, and any fragment.
8. ListRepositories
When to use: User needs to know which repositories publish documentation or wants to explore the docs ecosystem.
Trigger words: list repos, repositories, available repos, cross-link index, docs ecosystem
Parameters: None
Returns: List of repositories with names, branches, paths, git refs, and last-updated timestamps.
9. GetRepositoryLinks
When to use: User wants to explore what a repository publishes, build a cross-link, or look up available anchor targets.
Trigger words: repository links, pages in repo, anchors, what does repo publish
Parameters:
repository(required): The repository name (e.g.,docs-content,elasticsearch)
Returns: Repository metadata, URL path prefix, page count, cross-link count, and a list of pages with their anchors.
10. FindCrossLinks
When to use: User wants to analyze inter-repository dependencies, check what links into or out of a repository, or audit cross-link usage.
Trigger words: find cross-links, links between repos, who links to, links from, dependencies
Parameters:
from(optional): Source repository to find links fromto(optional): Target repository to find links to
Returns: Count and list of cross-links with source repository, target repository, and the link URI.
11. ValidateCrossLinks
When to use: User wants to check link health, prepare a release, or diagnose broken cross-references.
Trigger words: validate cross-links, broken links, check links, link validation, link health
Parameters:
repository(required): Target repository to validate links to (e.g.,docs-content)
Returns: Valid link count, broken link count, and details of any broken links (source repo, link URI, errors).
12. ListContentTypes
When to use: User is deciding what type of page to create or asks about Elastic docs structure.
Trigger words: content types, what type, overview vs how-to, tutorial, troubleshooting, changelog type
Parameters: None
Returns: List of all content types (overview, how-to, tutorial, troubleshooting, changelog) with descriptions and when-to-use guidance.
13. GenerateTemplate
When to use: User wants to create a new documentation page, needs a starting point with correct frontmatter and structure, or asks for a template.
Trigger words: template, generate, starter, scaffold, new page, new doc
Parameters:
contentType(required): One ofoverview,how-to,tutorial,troubleshooting, orchangelogtitle(optional): Pre-fill the page or changelog titledescription(optional): Pre-fill the frontmatter descriptionproduct(optional): Pre-fill the product field
Returns: A ready-to-use Markdown template (or YAML for changelogs) with correct frontmatter and structure.
14. GetContentTypeGuidelines
When to use: User is writing new content, reviewing existing pages against standards, or asks about Elastic docs best practices.
Trigger words: guidelines, best practices, how to write, checklist, evaluate, anti-patterns
Parameters:
contentType(required): One ofoverview,how-to,tutorial,troubleshooting, orchangelog
Returns: Detailed guidelines including required elements checklist, recommended sections, best practices, and anti-patterns for the content type.
Usage Guidelines
- For general searches: Start with
SemanticSearchto find relevant documentation. Prefer this over a general web search for Elastic docs content. - For content verification: Use
CheckCoherenceto see how well a topic is documented. - For quality checks: Use
FindInconsistenciesto identify potential documentation conflicts. - For specific pages: Use
GetDocumentByUrlwhen you have an exact URL. - For deep analysis: Use
AnalyzeDocumentStructureto understand page organization. - For cross-linking: Use
ResolveCrossLinkto turn a cross-link URI into a real URL,ListRepositoriesto discover available repos, andValidateCrossLinksto find broken links. - For authoring: Use
ListContentTypesto pick the right type,GenerateTemplateto get a starter, andGetContentTypeGuidelinesto write or evaluate content correctly.
Product IDs
Common product filters:
elasticsearch- Elasticsearchkibana- Kibanafleet- Fleet and Elastic Agentlogstash- Logstashbeats- Beatscloud- Elastic Cloudecs- Elastic Common Schemaapm- APMsecurity- Elastic Securityobservability- Elastic Observability
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

