General Tools
elephant.md
Search and retrieve documents from elephant.md using full-text, semantic, and natural language search.
ENDPOINT 1
https://elephant.md/mcp
MCP server metadata
- Name
- elephant
- Version
- 1.0.0
Elephant is your searchable markdown brain — long-term memory for an AI agent, organized into documents and collections across many topics. SCOPED BY DEFAULT. With an auth token, every search defaults to YOUR library: documents and collections you own or have bookmarked (bookmarking a collection puts its documents — present and future — in your scope). Pass scope:"public" to search the whole public corpus instead. Without a token you search public documents only. The server NEVER silently widens to public — if your library has nothing relevant it says so and suggests scope:"public", so you stay in control. START HERE → ROUTE → READ. 1. Call `overview` first (pass your token) for a cheap table of contents of your collections — names, summaries, sizes, freshness. A few hundred tokens. 2. Then call `get_context(query, tokenBudget)` — it searches your scope, returns ranked summary cards, AND inlines the top documents' full content up to your token budget, so you get usable context in ONE round trip. It also returns the most relevant collections to drill into and `candidates` (cards it didn't inline) you can fetch later. 3. Responses are summaries-first: cards (tens of tokens each) by default; full content only on explicit fetch, always within a maxTokens budget. NAVIGATION TOOLS: - `overview` — your starting map (your + bookmarked collections grouped by scope, plus totals). - `get_context` — the one-call router: route-then-read within a token budget. Use this for "bring me context about X". - `find_collections` — rank your COLLECTIONS by a query, then drill into the right one. - `search_collection` — full-text + semantic search WITHIN one collection. - `search` / `discover` — document search across your scope (or scope:"public"); `discover` is natural-language/semantic. - `fetch` — one document's full markdown; pass `section` for a single heading or `maxTokens` to cap size. - `fetch_collection` — a whole collection token-efficiently (summaries, or full bodies within maxTokens). - `bookmark` — save a document, or a collection (= subscribe: its documents join your scope automatically). Prefer `get_context` for open-ended context gathering; use the discrete tools when you already know which collection or document you want. Authenticated tools take a `token` parameter (your session token from the elephant.md settings page).
Known tools 19
searchSearch documents on elephant.md (full-text + semantic, fused).
fetchFetch a document's content by username and slug.
trendingGet trending documents on elephant.md
list_user_docsList a user's public documents
discoverDiscover documents using natural language semantic search (powered by embeddings).
get_contextRoute-then-read in ONE call: searches your context for `query`, returns ranked summary cards, and inlines the top documents' full content up to `tokenBudget` so you get usable context in a single round trip.
find_collectionsFind the most relevant COLLECTIONS for a query — route to the right collection, then `search_collection` or `fetch_collection` it.
search_collectionSearch WITHIN one collection (full-text + semantic, scope-gated to that collection's members).
my_documentsList your own documents (including private and unlisted).
proposePropose a new document draft for review.
overviewYour starting map: a cheap table of contents of the context available to you.
list_collectionsList your collections — those you own plus collections you've bookmarked.
get_collectionGet a collection's details and items by username and slug
fetch_collectionFetch a whole collection token-efficiently.
bookmarkBookmark (save) a document or a collection.
save_documentAlias of `bookmark`.
create_collectionCreate a new collection.
update_documentUpdate metadata or content of a document you own.
add_to_collectionAdd a document to one of your collections.