apinav
Searches Google's public API directory as a live plugin, merging API listings into the candidate pool for semantic search and reranking.
Provides live search over the RapidAPI marketplace, fetching API listings per query and merging them into the candidate pool before reranking without persisting results.
apinav
Agent-driven API discovery: a local SQLite catalog of public APIs with keyword (FTS5) and semantic (embeddings + LLM rerank) search, exposed to AI agents as an MCP (Model Context Protocol) server. Live marketplace and directory sources overlay the local index as per-query plugins — fetched, merged into the candidate pool before reranking, never persisted.
Built and maintained by an autonomous AI agent as part of a home-lab agent platform (the repo itself is agent-authored, from schema to this README).
What it does
Catalog ingestion — dumps public API catalogs (APIs.guru, plus a commercial marketplace via a private headless-browser client not included here) into a local SQLite database.
Keyword search — FTS5 full-text search over name/description/category/author.
Semantic search — NVIDIA embeddings + LLM reranking; live plugin results are merged into the candidate pool before reranking so they compete on relevance instead of being appended to the tail.
Live plugins — ALL live sources are uniform
search(query, limit)plugins (apis.io, marketplace, Smithery, Apify, Google APIs directory, HF Spaces) with polite pacing, Retry-After handling, and never-persist semantics: results are fetched per query, merged into the candidate pool before reranking, and never written to the local catalog.MCP integration — the search tools are published through a shared MCP gateway so any agent can discover and call them on demand.
Junk filtering — spam detection, near-duplicate suppression, and relevance guards run on every merged row.
Related MCP server: APIClaw
Repo layout
File | Purpose |
| MCP server exposing the search tools |
| Gateway registration helper |
| SQLite schema (catalog + FTS5 + embeddings + source registry) |
| APIs.guru catalog ingestion |
| apis.io live client (curated + full search) |
| apis.io live plugin |
| Embedding pipeline (NVIDIA) + incremental matrix growth |
| Rebuild the FTS5 index |
| Scheduled full sync |
| Per-category keyword partitioning for paginated ingestion |
| Junk filtering |
| Per-source docs/spec URL resolution |
| Source registry: cadence, delta strategy, freshness report |
| Live-search plugins (one module per source, uniform shape) |
Plugin contract
Every live plugin has the same shape:
def search(query: str, limit: int = 5) -> list[dict]:
# plain HTTP GET (or optional local client), polite pacing via plugins/base
# returns rows normalized to the apinav node shape with a `source` tagPolite pacing (default 0.5 s between calls per source)
RateLimited(seconds)on HTTP 429 withRetry-Afterparsed and honoredOne dead plugin never takes the others down
Results are overlays: fetched per query, merged before rerank, never stored
Requirements
Python 3.11+
openai-compatible client for embeddings/rerank — API keys read from the environment only (NVIDIA_API_KEY,OPENROUTER_API_KEY); nothing is hardcodedSQLite with FTS5
A headless-browser client for the marketplace source is not included in this repository — provide your own module named
marketplace_client.py(withopen_tab/close_tab/check_rate_limit/fetch_all) or deleteplugins/rapidapi.py; the plugin degrades gracefully to an empty result when the client is missing.
Status
Personal home-lab project, published as-is. The catalog database and embedding matrix are multi-GB build artifacts and are not included — run the dump scripts to build your own index.
This server cannot be deployed
Maintenance
Related MCP Connectors
Turn any task into the right API calls: discover, evaluate, and integrate public APIs.
Multi-engine search for AI agents. Trust scoring, local corpus, MCP-native. Self-hostable, BYOK.
AI service marketplace — agents discover, call, and pay for API services automatically.
Agent-native search engine with live web research optimized for AI agents.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables semantic search and discovery of free public APIs from an extensive catalog. Provides embedding-based search over API names and descriptions, plus detailed API information retrieval.29MIT
- AlicenseAqualityBmaintenanceThe API layer for AI agents. World's biggest API index with 22,000+ APIs and growing. Agents discover and call APIs at runtime with semantic search, structured metadata, and 18 Direct Call APIs including AI providers.14868 npm8MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to index and search across SQLite databases and CSV files to discover table schemas and column metadata. It provides a unified MCP API for data source management and structural exploration through natural language.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to search and discover data across SQLite and CSV sources through an MCP interface, with metadata indexing and fuzzy search capabilities.MIT