Supercharge Cursor, Cline, Windsurf, and other AI coding assistants with codebase understanding and documentation search
Index Additional Repos + Company Docs
Discover & Research Technologies
Create Personal Knowledge Base
Search Multiple Codebases
Code + Documentation Context
Prerequisites
uvx
(recommended) or pipx
or pip
Install the Package
Configure Your MCP Client
Replace Your API Key
YOUR_API_KEY
in the configurationRestart Your Client
index_repository
- Index GitHub repositories for intelligent searchlist_repositories
- List all indexed repositories with statuscheck_repository_status
- Monitor indexing progressdelete_repository
- Remove indexed repositoriesrename_repository
- Rename repositories for better organizationsearch_codebase
- Search code with natural language queriesindex_documentation
- Index websites and documentationlist_documentation
- List all indexed documentation sourcescheck_documentation_status
- Monitor documentation indexingdelete_documentation
- Remove indexed documentationrename_documentation
- Rename documentation sourcessearch_documentation
- Search docs with natural languagenia_web_search
- AI-powered search for repos, docs, and contentnia_deep_research_agent
- Deep multi-step research and analysisinitialize_project
- Set up NIA-enabled projects with IDE configsRepository Management Tools
index_repository
repo_url
(str): GitHub repository URL (e.g., https://github.com/owner/repo)branch
(str, optional): Branch to index (defaults to main branch)check_repository_status
to monitor progress.list_repositories
check_repository_status
repository
(str): Repository in owner/repo formatdelete_repository
repository
(str): Repository in owner/repo formatrename_repository
repository
(str): Repository in owner/repo formatnew_name
(str): New display name (1-100 characters)search_codebase
query
(str): Natural language search query (use comprehensive questions for best results)repositories
(List[str], optional): List of repositories to search (owner/repo format)include_sources
(bool, default=True): Whether to include source code in resultsDocumentation Management Tools
index_documentation
url
(str): URL of the documentation site to indexurl_patterns
(List[str], optional): URL patterns to include in crawling (e.g., [“/docs/”, “/guide/”])max_age
(int, optional): Maximum age of cached content in secondsonly_main_content
(bool, default=True): Extract only main content (removes navigation, ads, etc.)check_documentation_status
to monitor progress.list_documentation
check_documentation_status
source_id
(str): Documentation source IDdelete_documentation
source_id
(str): Documentation source ID to deleterename_documentation
source_id
(str): Documentation source IDnew_name
(str): New display name (1-100 characters)search_documentation
query
(str): Natural language search query (use comprehensive questions for best results)sources
(List[str], optional): List of documentation source IDs to searchinclude_sources
(bool, default=True): Whether to include source references in resultsWeb Search & Research Tools
nia_web_search
query
(str): Natural language search querynum_results
(int, default=5): Number of results to return (max: 10)category
(str, optional): Filter by category (“github”, “company”, “research paper”, “news”, “tweet”, “pdf”)days_back
(int, optional): Only show results from the last N daysfind_similar_to
(str, optional): URL to find similar content tonia_deep_research_agent
query
(str): Research question (use comprehensive questions for best results)output_format
(str, optional): Structure hint (e.g., “comparison table”, “pros and cons list”)nia_web_search
for:nia_deep_research_agent
for:Project Initialization Tools
initialize_project
project_root
(str): Absolute path to the project root directoryprofiles
(List[str], optional): List of IDE profiles to set up (default: [“cursor”])initialize_project("/path/to/project")
initialize_project("/path/to/project", profiles=["cursor", "vscode"])
initialize_project("/path/to/project", profiles=["windsurf"])
Discovery → Research → Index Workflow
nia_web_search
to find relevant libraries: “Find popular React state management libraries”nia_deep_research_agent
to analyze: “Compare Redux vs Zustand vs Jotai with pros and cons”Multi-Source Queries
Context-Aware Development
Knowledge Base Building
Research-Driven Development
"No API key provided"
YOUR_API_KEY
with your actual API key from app.trynia.aiDouble-check the environment variable is correctly set in your MCP configuration."Command not found: nia-mcp-server"
uvx
is properly installed and in your PATH."Invalid API key"
https://apigcp.trynia.ai/
"Rate limit exceeded"
MCP Server Not Responding